Açıklama Yok

Zachary Rice 851ea3df3c anime 7 yıl önce
vendor 1f80d14f3f Gitleaks v1.0.0 (#75) 7 yıl önce
.travis.yml 1f80d14f3f Gitleaks v1.0.0 (#75) 7 yıl önce
Dockerfile 8a76e0af27 Update Go docker version 7 yıl önce
Gopkg.lock 1f80d14f3f Gitleaks v1.0.0 (#75) 7 yıl önce
Gopkg.toml 1f80d14f3f Gitleaks v1.0.0 (#75) 7 yıl önce
LICENSE.md d482577e47 copyleft 7 yıl önce
Makefile e0c717c3a3 Updating Makefile, making in-memory default, adding disk option 7 yıl önce
README.md 851ea3df3c anime 7 yıl önce
gitleaks.toml 1f80d14f3f Gitleaks v1.0.0 (#75) 7 yıl önce
gitleaks_test.go e0c717c3a3 Updating Makefile, making in-memory default, adding disk option 7 yıl önce
main.go 94e7a25b5b removing log formatting 7 yıl önce

README.md

gitleaks

Travis

Audit git repos for secrets

Powered by src-d's go-git

Installing

go get -u github.com/zricethezav/gitleaks

Or download from release binaries here

Usage and Options

Usage:
  gitleaks [OPTIONS]

Application Options:
  -r, --repo=          Repo url to audit
      --github-user=   User url to audit
      --github-org=    Organization url to audit
  -p, --private        Include private repos in audit
  -c, --commit=        sha of commit to stop at
      --repo-path=     Path to repo
      --owner-path=    Path to owner directory (repos discovered)
      --max-go=        Maximum number of concurrent go-routines gitleaks spawns
      --disk           Clones repo(s) to disk
      --all-refs       run audit on all refs
      --single-search= single regular expression to search for
      --config=        path to gitleaks config
      --ssh-key=       path to ssh key
  -l, --log=           log level
  -v, --verbose        Show verbose output from gitleaks audit
      --report=        path to write report file
      --redact         redact secrets from log messages and report

Help Options:
  -h, --help           Show this help message

Exit Codes

1: leaks present
0: no leaks

Additional Examples and Explanations

Check the wiki here

If you find a valid leak in a repo

Please read this Github article on removing sensitive data from a repository to remove the sensitive information from your history.

Run me with docker

Simply run docker run --rm --name=gitleaks zricethezav/gitleaks --help