Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindMatches ¶
func FindMatches(store interface { vulnerability.Provider vulnerability.MetadataProvider match.ExclusionProvider }, release *linux.Release, matchers []Matcher, packages []pkg.Package) match.Matches
Types ¶
type Config ¶ added in v0.35.0
type Config struct { Java java.MatcherConfig Ruby ruby.MatcherConfig Python python.MatcherConfig Dotnet dotnet.MatcherConfig Javascript javascript.MatcherConfig Golang golang.MatcherConfig Stock stock.MatcherConfig }
Config contains values used by individual matcher structs for advanced configuration
type Matcher ¶
type Matcher interface { PackageTypes() []syftPkg.Type Type() match.MatcherType Match(vulnerability.Provider, *distro.Distro, pkg.Package) ([]match.Match, error) }
func NewDefaultMatchers ¶ added in v0.35.0
type Monitor ¶
type Monitor struct { PackagesProcessed progress.Monitorable VulnerabilitiesDiscovered progress.Monitorable Fixed progress.Monitorable BySeverity map[vulnerability.Severity]progress.Monitorable }
Click to show internal directories.
Click to hide internal directories.