Add gitleaks to pre-commit by lucacome · Pull Request #457 · nginx/nginx-prometheus-exporter (original) (raw)
Adds gitleaks
. From the repo:
Gitleaks is a SAST tool for detecting and preventing hardcoded secrets like passwords, api keys, and tokens in git repos. Gitleaks is an easy-to-use, all-in-one solution for detecting secrets, past or present, in your code.