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 ¶
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 ¶
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.