gitleaks / gitleaks-action

Protect your secrets using Gitleaks-Action
https://gitleaks.io
Other
319 stars 122 forks source link

Setting baseline path in gihub actions #141

Open do-i-need-a-username opened 6 months ago

do-i-need-a-username commented 6 months ago

How do I use the --baseline-path flag in github actions.

Is it possible to set the path in my config file .gitleak-config.toml. I can't see a reference to in the gitleaks configuration file docs or the default configuration file

IliaOpiakin commented 4 weeks ago

I think the best quick solution is to create .gitleaksignore file and put there fingerprints from your baseline reports https://github.com/gitleaks/gitleaks/blob/master/.gitleaksignore It will give you chance to ignore some false positive detection, but of course will not improve the speed