crash.software
Projects
Pull Requests
Issues
Builds
grype
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
grype
Files
🤬
Sign In
d34b2819
ROOT
/
grype
/
search
/
cpe.go
Search
History
242 lines
|
ISO-8859-1
|
7 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
CPEParameters
Namespace
:
string
CPEs
:
[]string
CPEResult
VulnerabilityID
:
string
VersionConstraint
:
string
CPEs
:
[]string
Equals
(other CPEResult)
:
bool
alpineCPEComparableVersion
(version string)
:
string
ByPackageCPE
(store vulnerability.ProviderByCPE, d *distro.Distro, p pkg.Package, upstreamMatcher match.MatcherType)
:
([]match.Match, error)
addNewMatch
(matchesByFingerprint map[match.Fingerprint]match.Match, vuln vulnerability.Vulnerability, p pkg.Package, searchVersion version.Version, upstreamMatcher match.MatcherType, searchedByCPE cpe.CPE)
addMatchDetails
(existingDetails []match.Detail, newDetails match.Detail)
:
[]match.Detail
filterCPEsByVersion
(pkgVersion version.Version, allCPEs []cpe.CPE)
:
(matchedCPEs []cpe.CPE)
toMatches
(matchesByFingerprint map[match.Fingerprint]match.Match)
:
(matches []match.Match)
cpesToString
(cpes []cpe.CPE)
:
[]string
*CPEParameters
Merge
(other CPEParameters)
:
error
All occurrences
Please wait...
Page is in error, reload to recover