Update Gitleaks to report capture group
Problem to solve
The secrets analyzer should be updated to include the addition of captureGroup
in gitleaks.toml configuration files. The captureGroup
field allows users to specify which capture group should be reported in the Offender
field of gitleaks reports.
Additional conversation here
Implementation
-
Submit a PR for the following gitleaks issue: https://github.com/zricethezav/gitleaks/issues/451 -
Release new version of gitleaks -
Update gitleaks version in https://gitlab.com/gitlab-org/security-products/analyzers/secrets/
Links / references
Edited by Daniel Paul Searles