Commit 3c96d96d authored by Russell Dickenson's avatar Russell Dickenson

Merge branch '218810-deprecate-zap-D-option' into 'master'

Update ZAP argument passing example

See merge request gitlab-org/gitlab!41711
parents 2242a56c 3cb812ee
...@@ -491,8 +491,8 @@ dast: ...@@ -491,8 +491,8 @@ dast:
``` ```
You must then overwrite the `script` command to pass in the appropriate You must then overwrite the `script` command to pass in the appropriate
argument. For example, passive scanning can be delayed using option `-D`. The following argument. For example, vulnerability definitions in alpha can be included with
configuration delays passive scanning by five minutes: `-a`. The following configuration includes those definitions:
```yaml ```yaml
include: include:
...@@ -501,7 +501,7 @@ include: ...@@ -501,7 +501,7 @@ include:
dast: dast:
script: script:
- export DAST_WEBSITE=${DAST_WEBSITE:-$(cat environment_url.txt)} - export DAST_WEBSITE=${DAST_WEBSITE:-$(cat environment_url.txt)}
- /analyze -D 300 -t $DAST_WEBSITE - /analyze -a -t $DAST_WEBSITE
``` ```
### Custom ZAProxy configuration ### Custom ZAProxy configuration
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment