trufflehog icon indicating copy to clipboard operation
trufflehog copied to clipboard

Allow defining multiple outputs

Open Jiri-Stary opened this issue 2 years ago • 2 comments

Hello,

i have a suggestion - currently it is only possible to choose output either json or human readable output. I would like to get both. Other tools commonly support possibility to define multiple formats e.g. human, json ,sarif

example :

--output file.txt,human --ouput result.json,json

Human output is feasible for console logs or to attach to a pull, request, while machine readable output is usable for further processing or to determine if /when to fail a build. In my use case i would like to have both

Jiri-Stary avatar Oct 10 '23 10:10 Jiri-Stary

Is this PR requesting to get the output in sarif too?

gustavosimon avatar Dec 15 '24 01:12 gustavosimon

I'd also be keen to get the ability to have multiple outputs included, for the sake of allowing a pipeline trace to be human readable but also for long term logging purposes. Theres merit to additional formats (SARIF, junit prehaps?) but that's really a separate request.

JohnStokes228 avatar May 20 '25 12:05 JohnStokes228