Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AffectedPackage ¶
type Distribution ¶
type Distribution int
const ( SUSEEnterpriseLinux Distribution = iota OpenSUSE OpenSUSETumbleweed )
type DocumentNote ¶
type DocumentTracking ¶
type ProductTree ¶
type ProductTree struct {
Relationships []Relationship `xml:"Relationship"`
}
type Relationship ¶
type SuseCvrf ¶
type SuseCvrf struct {
Title string `xml:"DocumentTitle"`
Tracking DocumentTracking `xml:"DocumentTracking"`
Notes []DocumentNote `xml:"DocumentNotes>Note"`
ProductTree ProductTree `xml:"ProductTree"`
References []Reference `xml:"DocumentReferences>Reference"`
Vulnerabilities []Vulnerability `xml:"Vulnerability"`
}
type VulnSrc ¶
type VulnSrc struct {
// contains filtered or unexported fields
}
func NewVulnSrc ¶
func NewVulnSrc(dist Distribution) VulnSrc
type Vulnerability ¶
type Vulnerability struct {
CVE string `xml:"CVE"`
Description string `xml:"Notes>Note"`
Threats []Threat `xml:"Threats>Threat"`
References []Reference `xml:"References>Reference"`
ProductStatuses []Status `xml:"ProductStatuses>Status"`
CVSSScoreSets ScoreSet `xml:"CVSSScoreSets>ScoreSet" json:",omitempty"`
}
Click to show internal directories.
Click to hide internal directories.