Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrUnsupportedOS defines error for unsupported OS ErrUnsupportedOS = xerrors.New("unsupported os") )
Functions ¶
func Detect ¶
func Detect(_, osFamily, osName string, repo *ftypes.Repository, _ time.Time, pkgs []ftypes.Package) ([]types.DetectedVulnerability, bool, error)
Detect detects the vulnerabilities
func RegisterDriver ¶
RegisterDriver is defined for extensibility and not supposed to be used in Trivy.
Types ¶
Click to show internal directories.
Click to hide internal directories.