Skip to content

Conversation

@wlynch
Copy link
Member

@wlynch wlynch commented Jan 8, 2026

Currently we use the generator key as the format in the generated SBOM (e.g. "spdx"). It's more useful if we can get the predicate type in the output so we can know how to handle and parse it.

Currently we use the generator key as the format in the generated SBOM (e.g. "spdx").
It's more useful if we can get the predicate type in the output so we can know how to handle
and parse it.
@wlynch wlynch requested a review from markusthoemmes January 8, 2026 22:54
}

func (sx *SPDX) PredicateType() string {
return "https://spdx.dev/Document"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apko doesn't really know/care about this, does it? Attestations are written outside of the apko process IIRC, so this feels like a leaky abstraction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants