30 lines
2.2 KiB
YAML
30 lines
2.2 KiB
YAML
- name: "Secret Detection configuration variables"
|
|
announcement_milestone: "14.8"
|
|
announcement_date: "2022-02-22"
|
|
removal_milestone: "15.0"
|
|
removal_date: "2022-05-22"
|
|
breaking_change: false
|
|
reporter: connorgilbert
|
|
stage: Secure
|
|
issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/352565
|
|
body: | # (required) Do not modify this line, instead modify the lines below.
|
|
To make it simpler and more reliable to [customize GitLab Secret Detection](https://docs.gitlab.com/ee/user/application_security/secret_detection/#customizing-settings), we've removed some of the variables that you could previously set in your CI/CD configuration.
|
|
|
|
The following variables previously allowed you to customize the options for historical scanning, but interacted poorly with the [GitLab-managed CI/CD template](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Security/Secret-Detection.gitlab-ci.yml) and are now removed:
|
|
|
|
- `SECRET_DETECTION_COMMIT_FROM`
|
|
- `SECRET_DETECTION_COMMIT_TO`
|
|
- `SECRET_DETECTION_COMMITS`
|
|
- `SECRET_DETECTION_COMMITS_FILE`
|
|
|
|
The `SECRET_DETECTION_ENTROPY_LEVEL` previously allowed you to configure rules that only considered the entropy level of strings in your codebase, and is now removed.
|
|
This type of entropy-only rule created an unacceptable number of incorrect results (false positives).
|
|
|
|
You can still customize the behavior of the Secret Detection analyzer using the [available CI/CD variables](https://docs.gitlab.com/ee/user/application_security/secret_detection/#available-cicd-variables).
|
|
|
|
For further details, see [the deprecation issue for this change](https://gitlab.com/gitlab-org/gitlab/-/issues/352565).
|
|
# The following items are not published on the docs page, but may be used in the future.
|
|
tiers: [Free, Silver, Gold, Core, Premium, Ultimate]
|
|
documentation_url: https://docs.gitlab.com/ee/user/application_security/secret_detection/#available-cicd-variables # (optional) This is a link to the current documentation page
|
|
image_url: # (optional) This is a link to a thumbnail image depicting the feature
|
|
video_url: # (optional) Use the youtube thumbnail URL with the structure of https://img.youtube.com/vi/UNIQUEID/hqdefault.jpg
|