anchore / syft

CLI tool and library for generating a Software Bill of Materials from container images and filesystems
Apache License 2.0
5.73k stars 526 forks source link

CycloneDX group field not symmetrically handled by encoder/decoders #2981

Open wagoodman opened 1 week ago

wagoodman commented 1 week ago

We have a few issues around the group field in CycloneDX:

Ultimately what should happen is that:

This would at least help with a few of the grype issues, though, there is more work in grype needed to consider if group should be removed or added when searching for vulnerabilities (which is different than specific SBOM considerations).