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 custom JSON Marshallers functions for CycloneDX vulnerability data structures #25

Open
mrutkows opened this issue May 18, 2023 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@mrutkows
Copy link
Contributor

mrutkows commented May 18, 2023

When outputting data in JSON format, we need to remove all empty nested structs. We have done this for the license command. This reduces JSON output for downstream processing.

See this issue for more background: #18

See what was done for the license command here as part of the fix for issue 18: https://github.com/CycloneDX/sbom-utility/blob/custom-cmds/schema/cyclonedx_marshal.go

@mrutkows mrutkows changed the title Add custom Marshallers for CycloneDX vulnerability data structures Add custom JSON Marshallers functions for CycloneDX vulnerability data structures May 18, 2023
@mrutkows mrutkows added enhancement New feature or request help wanted Extra attention is needed labels May 18, 2023
@mrutkows
Copy link
Contributor Author

Partially fixed by: #40

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

No branches or pull requests

1 participant