CycloneDX/sbom-utility

Add custom JSON Marshallers functions for CycloneDX vulnerability data structures

Ouverte

#25 ouverte le 18 mai 2023

 (1 commentaire) (0 réaction) (0 personne assignée)Go (20 forks)auto 404
enhancementhelp wanted

Métriques du dépôt

Stars
 (155 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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: https://github.com/CycloneDX/sbom-utility/issues/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

Guide contributeur