Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion scanners/zap-advanced/templates/zap-advanced-scan-type.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,15 @@ spec:
- "database.recoverylog=false" # Tune ZAP, DB recovery is not needed here
- "-config"
- "connection.timeoutInSecs=120" # Tune ZAP timeout by default to be 2minutes
{{ if .Values.zapConfiguration.global.addonUpdate }}
{{ if and .Values.zapConfiguration.global .Values.zapConfiguration.global.addonUpdate }}
- "-addonupdate" # Enable AddOn Updates on startup if possible
{{- end }}
{{- if and .Values.zapConfiguration.global .Values.zapConfiguration.global.addonInstall }}
{{- range .Values.zapConfiguration.global.addonInstall }}
- "-addoninstall"
- {{ . | quote }}
{{- end }}
{{- end }}
- "-config"
- "api.disablekey=true" # Disble API Key because not required. Only pod local access allowed (localhost binding).
resources:
Expand Down