Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OSVScanner ¶
type OSVScanner struct {
// contains filtered or unexported fields
}
OSV is a wrapper around the OSV scanner, that invokes the scanner for a specific path
func NewOSVSourceScanner ¶
func NewOSVSourceScanner(lockfiles []string) (OSVScanner, error)
NewOSVSourceScanner returns a scanner that will be executed for the various lockfiles discovered in the repository
func (OSVScanner) Scan ¶
func (o OSVScanner) Scan( ctx context.Context, ) (models.VulnerabilityResults, error)
Scan will invoke the OSV scanner for the various lockfiles registered
Click to show internal directories.
Click to hide internal directories.