Find secrets in your codebase.
Project description
truffleHog3
This is an enhanced version of truffleHog scanner
New
- Python 3.6
- flake8 compliant code
- output to file in different formats: text, JSON, YAML, HTML
- option to disable Git history checks - scan simple files/directories
- option to exclude files/directories, see trufflehog.yaml
- config file support with automatic detection in source code directory
Installation
Package is available on PyPI
pip install truffleHog3
Customizing
List of default regexes was moved into repository, see rules.yaml
Help
usage: trufflehog3 [options] source
Find secrets in your codebase.
positional arguments:
source URLs or paths to local folders for secret searching
optional arguments:
-h, --help show this help message and exit
-v, --verbose enable verbose logging {-v, -vv, -vvv}
-c, --config path to config file
-o, --output write report to file
-f, --format output format {text, json, yaml, html}
-r, --rules ignore default regexes and source from file
-R, --render-html render HTML report from JSON or YAML
--branch name of the repository branch to be scanned
--since-commit scan starting from a given commit hash
--skip-strings skip matching strings
--skip-paths skip paths matching regex
--max-depth max commit depth for searching
--no-regex disable high signal regex checks
--no-entropy disable entropy checks
--no-history disable commit history check
--no-current disable current status check
Thanks
Special thanks to Dylan Ayrey (@dxa4481), developer of the original truffleHog scanner
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
truffleHog3-2.0.0b0.tar.gz
(12.6 kB
view hashes)
Built Distribution
Close
Hashes for truffleHog3-2.0.0b0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07ca8896b39fdce384db407b53ee545d7403ed4a6fcce985ded547fcc4771b85 |
|
MD5 | cd75c23acbfca815257e7109a9f69f6c |
|
BLAKE2b-256 | e59cbe8835ddeefe851118a48e6e757a105d39eabfcead73a03cb9063eecd2b1 |