Dependency Risk Identification GitHub Workflow

This workflow identifies potential security vulnerabilities in a project's dependencies. It requires a Software Bill of Materials (SBOM) as input to analyze and ensure that all dependencies are secure and up to date.

The dependency-risk-identification workflow accepts the following inputs:

NameDescriptionRequiredDefault Value
asset-nameName of the asset to be scannedYes
api-urlURL of the DevGuard APINohttps://api.devguard.org
sbom-filePath to the SBOM file to be scannedYessbom.json
sbom-artifact-nameName of the SBOM artifact to be downloadedNo"" (empty string)
artifact-nameName of the artifact you are buildingNosource
web-uiURL of the DevGuard Web UI used for linksNohttps://app.devguard.org
fail-on-riskFails if a dependency has this risk level or higher (none, low, medium, high, critical)Nocritical
fail-on-cvssFails if a dependency has this CVSS severity or higher (none, low, medium, high, critical)Nocritical

Required secret:

NameDescriptionRequired
devguard-tokenDevGuard API tokenYes

Template Example

Usage Examples

If you have the SBOM in the repository:

If you have the SBOM in an artifact from a previous job, upload it first:

Have feedback? We want to hear from you!

Fields marked with * are required