sbomasm icon indicating copy to clipboard operation
sbomasm copied to clipboard

assemble sboms using primary comp sbom file

Open viveksahu26 opened this issue 11 months ago • 2 comments

closes https://github.com/interlynk-io/sbomasm/issues/128

This PR follows second approach as described here.

This PR introduces a new feature that enhances the sbomasm assemble command by adding support for the --primaryCompFile flag. This feature enables users to specify a primary component SBOM (primaryCompFile) as the base for generating the final assembled SBOM.

For testing, one can use below files:

$ go run main.go assemble --primaryCompFile sbomex-cdx.json -o hierar3-pc-final.cdx.json sbomqs-cdx.json sbomgr-cdx.json

sbomex-cdx.json sbomgr-cdx.json sbomqs-cdx.json hierar3-pc-final.cdx.json

viveksahu26 avatar Jan 02 '25 14:01 viveksahu26

LGTM

matglas avatar Jan 07 '25 08:01 matglas

Refer here for README: https://github.com/viveksahu26/sbomasm/blob/feat/assemble_via_pc_file/docs/assemble/README.md

viveksahu26 avatar Jan 08 '25 09:01 viveksahu26