Documentation ¶
Index ¶
Constants ¶
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
Click to show internal directories.
Click to hide internal directories.