Skip to content

Instantly share code, notes, and snippets.

@stephankoelle
Created June 17, 2025 09:39
Show Gist options
  • Select an option

  • Save stephankoelle/d38347acdae68f4dde2cba1ccf920725 to your computer and use it in GitHub Desktop.

Select an option

Save stephankoelle/d38347acdae68f4dde2cba1ccf920725 to your computer and use it in GitHub Desktop.
scan for leaked secrets / credentials in git using just a container
docker run -v $(pwd):/path ghcr.io/gitleaks/gitleaks:latest dir /path -r /path/report.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment