Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow defining multiple outputs #11

Open
Jiri-Stary opened this issue Oct 10, 2023 · 2 comments
Open

Allow defining multiple outputs #11

Jiri-Stary opened this issue Oct 10, 2023 · 2 comments

Comments

@Jiri-Stary
Copy link

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

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

@agateau-gg
Copy link
Collaborator

Hi Jiri, sorry for the late reply. Adding multiple output sounds a bit tricky: I don't see how it could work with stdout piping (the ability to run ggshield secret scan path . --json | jq [...]). Do you have any ideas on how to deal with that?

@Jiri-Stary
Copy link
Author

Jiri-Stary commented Oct 23, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants