trufflehog/hack/snifftest
Miccah 4efe5313f4
[chore] Address lint errors (#1133)
* Update strings.Title to cases.Title

* Migrate go-genproto to google-cloud-go

See: https://github.com/googleapis/google-cloud-go/blob/main/migration.md

* Check error in test

* Check error from sem.Acquire

* Remove unused code
2023-02-27 21:03:47 -06:00
..
main.go [chore] Address lint errors (#1133) 2023-02-27 21:03:47 -06:00
README.md Add snifftest 2022-03-11 10:24:36 -08:00
snifftest.sh Add snifftest 2022-03-11 10:24:36 -08:00

snifftest

See the help pages with this command, or look further below to get started quickly.

go run snifftest/main.go 

Show available secret scanners

go run snifftest/main.go show-scanners 

Load a repo into a DB

go run snifftest/main.go load --db ~/sdb --repo https://github.com/Netflix/Hystrix.git  

Scan

All scanners

go run snifftest/main.go scan --db ~/sdb --scanner all --print 

Particular scanner

go run snifftest/main.go scan --db ~/sdb --scanner github --print --print-chunk --fail-threshold 5