Documentation
¶
Index ¶
- func CompareVersions(a string, b string) (int, error)
- func CompareVersionsByUint64(a, b string) (int, error)
- func GetUint64FromVersion(version string) (uint64, error)
- func IsParseableVersion(a string) bool
- func Process(cpe *CPE, entries []CPEVulnerabilities) ([]string, error)
- func RemoveCVEEntries(b []string, x []string) []string
- func RemoveCVEEntry(b []string, xv string) []string
- func RemoveDuplicatesUnordered(elements []string) []string
- func Unquote(b string) string
- type CPE
- type CPEVulnerabilities
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareVersionsByUint64 ¶
func GetUint64FromVersion ¶
GetUint64FromVersion attempts to map period separated numeric version string to a uint64. Needs testing.
func IsParseableVersion ¶
func RemoveCVEEntries ¶
func RemoveCVEEntry ¶
Types ¶
type CPE ¶
type CPE struct { Part string `json:"part"` Vendor string `json:"vendor"` Product string `json:"product"` Version string `json:"version"` Update string `json:"update"` Edition string `json:"edition"` Language string `json:"language"` SoftwareEdition string `json:"sw_edition"` TargetSoftware string `json:"target_sw"` TargetHardware string `json:"target_hw"` Other string `json:"other"` }
type CPEVulnerabilities ¶
Click to show internal directories.
Click to hide internal directories.