Documentation
¶
Index ¶
Constants ¶
View Source
const ( // BulletinURL is the URL where Istio vulnerabilities are published. BulletinURL string = "https://istio.io/latest/news/security/" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IstioCVEData ¶
type IstioCVEData struct { AffectedVersions []VersionRange DisclosureID string DisclosureURL string DisclosureDate string ImpactScore string RelatedString string }
IstioCVEData represents a single CVE in Istio.
func GetVulnsForVersion ¶
func GetVulnsForVersion(version string) ([]IstioCVEData, error)
GetVulnsForVersion returns an array of Istio CVEs matching a given version.
type VersionRange ¶
VersionRange represents the range of vulnerable versions. Versions are represented as integers using the following formula:
major * 100^2 + minor*100^1 + revision*100^0
func (*VersionRange) MatchesVersion ¶
func (vr *VersionRange) MatchesVersion(version uint64) bool
MatchesVersion returns true if the given version is within the range.
Click to show internal directories.
Click to hide internal directories.