Skip to content

Docs: Remove reference to removed variables

What does this MR do?

This MR removes references to two variables that are no longer used by the gitleaks tool that Secret Detection relies on.

In #243564 (closed) we:

Update template Secret-Detection.gitlab.yml to use SECRET_DETECTION_COMMITS instead of SECRET_DETECTION_COMMIT_FROM/TO

Setting the SECRET_DETECTION_COMMIT_FROM and SECRET_DETECTION_COMMIT_TO variables as instructed in the docs will have no effect.

This MR updates the docs to remove the usage of those variables as requested in this issue. This came to my attention while working on a ticket that is available to GitLab team members with access to Zendesk. 🎫

There's more information about my findings in the Docs: Update Secret Detection documentation to reflect move away from SECRET_DETECTION_COMMIT_FROM and SECRET_DETECTION_COMMIT_TO in favor of SECRET_DETECTION_COMMITS issue. I'm planning an accompanying MR with notes about using SECRET_DETECTION_COMMITS.

Screenshots or Screencasts (strongly suggested)

How to setup and validate locally (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Brie Carranza

Merge request reports