Skip to content

Find, verify, and analyze leaked credentials

Disable GitHub wiki scanning by default (#2386)

Cody Rose95616b01f9ad
diff --git a/main.go b/main.go
index 26362f93e..b34f9083d 100644
--- a/main.go
+++ b/main.go
@@ -86,7 +86,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.").Default("true").Bool()
+ githubIncludeWikis = githubScan.Flag("include-wikis", "Include repository wikisin 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()