trufflehog
trufflehog copied to clipboard
Allow terminal output and JSON file output simultaniously
trafficstars
Is your feature request related to a problem? Please describe. Currently it's not possible to output to a JSON file, and also to the terminal in the normal format.
Describe the solution you'd like
When running Trufflehog in a Pipeline we'd like the main output of Trufflehog to be written to the build log, but also a JSON file to save as an artefact.
E.g.
trufflehog git file:///${CI_PROJECT_DIR} --json trufflehog-report.json --concurrency=4
Describe alternatives you've considered
Currently we run the command twice, which isn't very efficient, once with --json and once without.