Scroll to navigation

WOLFICTL-ADVISORY-OSV(1) WOLFICTL-ADVISORY-OSV(1)

NAME

wolfictl-advisory-osv - Build an OSV dataset from Chainguard advisory data

SYNOPSIS

wolfictl advisory osv [flags]

DESCRIPTION

Build an OSV dataset from Chainguard advisory data.

This command reads advisory data from one or more directories containing Chainguard advisory documents, and writes an OSV dataset to a local directory.

Specify directories for advisory repositories using the --advisories-repo-dir flag.

IMPORTANT: For now, the command assumes that the first listed advisory repository is the "Wolfi" repository, and that the rest are not. In the future, we might unify all advisory repositories into a single collection of all advisory documents, and remove the need for multiple advisory repositories.

The user must also specify directories for all package repositories associated with the given advisory data. This is used to make sure the OSV data includes all relevant packages and subpackages.

The output directory for the OSV dataset is specified using the --output flag. This directory must already exist before running the command.

OPTIONS

-a, --advisories-repo-dir=[]
path to the directory(ies) containing Chainguard advisory data

-h, --help[=false]
help for osv

-o, --output=""
path to a local directory in which the OSV dataset will be written

-p, --packages-repo-dir=[]
path to the directory(ies) containing Chainguard package data

OPTIONS INHERITED FROM PARENT COMMANDS

--log-level="WARN"
log level (e.g. debug, info, warn, error)

SEE ALSO

wolfictl-advisory(1)

Auto generated by spf13/cobra