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

Reduce JSON output size by removing redundant vulnerability information #1635

Open
hogo6002 opened this issue Feb 18, 2025 · 0 comments
Open

Comments

@hogo6002
Copy link
Contributor

Our JSON output includes the full OSV record for each vulnerability, leading to large JSON files (e.g. >20 MB for Ubuntu scans). This data is often unrelated, as one OSV record normally contain information about various packages and ecosystems, while OSV-Scanner already knows the specific affected package and version.

To reduce the output size, we should replace the vulnerability details with a more concise format. One option is to use

type VulnResult struct {

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

1 participant