Guide · .NET
SBOM for .NET applications
The published output of a .NET app records exactly which NuGet packages it runs with.
Make the SBOM
# from the publish folder (reads *.deps.json) dotnet publish -c Release -o out syft dir:out -o cyclonedx-json=sbom.cdx.json
Syft reads *.deps.json in the published output and packages.lock.json. To get a lockfile in the repository, set <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile> in your project file.
Every release, automatically
Build the SBOM in your CI on every release: GitHub Actions · GitLab CI · Bitbucket Pipelines · Azure DevOps.
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.