Guide · Azure DevOps
Generate an SBOM in Azure DevOps Pipelines
One Azure DevOps configuration: on every release it builds a CycloneDX SBOM of your project with Syft, the open-source SBOM generator, and optionally sends it to SBOM Signal, which watches it for actively exploited vulnerabilities.
1. The configuration
File: azure-pipelines.yml
trigger:
tags:
include:
- '*'
pool:
vmImage: ubuntu-latest
steps:
- script: |
curl -sSfL https://get.anchore.io/syft | sh -s -- -b "$(Agent.TempDirectory)/bin"
"$(Agent.TempDirectory)/bin/syft" dir:. -o cyclonedx-json=sbom.cdx.json
# Optional: send it to SBOM Signal for continuous monitoring
curl --fail-with-body -sS -X POST \
"https://jkinmuggshmnsuwahnfj.supabase.co/functions/v1/sbom-intake?version=$(Build.SourceBranchName)&released_on=`date -u +%F`" \
-H "x-upload-key: ${SBOM_SIGNAL_KEY}" \
-H "Content-Type: application/json" \
--data-binary @sbom.cdx.json
displayName: Build and send the SBOM
env:
SBOM_SIGNAL_KEY: $(SBOM_SIGNAL_KEY)
- publish: sbom.cdx.json
artifact: sbom
- For a tag build,
$(Build.SourceBranchName)is the tag name, used as the version. The date uses backticks because Azure DevOps reserves the$(...)syntax for its own variables.
2. The upload key (only for sending to SBOM Signal)
Create an upload key in the SBOM Signal panel (Connect). The key can only send SBOMs for one product and cannot read anything. Store it as a secret: Pipelines, your pipeline, Edit, Variables, New variable. Name SBOM_SIGNAL_KEY, tick "Keep this value secret". Secret variables are not visible to scripts unless mapped, which the env: block below does.
Without the optional step you still get a CycloneDX SBOM for every release, which is what the CRA documentation will need.
3. Electron or other apps that ship devDependencies
Syft leaves out npm devDependencies by default. If your product ships a package declared there, such as electron, add the environment variable SYFT_JAVASCRIPT_INCLUDE_DEV_DEPENDENCIES=true to the step that runs Syft. See the Electron guide.
Why an SBOM matters for CRA Article 14
Since 11 September 2026, a manufacturer that becomes aware of an actively exploited vulnerability in its product must send an early warning to ENISA within 24 hours and a notification within 72 hours (Regulation (EU) 2024/2847, Art. 14). You can only react in time if you know which components and versions each release contains. That list is the SBOM. From 11 December 2027 an SBOM is also part of the required documentation (Annex I, Part II).
More: the reporting deadlines · what an SBOM is · does the CRA apply to you?
Next
- Check it now: drop the SBOM into the free exploited check to see if anything in it is being attacked today.
- Keep watching every release: SBOM Signal checks every supported version around the clock and alerts you with the deadlines and ENISA drafts ready. See the panel · Free pilot
Not legal advice. Commands checked with Syft 1.57.2 on 28 November 2026.