Commit 3cb812ee authored by Avielle Wolfe's avatar Avielle Wolfe

Update ZAP argument passing example

`-D` is being deprecated. This commit updates an example for passing
arguments to ZAP to use an un-deprecated argument.
parent 0fd9e9eb
...@@ -488,8 +488,8 @@ dast: ...@@ -488,8 +488,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:
...@@ -498,7 +498,7 @@ include: ...@@ -498,7 +498,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