Commit 5d63262c authored by Matija Čupić's avatar Matija Čupić

Merge branch...

Merge branch '326053-clarify-that-a-stage-has-to-be-added-to-run-dast-in-gitlab-ci-yml' into 'master'

Clarify that a stage has to be added to run DAST in .gitlab-ci.yml

See merge request gitlab-org/gitlab!59496
parents 54a74800 f2b40989
...@@ -72,6 +72,13 @@ To include the DAST template: ...@@ -72,6 +72,13 @@ To include the DAST template:
For more information about template versioning, see the For more information about template versioning, see the
[CI/CD documentation](../../../development/cicd/templates.md#latest-version). [CI/CD documentation](../../../development/cicd/templates.md#latest-version).
1. Add a `dast` stage to your GitLab CI stages configuration:
```yaml
stages:
- dast
```
1. Add the template to GitLab, based on your version of GitLab: 1. Add the template to GitLab, based on your version of GitLab:
- In GitLab 11.9 and later, [include](../../../ci/yaml/README.md#includetemplate) - In GitLab 11.9 and later, [include](../../../ci/yaml/README.md#includetemplate)
......
# To use this template, add the following to your .gitlab-ci.yml file:
#
# include:
# template: DAST.latest.gitlab-ci.yml
#
# You also need to add a `dast` stage to your `stages:` configuration. A sample configuration for DAST:
#
# stages:
# - build
# - test
# - deploy
# - dast
# Read more about this feature here: https://docs.gitlab.com/ee/user/application_security/dast/ # Read more about this feature here: https://docs.gitlab.com/ee/user/application_security/dast/
# Configure the scanning tool through the environment variables. # Configure the scanning tool through the environment variables.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment