diff options
Diffstat (limited to 'doc/user/application_security/policies/scan-execution-policies.md')
-rw-r--r-- | doc/user/application_security/policies/scan-execution-policies.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/user/application_security/policies/scan-execution-policies.md b/doc/user/application_security/policies/scan-execution-policies.md index 767a2207c15..58d9c0b44f1 100644 --- a/doc/user/application_security/policies/scan-execution-policies.md +++ b/doc/user/application_security/policies/scan-execution-policies.md @@ -289,7 +289,6 @@ In this example: - For every pipeline executed on branches that match the `release/*` wildcard (for example, branch `release/v1.2.1`) - DAST scans run with `Scanner Profile A` and `Site Profile B`. - - A `test job` is injected into the `test` stage of the pipeline, printing `Hello World`. - DAST and secret detection scans run every 10 minutes. The DAST scan runs with `Scanner Profile C` and `Site Profile D`. - Secret detection, container scanning, and SAST scans run for every pipeline executed on the `main` @@ -399,6 +398,8 @@ scan_execution_policy: - echo "Hello World" ``` +In this example a `test job` is injected into the `test` stage of the pipeline, printing `Hello World`. + ### Security policy scopes > The `policy_scope` field was [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/135398) in GitLab 16.7 [with a flag](../../../administration/feature_flags.md) named `security_policies_policy_scope`. Disabled by default. |