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

32 lines
855 B
YAML
Raw Normal View History

2022-07-23 23:45:48 +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-API-Scan.gitlab-ci.yml
2022-03-02 08:16:31 +05:30
stages:
- build
- test
- deploy
- dast
variables:
2022-05-07 20:08:51 +05:30
SECURE_ANALYZERS_PREFIX: "registry.gitlab.com/security-products"
2022-07-23 23:45:48 +05:30
DAST_API_VERSION: "2"
DAST_API_IMAGE_SUFFIX: ""
DAST_API_IMAGE: api-security
2022-03-02 08:16:31 +05:30
dast:
stage: dast
2022-07-23 23:45:48 +05:30
image: $SECURE_ANALYZERS_PREFIX/$DAST_API_IMAGE:$DAST_API_VERSION$DAST_API_IMAGE_SUFFIX
2022-03-02 08:16:31 +05:30
allow_failure: true
script:
- /peach/analyzer-dast-api
artifacts:
when: always
paths:
- gl-assets
- gl-dast-api-report.json
- gl-*.log
reports:
dast: gl-dast-api-report.json