Gitleaks

Operate and configure Gitleaks — a SAST/secret-detection tool that scans git repositories, commit histories, and staged changes for leaked credentials, API keys, tokens, and private keys. Use when working with gitleaks/gitleaks, when the user needs to audit a repository for secrets, set up pre-commit hooks, integrate into CI/CD pipelines, write custom detection rules, or establish baselines to suppress known findings. Covers installation, detect/protect modes, .gitleaks.toml configuration, custom rules, allowlists, output formats, and CI/CD integration.

jperezduerto ff25735 12.9 KB Updated

File contents

jperezduerto/redhound-arsenal/tree/main/gitleaks commit ff25735f25

Frequently asked questions

npx skillmds@latest add jperezduerto/gitleaks