Documentation ¶
Index ¶
- Variables
- func ByCriteria(store v5.VulnerabilityProvider, d *distro.Distro, p pkg.Package, ...) ([]match.Match, error)
- func ByPackageCPE(store v5.ProviderByCPE, d *distro.Distro, p pkg.Package, ...) ([]match.Match, error)
- func ByPackageDistro(store v5.ProviderByDistro, d *distro.Distro, p pkg.Package, ...) ([]match.Match, error)
- func ByPackageLanguage(store v5.ProviderByLanguage, d *distro.Distro, p pkg.Package, ...) ([]match.Match, error)
- type CPEPackageParameter
- type CPEParameters
- type CPEResult
- type Criteria
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptyCPEMatch = errors.New("attempted CPE match against package with no CPEs")
Functions ¶
func ByCriteria ¶
func ByPackageCPE ¶
func ByPackageCPE(store v5.ProviderByCPE, d *distro.Distro, p pkg.Package, upstreamMatcher match.MatcherType) ([]match.Match, error)
ByPackageCPE retrieves all vulnerabilities that match the generated CPE
func ByPackageDistro ¶
func ByPackageLanguage ¶
Types ¶
type CPEPackageParameter ¶
type CPEParameters ¶
type CPEParameters struct { Namespace string `json:"namespace"` CPEs []string `json:"cpes"` Package CPEPackageParameter `json:"package"` }
func (*CPEParameters) Merge ¶
func (i *CPEParameters) Merge(other CPEParameters) error
Click to show internal directories.
Click to hide internal directories.