Skip to content

doc: Include extend example in Secret Detection custom ruleset docs

Lucas Charles requested to merge document-secret-detection-extends-example into master

What does this MR do and why?

Adds documentation example for Category:Secret Detection demonstrating how to extend the default configuration without overriding entirely.

This specific example additionally shows how to use gitleaks' allowList to ignore certain secrets to be used in testcases. This inadvertently solves #370546 (comment 1372944230) but we may want that issue open for a more GL-native feature

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading