Commit ece09c8d authored by Russell Dickenson's avatar Russell Dickenson

Merge branch 'patch-158' into 'master'

Update key in documentation for secret_detection

See merge request gitlab-org/gitlab!34629
parents 14b49657 facb0f5f
......@@ -118,15 +118,15 @@ declare a job with the same name as the SAST job to override. Place this new job
inclusion and specify any additional keys under it.
In the following example, we include the Secret Detection template and at the same time we
override the `secret-scan` job with the `SECRET_DETECTION_HISTORIC_SCAN` variable to `true`:
override the `secret_detection` job with the `SECRET_DETECTION_HISTORIC_SCAN` variable to `true`:
```yaml
include:
- template: Secret-Detection.gitlab-ci.yml
secrets-scan:
secret_detection:
variables:
SECRET_DETECTION_HISTORIC_SCAN: true
SECRET_DETECTION_HISTORIC_SCAN: "true"
```
Because the template is [evaluated before](../../../ci/yaml/README.md#include)
......
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