Commit ac831c2c authored by Russell Dickenson's avatar Russell Dickenson

Merge branch 'secret-detection-custom-ruleset-docs' into 'master'

Update custom ruleset wording for secret detection docs

See merge request gitlab-org/gitlab!55779
parents 32cdc59d 3f80030f
...@@ -102,8 +102,7 @@ as shown in the following table: ...@@ -102,8 +102,7 @@ as shown in the following table:
Secret Detection is performed by a [specific analyzer](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Security/Secret-Detection.gitlab-ci.yml) Secret Detection is performed by a [specific analyzer](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Security/Secret-Detection.gitlab-ci.yml)
during the `secret-detection` job. It runs regardless of your app's programming language. during the `secret-detection` job. It runs regardless of your app's programming language.
The Secret Detection analyzer includes [Gitleaks](https://github.com/zricethezav/gitleaks) and The Secret Detection analyzer includes [Gitleaks](https://github.com/zricethezav/gitleaks) checks.
[TruffleHog](https://github.com/dxa4481/truffleHog) checks.
Note that the Secret Detection analyzer ignores Password-in-URL vulnerabilities if the password Note that the Secret Detection analyzer ignores Password-in-URL vulnerabilities if the password
begins with a dollar sign (`$`), as this likely indicates the password is an environment variable. begins with a dollar sign (`$`), as this likely indicates the password is an environment variable.
...@@ -200,7 +199,7 @@ Secret Detection can be customized by defining available CI/CD variables: ...@@ -200,7 +199,7 @@ Secret Detection can be customized by defining available CI/CD variables:
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/211387) in GitLab 13.5. > [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/211387) in GitLab 13.5.
You can customize the default secret detection rules provided with GitLab. You can customize the default secret detection rules provided with GitLab.
Customization allows you to exclude rules and add new rules. Customization allows replace the default secret detection rules with rules that you define.
To create a custom ruleset: To create a custom ruleset:
......
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