Add SBOM generation and upload workflow for webui and cli packages#1640
Open
iliescuioana wants to merge 1 commit intoeclipse:masterfrom
Open
Add SBOM generation and upload workflow for webui and cli packages#1640iliescuioana wants to merge 1 commit intoeclipse:masterfrom
iliescuioana wants to merge 1 commit intoeclipse:masterfrom
Conversation
Signed-off-by: Ioana Iliescu <ioana.iliescu@eclipse-foundation.org>
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.
Overview
Implements the first half of the required SBOMs from #1610:
The following 3 products will be covered in a subsequent PR.
What does this PR do?
This PR aims to bootstrap the EF Security Team initiative of supporting projects in implementing automated SBOM generation and upload workflows, with the goal of enhancing software supply chain security.
We wanted this to seamlessly integrate with your existing release processes, so we implemented 1 workflow meant to generate SBOMs for
yarnbased products.Currently the workflow is triggered by new product releases being published. A yarn plugin is used to generate the SBOM, which is then uploaded as an artifact. The
store-sbom-datareusable workflow stores additional metadata about the project and upon completion, the self service system downloads the SBOM from artifacts and uploads it to our DependencyTrack instance, under theEclipse OpenVSX/ovsx cliandEclipse OpenVSX/openvsx webuientries. To view the SBOMs, you can log into the instance by using your EF account credentials.We have tested the SBOM generation separately and everything worked successfully (see test run). However, due to limited permissions, we'd ask if you could manually run it once so we can confirm the upload to our instance works as expected (for the version input the latest release tag of either
cli-orwebui-products can be used).Otherwise feel free to update the workflow as needed, edits by maintainers are enabled. Please let us know if you have any questions we can help with.