feat: Add SBOMs for frontend (npm) dependencies - #1600
Open
dervoeti wants to merge 9 commits into
Open
Conversation
Techassi
reviewed
Aug 18, 2026
Techassi
left a comment
Member
There was a problem hiding this comment.
Generally looks good, just a few comments.
Techassi
requested changes
Aug 18, 2026
Co-authored-by: Techassi <git@techassi.dev>
Co-authored-by: Techassi <git@techassi.dev>
Co-authored-by: Techassi <git@techassi.dev>
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.
Description
Airflow, Druid, NiFi and Superset all bundle a frontend (npm) build, but their SBOM tooling (
cyclonedx-py, CycloneDX Maven plugin) only covers the backend language. This adds a separatecdxgen-generated CycloneDX SBOM for the npm dependencies of each product's frontend, alongside the existing backend SBOM.cdxgen13.x requires Node >= 24, which is newer than the Node versions these products pin for their own frontend builds. Rather than bumping those, each affected Dockerfile installs a second, independent Node under/opt/node-cdxgenused only to runcdxgen, with that directory prepended toPATHfor thecdxgeninvocation.As part of this, opensearch-dashboards (which already generated a frontend SBOM) is migrated from
cdxgen12.0.0 (@cyclonedx/cdxgen) to 13.0.1 (@cdxgen/cdxgen, the package was renamed for13.x), and pins
--spec-version 1.6explicitly, since cdxgen's default spec version changes between releases and 1.6 isthe lowest version cdxgen 13 accepts as a generation target.
We still have some more uncovered JS code in our products (e.g. Trino UI), that will be a separate PR though since this is likely more complicated.
Definition of Done Checklist