Allow users to set primary component metadata as part of the generation #7872
Replies: 1 comment 6 replies
-
We're glad to hear that! Thanks for sharing.
While this suggestion makes sense, it will add too many CLI flags and is not flexible. If users have another need, like specifying So, I'd suggest using JSON Patch or JSON Merge Patch. Users create a JSON patch and pass it to Trivy when generating SBOM, like |
Beta Was this translation helpful? Give feedback.
-
Description
I'm part of the CISA Tiger Team for SBOM Reference Implementation. We've adopted Trivy as part of our tool chain for the first iteration of our reference implementation.
While Trivy works well in general, we have some feedback that would make it easier to generate NTIA Minimum Element compliant SBOMs (which is the goal of the Tiger Team).
The feedback is as follows:
(Note: Using CycloneDX just as an example)
We've worked around these constraints using sbomasm (example), but it would streamline things a lot of this could be provided as part of the generation phase.
Target
Filesystem
Scanner
None
Beta Was this translation helpful? Give feedback.
All reactions