Commit 5065f187 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

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
parents 5389ff6e 478cf29c
...@@ -30,6 +30,7 @@ dast: ...@@ -30,6 +30,7 @@ dast:
- | - |
function dast_run() { function dast_run() {
docker run \ docker run \
--env DAST_FULL_SCAN_ENABLED \
--env DAST_TARGET_AVAILABILITY_TIMEOUT \ --env DAST_TARGET_AVAILABILITY_TIMEOUT \
--volume "$PWD:/output" \ --volume "$PWD:/output" \
--volume /var/run/docker.sock:/var/run/docker.sock \ --volume /var/run/docker.sock:/var/run/docker.sock \
...@@ -46,7 +47,8 @@ dast: ...@@ -46,7 +47,8 @@ dast:
--auth-username $DAST_USERNAME \ --auth-username $DAST_USERNAME \
--auth-password $DAST_PASSWORD \ --auth-password $DAST_PASSWORD \
--auth-username-field $DAST_USERNAME_FIELD \ --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 else
dast_run dast_run
fi fi
......
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