Code Risk Identification Gitlab Component

This workflow identifies potential security vulnerabilities in your codebase. It requires a sarif file as input to analyze and ensure that all code is secure and up to date.

The code-risk-identification component accepts the following inputs:

NameDescriptionRequiredDefault Value
api_urlThe DevGuard API URLNohttps://api.devguard.org
asset_nameName of the asset to scanYes
tokenAPI token for authenticating with DevGuardYes
scan_stageThe stage where the scan is runNotest
runner_tagsThe runner tags used to select appropriate CI runners.No""
sarif_fileThe SBOM file to use for the scanNotest
needsThe jobs that this job depends onNo""
dependenciesSpecifies the jobs whose artifacts this job relies onNo""

Usage Examples:

If you have the sarif in the repository:

if you have the sarif in an artifact from a previous job:

Have feedback? We want to hear from you!

Fields marked with * are required