Update Secret Detection Scanner, Gitleaks, to v5.0.1
Problem to solve
Gitleaks v5.0.1 has been released which includes two useful features that will help the secrets analyzer mature:
- Line numbers on committed secrets
- Scan additions only
This issue is 13.3 MR Coach work for @zrice.
Links / references
gitleaks v5.0.1 gitleaks v5.0.0
Implementation Plan
-
Update Dockerfile to pull v5.0.1 of gitleaks -
Update unit tests -
Add line extraction to the analyzer
Edited by Zach Rice