Documentation ¶
Index ¶
- func ByCriteria(store vulnerability.Provider, d *distro.Distro, p pkg.Package, ...) ([]match.Match, error)
- func ByPackageCPE(store vulnerability.ProviderByCPE, p pkg.Package, ...) ([]match.Match, error)
- func ByPackageDistro(store vulnerability.ProviderByDistro, d *distro.Distro, p pkg.Package, ...) ([]match.Match, error)
- func ByPackageLanguage(store vulnerability.ProviderByLanguage, p pkg.Package, ...) ([]match.Match, error)
- type CPEParameters
- type CPEResult
- type Criteria
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByCriteria ¶
func ByPackageCPE ¶
func ByPackageCPE(store vulnerability.ProviderByCPE, p pkg.Package, upstreamMatcher match.MatcherType) ([]match.Match, error)
ByPackageCPE retrieves all vulnerabilities that match the generated CPE
func ByPackageDistro ¶
func ByPackageDistro(store vulnerability.ProviderByDistro, d *distro.Distro, p pkg.Package, upstreamMatcher match.MatcherType) ([]match.Match, error)
func ByPackageLanguage ¶
func ByPackageLanguage(store vulnerability.ProviderByLanguage, p pkg.Package, upstreamMatcher match.MatcherType) ([]match.Match, error)
Types ¶
type CPEParameters ¶
func (*CPEParameters) Merge ¶
func (i *CPEParameters) Merge(other CPEParameters) error
Click to show internal directories.
Click to hide internal directories.