feat: populate package supplier in CycloneDX and SPDX#4991
Open
MackJM wants to merge 1 commit into
Open
Conversation
Derive each package's supplier from existing metadata (rpm vendor/packager, deb/apk maintainer, language authors, elf vendor, ...) and emit it as a CycloneDX OrganizationalEntity (name + contact email + url) and SPDX supplier/originator, plus the project homepage as an external reference / PackageHomePage. Signed-off-by: MackJM <33904877+MackJM@users.noreply.github.com>
This comment was marked as outdated.
This comment was marked as outdated.
This was referenced Jun 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Populates the package supplier and homepage across SBOM output, derived
from existing package metadata.
authors, elf vendor, etc. Emitted as a CycloneDX
OrganizationalEntity(name + contact email + url) and as the SPDX
PackageSupplier/PackageOriginator.websiteexternal reference and the SPDXPackageHomePage.This implements the supplier element of the NTIA minimum SBOM requirements
(#1961), which syft previously left unasserted for most packages.
Verified output against
cyclonedx-cli(JSON + XML) andpyspdxtoolsacross rpm, apk, deb, npm, pypi, and maven.RPM supplier/homepage relies on two new go-rpmdb header tags (
RPMTAG_PACKAGER,RPMTAG_URL).Type of change
Checklist
Issue references
Fixes #1961
Relates to #632 (NTIA minimum elements — populates the Supplier Name element)
Depends-On: anchore/go-rpmdb#18