Merge branch '7182-add-dast-full-scan-enabled-support-ce' into 'master'
Add ZAP Full Scan support to DAST vendored template See merge request gitlab-org/gitlab-ce!27513
This commit is contained in:
commit
5065f18739
1 changed files with 3 additions and 1 deletions
|
@ -30,6 +30,7 @@ dast:
|
|||
- |
|
||||
function dast_run() {
|
||||
docker run \
|
||||
--env DAST_FULL_SCAN_ENABLED \
|
||||
--env DAST_TARGET_AVAILABILITY_TIMEOUT \
|
||||
--volume "$PWD:/output" \
|
||||
--volume /var/run/docker.sock:/var/run/docker.sock \
|
||||
|
@ -46,7 +47,8 @@ dast:
|
|||
--auth-username $DAST_USERNAME \
|
||||
--auth-password $DAST_PASSWORD \
|
||||
--auth-username-field $DAST_USERNAME_FIELD \
|
||||
--auth-password-field $DAST_PASSWORD_FIELD
|
||||
--auth-password-field $DAST_PASSWORD_FIELD \
|
||||
--auth-exclude-urls $DAST_AUTH_EXCLUDE_URLS
|
||||
else
|
||||
dast_run
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue