summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2019-04-26 13:53:17 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2019-04-26 13:53:17 +0000
commit5065f1873902490441d14f2e85540ac3470f7a19 (patch)
tree3064a9d658278046edb77162aed30b9409a33a78
parent5389ff6e93abf25485bf058661906d419aee7e7e (diff)
parent478cf29c39e108eace1d9bfd2a3e17d67186642a (diff)
downloadgitlab-ce-5065f1873902490441d14f2e85540ac3470f7a19.tar.gz
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
-rw-r--r--lib/gitlab/ci/templates/Security/DAST.gitlab-ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/gitlab/ci/templates/Security/DAST.gitlab-ci.yml b/lib/gitlab/ci/templates/Security/DAST.gitlab-ci.yml
index 2a90cc9a06c..fd7fac5dcab 100644
--- a/lib/gitlab/ci/templates/Security/DAST.gitlab-ci.yml
+++ b/lib/gitlab/ci/templates/Security/DAST.gitlab-ci.yml
@@ -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