Repository navigation
CKE-140 SBOM upload - #287
Merged
Merged
Conversation
Add a plan for uploading a CycloneDX SBOM of the whole workspace to Dependency-Track for main and future maintenance/<major> branches, as component-foundation does. The setup of component-foundation can't be reused here: this repository is public, so it can't call the private reusable-sbom-upload.yml of CoreMedia/github-actions or safely use the self-hosted runner, and Dependency-Track is only reachable from the internal network. As a temporary solution, the QA gate generates the SBOM before the push and stores it as the artifact sbom-<SHA>. A nightly job on the team Jenkins venus-ci-01, defined in the venus-ci-01 branch of CoreMedia/ci-jobs, uploads the artifact of each branch head as ckeditor-plugins-workspace below the parent project Ckeditor Plugins. The plan tracks decisions, open questions, prerequisites and rollout steps as checkboxes. It is removed before the branch is integrated. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The parent project Ckeditor Plugins already exists in Dependency-Track with the version "-", which the Jenkins job sends as parentVersion, so the job doesn't need to create it. A fresh maintenance/<major> branch gets no SBOM before its first merged pull request: its first commit only changes .changeset/config.json, and every release from the branch goes through the QA gate first. The Jenkins job logs a warning for the missing artifact and doesn't count it as a failed branch. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Before the push to main or a maintenance branch, the QA gate generates a CycloneDX 1.6 SBOM of the whole workspace with pnpm sbom, so an SBOM that cannot be generated blocks the merge. It stores the SBOM with a metadata.json (branch, commit, version) as the artifact sbom-<SHA>, named after the pushed commit and kept for 90 days. A nightly job on an internal Jenkins uploads the SBOM of each branch head to Dependency-Track. This repository is public, so it can neither use the shared private upload workflow nor reach Dependency-Track itself. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The nightly job on venus-ci-01 is implemented on the ci-jobs branch ckeditor-plugins-sbom-upload. It uploads the SBOM artifact of each branch head with the dependencyTrackPublisher step of the Dependency-Track plugin, as the Blueprint SBOM upload does, and takes the Dependency-Track URL and API key from the plugin's global configuration. The job uploads every night without skipping unchanged heads, since re-uploading the same SBOM is harmless. A failed upload fails only its branch; a missing artifact only logs a warning. The prerequisites now include the plugin and its global configuration on venus-ci-01. They also list the API key permissions the plugin needs: after the upload it looks up the project and updates its tags, which requires VIEW_PORTFOLIO and PORTFOLIO_MANAGEMENT besides BOM_UPLOAD and PROJECT_CREATION_UPLOAD. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
aholtkamp
approved these changes
Nov 24, 2026
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.
No description provided.