osv

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2026 License: Apache-2.0 Imports: 19 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	URI          string = "osv.dev"
	VERSION      string = "0.0.14"
	INVOC_URI    string = "guac"
	PRODUCER_ID  string = "guacsec/guac"
	OSVCollector string = "osv_certifier"
)

Variables

View Source
var ErrOSVComponenetTypeMismatch error = errors.New("rootComponent type is not []*root_package.PackageNode")

Functions

func EvaluateOSVResponse added in v0.8.2

func EvaluateOSVResponse(ctx context.Context, client *http.Client, purls []string, docChannel chan<- *processor.Document, withVulnerabilityMetadata bool) ([]*processor.Document, error)

EvaluateOSVResponse takes a list of purls and batch queries OSV for vulnerability information

func NewOSVCertificationParser

func NewOSVCertificationParser(opts ...CertifierOpts) certifier.Certifier

NewOSVCertificationParser initializes the OSVCertifier

Types

type CertifierOpts added in v0.12.0

type CertifierOpts func(*osvCertifier)

func WithVulnerabilityMetadata added in v0.12.0

func WithVulnerabilityMetadata() CertifierOpts

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL