Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PredicateType = attestation.PredicateType("https://trivy.dev/report")
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct{}
func (*Parser) SupportsType ¶
func (*Parser) SupportsType(predTypes ...attestation.PredicateType) bool
type Result ¶
type Result struct {
Vulnerabilities []*Vulnerability `json:"Vulnerabilities"`
}
type TrivyReport ¶
type Vulnerability ¶
type Vulnerability struct {
VulnerabilityID string `json:"VulnerabilityID"`
PkgName string `json:"PkgName"`
InstalledVersion string `json:"InstalledVersion"`
FixedVersion string `json:"FixedVersion"`
PkgIdentifier map[string]string `json:"PkgIdentifier"`
CVSS map[string]CVSS `json:"CVSS"`
Title string `json:"Title"`
Description string `json:"Description"`
Severity string `json:"Severity"` // "CRITICAL"
CweIDs []string `json:"CweIDs"`
References []string `json:"References"`
PublishedDate *time.Time `json:"PublishedDate"`
LastModifiedDate *time.Time `json:"LastModifiedDate"`
}
Click to show internal directories.
Click to hide internal directories.