diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b0acd34..ebb33f1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -96,4 +96,12 @@ dast: script: - echo "Waiting for the app to start on http://app:5000" - timeout 60 bash -c 'until curl -s http://app:5000; do echo "Waiting..."; sleep 3; done' - - zap-full-scan.py -t http://app:5000 -I \ No newline at end of file + - zap-full-scan.py -t http://app:5000 -I + +gitleaks: + stage: test + image: + name: zricethezav/gitleaks:latest + entrypoint: [""] + script: + - gitleaks dir -v --redact=75 .