Pretty-printed JSON SBOM #1693
Closed
marcelstoer
started this conversation in
General
Replies: 1 comment 1 reply
-
cdxgen >=11.2.3 supports pretty print. Pass the argument |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I didn't see the documentation mention how to get a pretty-printed JSON SBOM out of cdxgen. ChatGPT "confirmed" that this is not (or no longer?) available. Is it right?
The workaround of course would be to send it through
jq
e.g.cdxgen ..... && jq . target/sbom-compact.json > target/sbom.json
.Beta Was this translation helpful? Give feedback.
All reactions