Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Package ¶
type Package struct { Name string `json:"name,omitempty"` Epoch string `json:"epoch,omitempty"` Version string `json:"version,omitempty"` Release string `json:"release,omitempty"` Arch string `json:"arch,omitempty"` Filename string `json:"filename,omitempty"` }
Package has affected package information
type PutInput ¶
type PutInput struct { PlatformName string CveID string Vuln types.VulnerabilityDetail Advisories map[string]types.Advisories // pkg name => advisory Erratum RLSA // for extensibility, not used in trivy-db }
type RLSA ¶
type RLSA struct { ID string `json:"id,omitempty"` Title string `json:"title,omitempty"` Severity string `json:"severity,omitempty"` Description string `json:"description,omitempty"` Packages []Package `json:"packages,omitempty"` References []Reference `json:"references,omitempty"` CveIDs []string `json:"cveids,omitempty"` IssuedDate Date `json:"issued,omitempty"` }
RLSA has detailed data of RLSA
type Reference ¶
type Reference struct { Href string `json:"href,omitempty"` ID string `json:"id,omitempty"` Title string `json:"title,omitempty"` Type string `json:"type,omitempty"` }
Reference has reference information
Click to show internal directories.
Click to hide internal directories.