This repository was archived by the owner on Oct 14, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +61
-4
lines changed
Expand file tree Collapse file tree 3 files changed +61
-4
lines changed Original file line number Diff line number Diff line change 11apiVersion : " cascading.experimental.securecodebox.io/v1"
22kind : CascadingRule
33metadata :
4- name : " tls-scans"
4+ name : " https- tls-scans"
55spec :
66 matches :
77 anyOf :
88 - category : " Open Port"
99 attributes :
1010 port : 443
11- service : " https"
1211 - category : " Open Port"
1312 attributes :
1413 service : " https"
1514 scanSpec :
16- name : " sslyze"
17- parameters : ["--regular", "{{attributes.hostname}}"]
15+ scanType : " sslyze"
16+ parameters : ["--regular", "{{attributes.hostname}}:{{attributes.port}} "]
Original file line number Diff line number Diff line change 1+ apiVersion : " cascading.experimental.securecodebox.io/v1"
2+ kind : CascadingRule
3+ metadata :
4+ name : " smtps-tls-scans"
5+ spec :
6+ matches :
7+ anyOf :
8+ - category : " Open Port"
9+ attributes :
10+ port : 465
11+ - category : " Open Port"
12+ attributes :
13+ service : " smtps"
14+ scanSpec :
15+ scanType : " sslyze"
16+ parameters : ["--regular", "{{attributes.hostname}}:{{attributes.port}}"]
17+ ---
18+ apiVersion : " cascading.experimental.securecodebox.io/v1"
19+ kind : CascadingRule
20+ metadata :
21+ name : " pop3s-tls-scans"
22+ spec :
23+ matches :
24+ anyOf :
25+ - category : " Open Port"
26+ attributes :
27+ port : 995
28+ - category : " Open Port"
29+ attributes :
30+ service : " pop3s"
31+ scanSpec :
32+ scanType : " sslyze"
33+ parameters : ["--regular", "{{attributes.hostname}}:{{attributes.port}}"]
34+ ---
35+ apiVersion : " cascading.experimental.securecodebox.io/v1"
36+ kind : CascadingRule
37+ metadata :
38+ name : " imaps-tls-scans"
39+ spec :
40+ matches :
41+ anyOf :
42+ - category : " Open Port"
43+ attributes :
44+ port : 993
45+ - category : " Open Port"
46+ attributes :
47+ service : " imaps"
48+ scanSpec :
49+ scanType : " sslyze"
50+ parameters : ["--regular", "{{attributes.hostname}}:{{attributes.port}}"]
Original file line number Diff line number Diff line change 1+ # The CascadingRules are not directly in the /templates directory as their curly bracket syntax clashes with helms templates ... :(
2+ # We import them as raw files to avoid these clashes as escaping them is even more messy
3+ {{ range $path, $_ := .Files.Glob "cascading-rules/*" }}
4+ # Include File
5+ {{ $.Files.Get $path }}
6+ # Separate multiple files
7+ ---
8+ {{ end }}
You can’t perform that action at this time.
0 commit comments