Files
Shahzad Haider 2114e77d56 Fix legacy json flag for Github and Gitlab private repos (#4386)
* fix legacy json flag for gitlab private repos

* some code

* incorporated code from main

* remove cloned repositories after the scan is complete

* enhanced the code

* comment addressed

* changed the approach for persisting the repositories for legacy json printing

* addressed comments; updated the variable names
2025-09-03 11:19:28 +05:00
..

snifftest

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

go run hack/snifftest/main.go

Show available secret scanners

go run hack/snifftest/main.go show-scanners

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