Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
make message clearer
Dustin Decker6f1ba7de9050
diff --git a/main.go b/main.goindex a696c1c43..cc249a016 100644--- a/main.go+++ b/main.go@@ -47,21 +47,21 @@ func main() {githubScanOrgs := githubScan.Flag("org", `GitHub organization to scan. You can repeat this flag. Example: "trufflesecurity"`).Strings()githubScanToken := githubScan.Flag("token", "GitHub token.").String()- gitlabScan := cli.Command("gitlab", "Find credentials in GitLab repositories.")+ gitlabScan := cli.Command("gitlab", "Coming soon. Find credentials in GitLab repositories.")// gitlabScanTarget := gitlabScan.Arg("target", "GitLab target. Can be a repository, user or organization.").Required().String()// gitlabScanToken := gitlabScan.Flag("token", "GitLab token.").String()- bitbucketScan := cli.Command("bitbucket", "Find credentials in Bitbucket repositories.")+ bitbucketScan := cli.Command("bitbucket", "Coming soon. Find credentials in Bitbucket repositories.")// bitbucketScanTarget := bitbucketScan.Arg("target", "Bitbucket target. Can be a repository, user or organization.").Required().String()// bitbucketScanToken := bitbucketScan.Flag("token", "Bitbucket token.").String()- filesystemScan := cli.Command("filesystem", "Find credentials in a filesystem.")+ filesystemScan := cli.Command("filesystem", "Coming soon. Find credentials in a filesystem.")// filesystemScanPath := filesystemScan.Arg("path", "Path to scan.").Required().String()// filesystemScanRecursive := filesystemScan.Flag("recursive", "Scan recursively.").Short('r').Bool()// filesystemScanIncludePaths := filesystemScan.Flag("include_paths", "Path to file with newline separated regexes for files to include in scan.").Short('i').String()// filesystemScanExcludePaths := filesystemScan.Flag("exclude_paths", "Path to file with newline separated regexes for files to exclude in scan.").Short('x').String()- s3Scan := cli.Command("s3", "Find credentials in an S3 bucket.")+ s3Scan := cli.Command("s3", "Coming soon. Find credentials in an S3 bucket.")cmd := kingpin.MustParse(cli.Parse(os.Args[1:]))@@ -111,13 +111,13 @@ func main() {logrus.WithError(err).Fatal("Failed to scan git.")}case gitlabScan.FullCommand():- log.Fatal("gitlab not implemented")+ log.Fatal("GitLab not implemented. Coming soon.")case bitbucketScan.FullCommand():- log.Fatal("bitbucket not implemented")+ log.Fatal("Bitbucket not implemented. Coming soon.")case filesystemScan.FullCommand():- log.Fatal("filesystem not implemented")+ log.Fatal("Filesystem not implemented. Coming soon.")case s3Scan.FullCommand():- log.Fatal("s3 not implemented")+ log.Fatal("S3 not implemented. Coming soon.")}if !*jsonLegacy && !*jsonOut {