Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CombinedOut ¶ added in v0.15.0
CombinedOut represents the output of multiple Trivy runs (useful when using the Trivy Dracon tool to scan multiple images); the key is the name of the image file that was scanned
type TrivyCVSS ¶
type TrivyCVSS struct {
Nvd TrivyNvd `json:"nvd"`
}
TrivyCVSS wraps Trivy CVSS info struct
type TrivyOut ¶
type TrivyOut struct {
Vulnerable []TrivyVulnerability `json:"Vulnerabilities"`
Target string
Type string
}
TrivyOut represents the output of a trivy run that we care about
type TrivyVulnerability ¶
type TrivyVulnerability struct {
CVE string `json:"VulnerabilityID"`
PkgName string `json:"PkgName"`
InstalledVersion string `json:"InstalledVersion"`
FixedVersion string `json:"FixedVersion"`
PrimaryURL string `json:"PrimaryURL"`
Title string `json:"Title"`
Description string `json:"Description"`
Severity string `json:"Severity"`
CweIDs []string `json:"CweIds"`
CVSS TrivyCVSS `json:"CVSS"`
}
TrivyVulnerability represents a trivy vulnerability section with only the fields that we care about
Click to show internal directories.
Click to hide internal directories.