gitleaks-scanning
Installation
SKILL.md
gitleaks-scanning
Command-API note (v8.19.0+): Per gl-gh,
"v8.19.0 deprecated detect and protect commands, though they
remain available." Current scanning modes:
| Command | Use |
|---|---|
gitleaks git <repo> |
Scan local git repository using git log -p |
gitleaks dir <path> |
Scan directories and files (no git history) |
gitleaks stdin |
Stream data via pipe |
Use git for git-aware scans (fastest, history-rewinding); dir
for non-git (e.g., extracted CI artifact); stdin for diff-piping.