[go: nahoru, domu]

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

Add report option for unique flattened json output #326

Open
shellw opened this issue Mar 23, 2020 · 2 comments
Open

Add report option for unique flattened json output #326

shellw opened this issue Mar 23, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@shellw
Copy link
shellw commented Mar 23, 2020

What would you like to be added

A new --report ndjson feature that flattens and outputs node, service, vulnerability combinations as unique JSON results.

Why is this needed

The current --report json option outputs json in one large chunk and does not map the relationship between nodes, services, and vulnerabilities. This makes it hard to ingest large amounts of output into a single entry for many logging tools and also makes it hard to correlate nodes and services to respective vulnerabilities.

@dustin-decker
Copy link

This would be very helpful when exporting logs to bigquery. It is difficult to query fields that are lists, and sometimes log lines exceed size limits in stackdriver (256kb) with the current JSON output.

@danielsagi
Copy link
Contributor

+1

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

Successfully merging a pull request may close this issue.

3 participants