CycloneDX/sbom-utility

Add custom JSON Marshallers functions for CycloneDX vulnerability data structures

開放

#25 建立於 2023年5月18日

 (1 則留言) (0 個反應) (0 位負責人)Go (20 個分叉)auto 404
enhancementhelp wanted

倉庫指標

星標
 (155 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南