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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
1.1 KiB
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
2023-01-13 00:05:48 +05:30
# NOTE: This template is intended for internal GitLab use only and likely will not work properly
# in any other project. Do not include it in your pipeline configuration.
# For information on how to set up and use DAST, visit https://docs.gitlab.com/ee/user/application_security/dast/
2022-07-23 23:45:48 +05:30
2022-03-02 08:16:31 +05:30
stages:
- build
- test
- deploy
- dast
variables:
2022-08-27 11:52:29 +05:30
SECURE_ANALYZERS_PREFIX: "$CI_TEMPLATE_REGISTRY_HOST/security-products"
2023-07-09 08:55:56 +05:30
DAST_API_VERSION: "3"
2022-07-23 23:45:48 +05:30
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