Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NoPackagesFoundErr = errors.New("no packages found in scan")
NoPackagesFoundErr for when no packages is found during a scan.
View Source
var OnlyUncalledVulnerabilitiesFoundErr = errors.New("only uncalled vulnerabilities found")
View Source
var VulnerabilitiesFoundErr = errors.New("vulnerabilities found")
Functions ¶
func DoScan ¶
func DoScan(actions ScannerActions, r *output.Reporter) (models.VulnerabilityResults, error)
Perform osv scanner action, with optional reporter to output information
func PURLToPackage ¶
func PURLToPackage(purl string) (models.PackageInfo, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.