Skip to content

Find, verify, and analyze leaked credentials

Fix --include-wikis help typo and huggingface README description (#5471)

Dennys Kaluzny Pereirab1bb8233b55e
diff --git a/README.md b/README.md
index 871c5fff2..b368d2d87 100644
--- a/README.md
+++ b/README.md
@@ -570,7 +570,7 @@ jenkins --url=URL [<flags>]
Scan Jenkins
huggingface [<flags>]
- Find credentials in HuggingFace datasets, models and spaces.
+ Find credentials in HuggingFace datasets, models, spaces and buckets.
stdin
Find credentials from stdin.
diff --git a/docs/man/trufflehog.1 b/docs/man/trufflehog.1
index 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\fR
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*"
diff --git a/main.go b/main.go
index 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()