You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 14, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: docs/user-guide/README.md
+128-1Lines changed: 128 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,4 +8,131 @@ category: "use"
8
8
9
9
# Using the secureCodeBox
10
10
11
-
> ✍ **Page under construction.**
11
+
12
+
> ✍ **Page under construction.**
13
+
14
+
## Declarative Combined Scans
15
+
16
+
### Install Hook
17
+
18
+
Installing the Declarative Combined Scan hook will add a ReadOnly Hook to your namespace which looks for matching CascadingRules in the namespace and starts subsequent scans accordingly.
CascadingRules are included in each individual scanner's Helm chart.
42
+
43
+
```bash
44
+
kubectl get CascadingRules
45
+
```
46
+
47
+
Output should show these CascadingRules:
48
+
49
+
```bash
50
+
NAME STARTS INVASIVENESS INTENSIVENESS
51
+
https-tls-scan sslyze non-invasive light
52
+
imaps-tls-scan sslyze non-invasive light
53
+
nikto-http nikto non-invasive medium
54
+
nmap-smb nmap non-invasive light
55
+
pop3s-tls-scan sslyze non-invasive light
56
+
smtps-tls-scan sslyze non-invasive light
57
+
ssh-scan ssh-scan non-invasive light
58
+
zap-http zap-baseline non-invasive medium
59
+
```
60
+
61
+
### Start Scans
62
+
63
+
When you start a normal Scan, no CascadingRule will be applied.
64
+
To use CascadingRules the scan must be marked to allow cascading rules.
65
+
66
+
This is implemented using kubernetes label selectors, meaning that scans mark the classes of scans which are allowed to be cascaded by the current one.
This Scan will used all CascadingRules which are labeled with a "light" intensity.
88
+
89
+
You can lookup which CascadingRules this selects by running:
90
+
91
+
```bash
92
+
kubectl get CascadingRules -l "securecodebox.io/intensive=light"
93
+
NAME STARTS INVASIVENESS INTENSIVENESS
94
+
https-tls-scan sslyze non-invasive light
95
+
imaps-tls-scan sslyze non-invasive light
96
+
nmap-smb nmap non-invasive light
97
+
pop3s-tls-scan sslyze non-invasive light
98
+
smtps-tls-scan sslyze non-invasive light
99
+
ssh-scan ssh-scan non-invasive light
100
+
```
101
+
102
+
The label selectors also allow the more powerful [matchExpression](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#set-based-requirement) selectors:
0 commit comments