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

SBOM: Ability to generate SBOM when a container or helm chart is uploaded and updated #16186

Open
rudymccomb opened this issue Jan 4, 2022 · 5 comments
Labels
area/SBOM kind/requirement New feature or idea on top of harbor

Comments

@rudymccomb
Copy link

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I have to use a third-party tool like SPDX CycloneDX or Anchor Syft to create an SBOM and Harbor doesn't allow me to add that to the container repo somewhere.

Describe the solution you'd like
A clear and concise description of what you want to happen.

I would like the ability to generate SBOMs within Harbor when a container is uploaded and updated. Also the ability for scans to cross-reference SBOMs to determine the vulnerability level of the container/Helm chart.

Describe the main design/architecture of your solution
A clear and concise description of what does your solution look like. Rich text and diagrams are preferred.

The SBOM could be optional and offer the ability to use Anchore Syft, SPDX, CycloneDX, and the resulting artifact would live in a tab next to the container layers info. Also, the SBOM could be a downloadable JSON.

Describe the development plan you've considered
A clear and concise description of the plan to make the solution ready. It can include a development timeline, resource estimation, and other related things.

Integrate Anchore Syft into Harbor and just like you did for Claire, update the UI to account for this and then allow Harbor the option of checking SBOMs against vulnerability scans to determine Low Medium, or High Threshold for said container or Helm Chart.

Additional context
Add any other context or screenshots about the feature request here.

https://github.com/anchore/syft

@zyyw
Copy link
Contributor

zyyw commented Jan 10, 2022

it's in our roadmap; we are trying to define the spec first and for image artifact first

@zyyw zyyw added kind/requirement New feature or idea on top of harbor area/SBOM labels Jan 10, 2022
@ChristianCiach
Copy link

ChristianCiach commented Feb 15, 2022

The Cosign spec allows SBOM information to be embedded into the cosign artifact. Seeing that Cosign support is on the roadmap for Harbor, it would be nice if Harbor could also embed the SBOM into the generated cosign artifacts.

Or, if you don't want to support that natively, maybe let users somehow plug-in their tool of choice (similar to your existing Scanner API) to enrich the cosign data.

See https://github.com/sigstore/cosign/blob/main/specs/SBOM_SPEC.md

@github-actions
Copy link

github-actions bot commented Jul 5, 2022

This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.

@AllardKrings
Copy link

any progress on this request?

@rudymccomb
Copy link
Author

any progress on this request?

Yes @AllardKrings see
#16397
#19130

I don't believe its been fully integrated yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/SBOM kind/requirement New feature or idea on top of harbor
Projects
None yet
Development

No branches or pull requests

5 participants