https://github.com/rhyskoedijk/sbom-azure-devops
🛠️ Tool for generating SPDX 2.2/2.3 SBOMs from Azure DevOps repository artifacts using https://github.com/microsoft/sbom-tool
https://github.com/rhyskoedijk/sbom-azure-devops
azure-devops-extension inventory report risk sbom sbom-generator sbom-tool security-vulnerability-assessment software-bill-of-materials spdx supply-chain
Last synced: 5 months ago
JSON representation
🛠️ Tool for generating SPDX 2.2/2.3 SBOMs from Azure DevOps repository artifacts using https://github.com/microsoft/sbom-tool
- Host: GitHub
- URL: https://github.com/rhyskoedijk/sbom-azure-devops
- Owner: rhyskoedijk
- License: mit
- Created: 2024-10-28T03:15:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-12-19T17:05:47.000Z (6 months ago)
- Last Synced: 2025-12-21T08:53:24.172Z (6 months ago)
- Topics: azure-devops-extension, inventory, report, risk, sbom, sbom-generator, sbom-tool, security-vulnerability-assessment, software-bill-of-materials, spdx, supply-chain
- Language: TypeScript
- Homepage:
- Size: 3.04 MB
- Stars: 17
- Watchers: 1
- Forks: 6
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SBOM Tool Azure DevOps Extension
Unofficial Azure DevOps extension for [microsoft/sbom-tool](https://github.com/microsoft/sbom-tool). Sbom-tool runs locally on your pipeline agent without the need for subscriptions, account sign-ups, or shipping your data to a third-party service; All generated manifest files are published directly to your build artifacts and can be viewed in a human-friendly format from the "SBOM" build result tab.
Check referenced packages for known vulnerabilities against the [GitHub Advisory Database](https://github.com/advisories).

View referenced packages, including the package manager, type, dependency hierarchy, license, supplier, and vulnerability counts:

View manifest relationships as a network graph or export to SVG.

Export manifest objects to XLSX workbook.

## Install
Install the extension from the [Visual Studio marketplace](https://marketplace.visualstudio.com/items?itemName=rhyskoedijk.sbom-tool).
## Usage
In YAML pipelines:
```yaml
jobs:
- job: publish
steps:
- task: DotNetCoreCLI@2
displayName: 'Publish project'
inputs:
command: 'publish'
publishWebProjects: true
arguments: '--output "$(Build.ArtifactStagingDirectory)"'
- task: sbom-tool@1
displayName: 'Generate project SBOM manifest'
inputs:
command: 'generate'
buildSourcePath: '$(Build.SourcesDirectory)'
buildArtifactPath: '$(Build.ArtifactStagingDirectory)'
enableManifestSpreadsheetGeneration: true
enableManifestGraphGeneration: true
enablePackageMetadataParsing: true
fetchLicenseInformation: true
fetchSecurityAdvisories: true
gitHubConnection: 'GitHub Advisory Database Connection'
packageSupplier: 'MyOrganisation'
packageName: 'MyPackage'
packageVersion: '$(Build.BuildNumber)'
- task: PublishBuildArtifacts@1
displayName: 'Publish artifacts'
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'drop'
publishLocation: 'Container'
```
The SBOM manifest files will be uploaded to the build artifacts, under the `_manifest` folder.

## Advanced
- [`rhyskoedijk/sbom-azure-devops` GitHub project](https://github.com/rhyskoedijk/sbom-azure-devops)
- [`microsoft/sbom-tool` GitHub project](https://github.com/microsoft/sbom-tool)
- [SPDX Online Tool](https://tools.spdx.org/app/)