Skip to content

fix: include group/namespace across formats#2645

Merged
kzantow merged 13 commits into
anchore:mainfrom
kzantow-anchore:fix/purl-list
May 12, 2025
Merged

fix: include group/namespace across formats#2645
kzantow merged 13 commits into
anchore:mainfrom
kzantow-anchore:fix/purl-list

Conversation

@kzantow
Copy link
Copy Markdown
Contributor

@kzantow kzantow commented May 7, 2025

This PR is a follow-on from adding a PURL list format to Syft.

This PR removes the specialized PURL conversion to packages, instead allowing Syft to manage this as well as enhance provided SBOMs using data found in the PURL. The results of this is it fixes a number of issues that many package types were incomplete from SBOMs generated using tools other than Syft, which properly included the CycloneDX group field and/or namespace in the PURL. Additionally, per-package distro handling has been centralized to populate package distros regardless of import format, so SBOMs created with tools other than Syft are able to specify upstream packages and linux distributions on a per-package basis.

kzantow added 12 commits May 7, 2025 13:22
Signed-off-by: Keith Zantow <kzantow@gmail.com>
Signed-off-by: Keith Zantow <kzantow@gmail.com>
Signed-off-by: Keith Zantow <kzantow@gmail.com>
Signed-off-by: Keith Zantow <kzantow@gmail.com>
Signed-off-by: Keith Zantow <kzantow@gmail.com>
Signed-off-by: Keith Zantow <kzantow@gmail.com>
Signed-off-by: Keith Zantow <kzantow@gmail.com>
Signed-off-by: Keith Zantow <kzantow@gmail.com>
Signed-off-by: Keith Zantow <kzantow@gmail.com>
Signed-off-by: Keith Zantow <kzantow@gmail.com>
Comment thread grype/pkg/package.go Outdated
Signed-off-by: Keith Zantow <kzantow@gmail.com>
@kzantow kzantow merged commit a7616a6 into anchore:main May 12, 2025
12 checks passed
@kzantow kzantow deleted the fix/purl-list branch May 14, 2025 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants