mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 04:04:25 +01:00
Why: * There are times where it would be nice to have a group from the regex reported rather than the complete match. This change addresses the need by: * Add the reportGroup configuration option for a rule. * Update scan.CheckRules to return the reportGroup if set. Co-authored-by: Daniel Paul Searles <dsearles@gitlab.com>