Open kkovaletp opened 2 years ago
If you want to retain the top level metadata component you can use the --hierarchical
merge option.
Thanks for your tip, but --hierarchical
does not what I expect: it creates SBOM, containing my original SBOMs as 2 dependencies, while I need to exactly merge them and have info from each to be in resulting file on same level
I've merged 2 SBOMs, but found that resulting SBOM doesn't contain
metadata.component
from original SBOMs. Executed command:If add
--group Group --name Name --version 2.0
, exactly this info will be inmetadata.component
, but info from SBOM 1 is lost anyway.SBOM 1:
SBOM 2:
Resulting SBOM: