trufflehog
Find credentials all over the place
Name:trufflehog
Category:Static Code Analysis
Publisher:trickest
Created:6/23/2021
Container:
quay.io/trickest/trufflehog:v3.61.0
Output Type:
License:Unknown
Source:View Source
Parameters
--key
S3 key used to authenticate.--org
GitHub/GitLab organization to scan.--bare
Scan bare repository (e.g. useful while using in pre-receive hooks)
Path to file to scan (must use the `filesystem` mode)--json
Output in JSON format.
Scan mode (available options: git, github, gitlab, filesystem, s3, gcs, circleci, and docker)--repo
GitHub/GitLab repository to scan.--debug
Run in debug mode.--image
Docker image to scan. Image registry is assumed.--token
GitHub/GitLab/CircleCI token--trace
Run in trace mode.--branch
Branch to scan.--bucket
Name of S3 bucket to scan.--config
Path to configuration file.--secret
S3 secret used to authenticate.--api-key
GCS API key used to authenticate.
Git repository URL. https://, file://, or ssh:// schema expected (must use the `git` mode)--endpoint
GitHub/GitLab endpoint--role-arn
Specify the ARN of an IAM role to assume for scanning.--verifier
Set custom verification endpoints.
Path to directory to scan (must use the `filesystem` mode)--max-depth
Maximum depth of commits to scan.--no-update
Don't check for updates.--project-id
GCS project ID used to authenticate. Can NOT be used with unauth scan.--concurrency
Number of concurrent workers (default: 1).--json-legacy
Use the pre-v3.0 JSON format. Only works with git, gitlab, and github sources.--pr-comments
Include pull request descriptions and comments in scan.--since-commit
Commit to start scan from.--without-auth
Scan GCS buckets without authentication. This will only work for public buckets--exclude-globs
Comma separated list of globs to exclude in scan. This option filters at the `git log` level, resulting in faster scans.--exclude-paths
Path to file with newline separated regexes for files to exclude in scan.--exclude-repos
Repositories to include in an org scan. This can also be a glob pattern. Must use Github repo full name. Example: trufflesecurity/trufflehog, trufflesecurity/t*--gist-comments
Include gist comments in scan.--include-forks
Include forks in scan.--include-paths
Path to file with newline separated regexes for files to include in scan.--include-repos
Repositories to include in an org scan. This can also be a glob pattern. Must use Github repo full name. Example: trufflesecurity/trufflehog, trufflesecurity/t*--only-verified
Only output verified results.--session-token
S3 session token used to authenticate temporary credentials.--filter-entropy
Filter unverified results with Shannon entropy. Start with 3.0.--github-actions
Output in GitHub Actions format.--issue-comments
Include issue descriptions and comments in scan.--archive-timeout
Maximum time to spend extracting an archive.--exclude-buckets
Buckets to exclude from scan. Comma separated list of buckets. Globs are supported--exclude-objects
Objects to exclude from scan. Comma separated list of buckets. Globs are supported--include-buckets
Buckets to scan. Comma separated list of buckets. Globs are supported--include-members
Include organization member repositories in scan.--include-objects
Objects to scan. Comma separated list of buckets. Globs are supported--max-object-size
Maximum size of objects to scan. Objects larger than this will be skipped. (Byte units eg. 512B, 2KB, 4MB)--no-verification
Don't verify the results--service-account
Path to GCS service account JSON file.--archive-max-size
Maximum size of archive to scan. (Byte units eg. 512B, 2KB, 4MB)--archive-max-depth
Maximum depth of archive to scan.--cloud-environment
Use default IAM credentials in cloud environment.--exclude-detectors
Comma separated list of detector types to exclude. Protobuf name or IDs may be used, as well as ranges. IDs defined here take precedence over the include list.--filter-unverified
Only output first unverified result per chunk per detector if there are more than one results.--include-detectors
Comma separated list of detector types to include. Protobuf name or IDs may be used, as well as ranges.--print-avg-detector-time
Print the average time spent on each detector.