containers / buildah

A tool that facilitates building OCI images.
https://buildah.io
Apache License 2.0
7.25k stars 766 forks source link

SBOM: merge strategies that deduplicate by name+version are suboptimal #5393

Open chmeliik opened 5 months ago

chmeliik commented 5 months ago

Description

The default merge strategies deduplicate SBOM components by name and version. This can result in losing components that are not duplicates.

For example:

For the purpose of de-duplicating components, a more appropriate identifier is typically the purl, which should uniquely identify a package.

Note that merging SBOMs by simply de-duplicating components is never optimal, as it often results in losing data from one or both SBOMs (e.g. the dependencies data). But that's a much harder problem to solve.

github-actions[bot] commented 4 months ago

A friendly reminder that this issue had no activity for 30 days.