CycloneDX/sbom-utility

Add custom JSON Marshallers functions for CycloneDX vulnerability data structures

オープン

#25 opened on 2023/05/18

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Go (20 件のフォーク)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (155 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド