Documentation ¶
Index ¶
- func FindMatchesByPackageCPE(store vulnerability.ProviderByCPE, p pkg.Package, ...) ([]match.Match, error)
- func FindMatchesByPackageDistro(store vulnerability.ProviderByDistro, d *distro.Distro, p pkg.Package, ...) ([]match.Match, error)
- func FindMatchesByPackageLanguage(store vulnerability.ProviderByLanguage, l syftPkg.Language, p pkg.Package, ...) ([]match.Match, error)
- type FoundCPEs
- type SearchedByCPEs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindMatchesByPackageCPE ¶
func FindMatchesByPackageCPE(store vulnerability.ProviderByCPE, p pkg.Package, upstreamMatcher match.MatcherType) ([]match.Match, error)
FindMatchesByPackageCPE retrieves all vulnerabilities that match the generated CPE
func FindMatchesByPackageDistro ¶
func FindMatchesByPackageDistro(store vulnerability.ProviderByDistro, d *distro.Distro, p pkg.Package, upstreamMatcher match.MatcherType) ([]match.Match, error)
func FindMatchesByPackageLanguage ¶
func FindMatchesByPackageLanguage(store vulnerability.ProviderByLanguage, l syftPkg.Language, p pkg.Package, upstreamMatcher match.MatcherType) ([]match.Match, error)
Types ¶
type FoundCPEs ¶ added in v0.13.0
type SearchedByCPEs ¶ added in v0.13.0
func (*SearchedByCPEs) Merge ¶ added in v0.13.0
func (i *SearchedByCPEs) Merge(other SearchedByCPEs) error
Click to show internal directories.
Click to hide internal directories.