-
Notifications
You must be signed in to change notification settings - Fork 481
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
Json output format returns an array #588
Comments
Hello @ArisBee. Is there a reason you want this enhancement? The functionality of the audit report is to display a list of secret values which is why it returns an empty list. |
That makes it easier for automated parsing. Now I have to define an exception when nothing is found. |
As I mentioned internally, I fully support this enhancement 😄 |
@ArisBee Do you want it only in the nothing found case Ex. |
I would add it in general for consistency. Something like
|
* Return report result as object instead of list for easier parsing * Update typing
That's minor, but when I execute something like:
It will typically returns json objects within an array, for instance if there is no finding it will simply output
[]
. Couldn't it instead return a json object in between curly brackets{}
?The text was updated successfully, but these errors were encountered: