debian-mirror-gitlab/lib/gitlab/ci/templates/Security/DAST-On-Demand-Scan.gitlab-ci.yml

30 lines
787 B
YAML
Raw Normal View History

2021-09-30 23:02:18 +05:30
# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Security/DAST-On-Demand-Scan.gitlab-ci.yml
2021-02-22 17:27:13 +05:30
stages:
- build
- test
- deploy
- dast
variables:
2022-07-16 23:28:13 +05:30
DAST_VERSION: 3
2021-02-22 17:27:13 +05:30
# Setting this variable will affect all Security templates
# (SAST, Dependency Scanning, ...)
2022-08-27 11:52:29 +05:30
SECURE_ANALYZERS_PREFIX: "$CI_TEMPLATE_REGISTRY_HOST/security-products"
2021-02-22 17:27:13 +05:30
dast:
stage: dast
image:
name: "$SECURE_ANALYZERS_PREFIX/dast:$DAST_VERSION"
variables:
GIT_STRATEGY: none
allow_failure: true
script:
- /analyze
artifacts:
reports:
dast: gl-dast-report.json