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 ¶ added in v0.42.0
func Detect(_, osFamily, osName string, repo *ftypes.Repository, _ time.Time, pkgs []ftypes.Package) ([]types.DetectedVulnerability, bool, error)
Detect detects the vulnerabilities
func RegisterDriver ¶ added in v0.23.0
RegisterDriver is defined for extensibility and not supposed to be used in Trivy.
Types ¶
Click to show internal directories.
Click to hide internal directories.