From fde7698883fdfed6d00671505c71d6876a49d42b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Lafoucri=C3=A8re?= <plafoucriere@gitlab.com> Date: Thu, 7 Jun 2018 14:35:38 +0000 Subject: [PATCH] Use variables for authenticated example --- doc/ci/examples/dast.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/ci/examples/dast.md b/doc/ci/examples/dast.md index d8805342d77..f5ccbe76b95 100644 --- a/doc/ci/examples/dast.md +++ b/doc/ci/examples/dast.md @@ -39,13 +39,15 @@ dast: variables: website: "https://example.com" login_url: "https://example.com/sign-in" + username: "john.doe@example.com" + password: "john-doe-password" allow_failure: true script: - mkdir /zap/wrk/ - /zap/zap-baseline.py -J gl-dast-report.json -t $website --auth-url $login_url - --auth-username "john.doe@example.com" - --auth-password "john-doe-password" || true + --auth-username $username + --auth-password $password || true - cp /zap/wrk/gl-dast-report.json . artifacts: paths: [gl-dast-report.json] -- 2.30.9