Skip to content

Commit 55b6449

Browse files
author
Vanessa Hermann
committed
ADDED: Documentation for DD minimum severity annotation in scans
1 parent 1938f9e commit 55b6449

1 file changed

Lines changed: 25 additions & 1 deletion

File tree

hooks/persistence-defectdojo/.helm-docs.gotmpl

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ can add these via annotation to the scan. See examples below.
130130
| `defectdojo.securecodebox.io/engagement-deduplicate-on-engagement` | Deduplicate On Engagement | false | Only used when creating the Engagement not used for updating |
131131
| `defectdojo.securecodebox.io/engagement-tags` | Engagement Tags | Nothing | Only used when creating the Engagement not used for updating |
132132
| `defectdojo.securecodebox.io/test-title` | Test Title | Scan Name | |
133-
133+
| `defectdojo.securecodebox.io/minimum_severity` | Minimum severity for findings created in DD | Nothing | Used to only create finding in DD, which are of a certain severity |
134134
### Read-only Mode
135135

136136
By default, the DefectDojo hook will pull the imported results from DefectDojo and use them to replace the results inside secureCodeBox.
@@ -220,6 +220,30 @@ helm upgrade --install dd secureCodeBox/persistence-defectdojo \
220220
--set="defectdojo.authentication.userId=42"
221221
```
222222

223+
### DefectDojo minimum severity
224+
225+
It has come to our attention, that DefectDojo become slow when handling a lot of data. A lot of data in DefectDojo can be informational findings one likes to ignore.
226+
Therefore Defectdojo provides the option to only create findings for scan finding from a certain severity level and above, thus lowering the amount of data stored.
227+
We integrate this option in out scans by providing the "defectdojo.securecodebox.io/minimum_severity" annotation for scans.
228+
This is an example of how the minimum severity for findings of a scan can be set:
229+
```yaml
230+
apiVersion: "execution.securecodebox.io/v1"
231+
kind: ScheduledScan
232+
metadata:
233+
name: "zap-juiceshop"
234+
annotations:
235+
defectdojo.securecodebox.io/minimum_severity: "Low"
236+
spec:
237+
interval: 24h
238+
scanSpec:
239+
scanType: "zap-full-scan"
240+
parameters:
241+
- "-t"
242+
- "http://juice-shop.demo-targets.svc:3000"
243+
```
244+
In this example only for scan findings with a severity of "Low" or higher there are findings in DefectDojo created.
245+
246+
223247
### Simple Example Scans
224248

225249
This will run a daily scan using ZAP on a demo target. The results will be imported using the name "zap-juiceshop-$UNIX_TIMESTAMP" (Name of the Scan created by the ScheduledScan), in a product called "zap-juiceshop" in the default DefectDojo product type.

0 commit comments

Comments
 (0)