docs/gitleaks.md
21 lines · 492 B · markdown
# gitleaks
**Licence:** MIT | **Language:** Go | **Source:** https://github.com/gitleaks/gitleaks
## Role
Secret scanning
## Why it's here
Catches API keys and credentials before they reach a repository. Run it as a pre-commit hook and stop leaks at the source.
## Running it
This is a CLI tool, not a service. Build it from source or pull the official image and run it against your own systems.
```bash
./fetch-sources.sh ./sources
tar xzf ./sources/gitleaks.tar.gz -C ./sources
```