Add synthetic example with UUID and generic token
This example is based off of an internal customer report about our secrets analyzer not picking up such tokens (see jobs/3139899051), while gitleaks itself does:
$ gitleaks version &&
gitleaks detect --verbose --no-banner |
grep --context=2 'y67DGjkkjiu6644eDfycUGhu'
8.13.0
Fingerprint: b621b4d9fb51692a1bf47fdd64ba3a0e3e965f35:subdir/example.erb:generic-api-key:5
Finding: 'Client':'y67DGjkkjiu6644eDfycUGhu'
Secret: y67DGjkkjiu6644eDfycUGhu
RuleID: generic-api-key
Entropy: 3.803509
5:33AM INF scan completed in 119ms
5:33AM WRN leaks found: 163
Our anaylzer is 1 minor version behind, but checking gitleaks@master $ git diff v8.12.0..v8.13.0 -- config/gitleaks.toml doesn't reveal any obviously relevant changes, so this seems to be a more fundamental problem.
Edited by Katrin Leinweber