Skip to content

Add SBOM generation and upload workflow for webui and cli packages#1640

Open
iliescuioana wants to merge 1 commit intoeclipse:masterfrom
iliescuioana:yarn-sboms
Open

Add SBOM generation and upload workflow for webui and cli packages#1640
iliescuioana wants to merge 1 commit intoeclipse:masterfrom
iliescuioana:yarn-sboms

Conversation

@iliescuioana
Copy link

Overview

Implements the first half of the required SBOMs from #1610:

  • Source SBOM (Yarn) [done]
    • ovsx CLI [done]
    • openvsx-webui front end library [done]
  • Source SBOM (Gradle)
    • openvsx server
  • Image SBOM (docker)
    • openvsx-webui docker image
    • openvsx-server docker image

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 yarn based 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-data reusable 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 the Eclipse OpenVSX/ovsx cli and Eclipse OpenVSX/openvsx webui entries. 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- or webui- 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.

Signed-off-by: Ioana Iliescu <ioana.iliescu@eclipse-foundation.org>
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.

1 participant