Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feat): Generate SBOM for invocation image + bundle #2930

Open
schristoff opened this issue Sep 27, 2023 · 0 comments
Open

(feat): Generate SBOM for invocation image + bundle #2930

schristoff opened this issue Sep 27, 2023 · 0 comments
Assignees
Labels
suggestion Idea for maintainers to consider. Do not take this issue until triaged.

Comments

@schristoff
Copy link
Member

Being able to offer generating an SBOM for the invocation image and bundle would be a great step in our security focus.
Talking to Syft on their Slack, they pointed us to this example for ingesting Syft as a Go lib.

Ideally, when users run porter publish command we would take a sbom (bool) flag. If true, then within pkg/porter/publish we would call a separate pkg/porter/publish/sbom.go that would do the generation required. We could separate out this feature into it's own package, or keep it within publish. The porter package is already kinda chunky, so maybe best to try and keep all the imports needed for this feature separate.

Note: The linked code generates a Syft SBOM, but we need an SPDX SBOM, so we would need to incorporate the use of formats into this code.

@schristoff schristoff added the suggestion Idea for maintainers to consider. Do not take this issue until triaged. label Sep 27, 2023
@schristoff schristoff self-assigned this Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion Idea for maintainers to consider. Do not take this issue until triaged.
Projects
Development

No branches or pull requests

1 participant