Add Phase 1 SBOM pipeline (Syft + Grype) - #23
Merged
Merged
Conversation
thst-nordic
force-pushed
the
feature/sbom-phase1
branch
from
July 27, 2026 12:17
2299ff9 to
b4ab6d6
Compare
Syft generates full-workspace and per-west-project SPDX and CycloneDX SBOMs on main branch pushes. Grype produces CVE reports published as separate CycloneDX and SPDX zip artifacts plus a full sbom/ bundle.
thst-nordic
force-pushed
the
feature/sbom-phase1
branch
from
July 27, 2026 12:58
b4ab6d6 to
63204ba
Compare
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.
Summary
ncs-sbom-{version}-{sha}) per runGRYPE_FAIL_GATE: false); fail gate available viaworkflow_dispatchinputwest ncs-sbomlicense SPDX for reference blinky sampleFiles
.github/workflows/sbom.yml— main pipeline (main branch + workflow_dispatch).grype.yaml— Grype ignore rules for blobs, build output, test harnessesscripts/sbom/scan-projects.sh— per-west-project Syft loopscripts/sbom/annotate.sh— inject west revisions into CycloneDXscripts/sbom/upload-dtrack.sh— DT component hierarchy (optional, requires secrets)Phase 0 (Dependency-Track docker-compose) is handled separately.
Test plan
workflow_dispatchon this branch (or after merge to main)ncs-sbom-v*-*contains fullsbom/tree (manifest, SPDX, CycloneDX, Grype reports, per-project SBOMs, license-blinky.spdx)DTRACK_*secretsDTRACK_URLandDTRACK_API_KEYsecrets and verify DT upload steps run