Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
Fix --include-wikis help typo and huggingface README description (#5471)
Dennys Kaluzny Pereirab1bb8233b55e
diff --git a/README.md b/README.mdindex 871c5fff2..b368d2d87 100644--- a/README.md+++ b/README.md@@ -570,7 +570,7 @@ jenkins --url=URL [<flags>]Scan Jenkinshuggingface [<flags>]- Find credentials in HuggingFace datasets, models and spaces.+ Find credentials in HuggingFace datasets, models, spaces and buckets.stdinFind credentials from stdin.diff --git a/docs/man/trufflehog.1 b/docs/man/trufflehog.1index ed9e2a872..e27880f92 100644--- a/docs/man/trufflehog.1+++ b/docs/man/trufflehog.1@@ -202,7 +202,7 @@ Include organization member repositories in scan.Repositories to include in an org scan. This can also be a glob pattern. You can repeat this flag. Must use Github repo full name. Example: "trufflesecurity/trufflehog", "trufflesecurity/t*".TP\fB--include-wikis\fR-Include repository wikisin scan.+Include repository wikis in scan..TP\fB--exclude-repos=EXCLUDE-REPOS\fRRepositories to exclude in an org scan. This can also be a glob pattern. You can repeat this flag. Must use Github repo full name. Example: "trufflesecurity/driftwood", "trufflesecurity/d*"diff --git a/main.go b/main.goindex b40032cad..e1c2b5827 100644--- a/main.go+++ b/main.go@@ -126,7 +126,7 @@ var (githubIncludeForks = githubScan.Flag("include-forks", "Include forks in scan.").Bool()githubIncludeMembers = githubScan.Flag("include-members", "Include organization member repositories in scan.").Bool()githubIncludeRepos = githubScan.Flag("include-repos", `Repositories to include in an org scan. This can also be a glob pattern. You can repeat this flag. Must use Github repo full name. Example: "trufflesecurity/trufflehog", "trufflesecurity/t*"`).Strings()- githubIncludeWikis = githubScan.Flag("include-wikis", "Include repository wikisin scan.").Bool()+ githubIncludeWikis = githubScan.Flag("include-wikis", "Include repository wikis in scan.").Bool()githubExcludeRepos = githubScan.Flag("exclude-repos", `Repositories to exclude in an org scan. This can also be a glob pattern. You can repeat this flag. Must use Github repo full name. Example: "trufflesecurity/driftwood", "trufflesecurity/d*"`).Strings()githubScanIncludePaths = githubScan.Flag("include-paths", "Path to file with newline separated regexes for files to include in scan.").Short('i').String()githubScanExcludePaths = githubScan.Flag("exclude-paths", "Path to file with newline separated regexes for files to exclude in scan.").Short('x').String()