This repository builds a custom service based on finos/git-proxy that runs Gitleaks only.
- Uses upstream
finos/git-proxysource (pinned commit inDockerfile). - Applies
patches/git-proxy-stateless-gitleaks.patchduring image build. - Keeps only these push processors:
parsePushpullRemotewritePackgitleaks
- Removes stateful behavior:
- no approval flow
- no audit persistence
- no repo/user bootstrap state
- Removes built-in checks unrelated to Gitleaks.
docker compose up --buildService endpoint: http://localhost:8000
git remote add proxy http://localhost:8000/github.com/OWNER/REPO.git
git push proxy HEADEdit config/proxy.config.json.
api.gitleaks.enabledshould remaintrue.- Optionally add
api.gitleaks.configPathand mount that file in your deployment. - Replace
cookieSecretfor production use.