Skip to content

[WIP] deps: Generate a CycloneDX SBOM (test) - #49470

Draft
phlax wants to merge 1 commit into
envoyproxy:mainfrom
phlax:sbom-test
Draft

phlax wants to merge 1 commit into
envoyproxy:mainfrom
phlax:sbom-test

Conversation

@phlax

@phlax phlax commented Nov 19, 2026

Copy link
Copy Markdown
Member

Test only, not for landing. Tries SBOM generation (envoyproxy/toolshed#5638, pinned from a fork) against Envoy's real dependency data, towards #49459.

  • MODULE.bazel: git_override of envoy_toolshed and envoy_toolshed_jq to the fork commit, with the root lockfile regenerated.
  • //tools/dependency:sbom: a CycloneDX 1.5 SBOM of the dependencies built into Envoy with all of its extensions: those that :dep-reachability reaches in production, with what bazel/deps.yaml and the module graph say of them.
  • ci/do_ci.sh deps: builds it and prints a summary (how many components, and how many have a CPE, an SPDX license, a digest, a GitHub or generic package URL) and the component list, so that the result can be read from the deps job's log.

The real change would add the SBOM to the release bundle and not print it in CI.

@repokitteh-read-only

Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #49470 was opened by phlax.

see: more, trace.

@phlax
phlax force-pushed the sbom-test branch 2 times, most recently from 5248a40 to f6584ed Compare November 19, 2026 18:51
Test only: uses envoyproxy/toolshed#5638 from the fork.

Adds `//tools/dependency:sbom`, a CycloneDX SBOM of the dependencies built into
Envoy (those that `:dep-reachability` reaches in production), and prints a
summary of it in the `deps` CI job.

Signed-off-by: Ryan Northey <ryan@synca.io>

This branch has not been deployed

No deployments
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