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