Documentation ¶
Index ¶
- type Advisory
- type AdvisorySpecial
- type Affected
- type AffectedCpeList
- type Arch
- type Bugzilla
- type CVE
- type Criteria
- type Criterion
- type CveEntry
- type CveVendor
- type Definition
- type DefinitionSpecial
- type Definitions
- type Entry
- type Evr
- type Filepath
- type Instance
- type Issued
- type Metadata
- type Name
- type Object
- type Objects
- type Path
- type Pattern
- type Reference
- type RpmInfoObject
- type RpmInfoState
- type RpmInfoTest
- type RpmInfoTestSpecial
- type State
- type States
- type Subexpression
- type Tests
- type Text
- type TextFileContent54Object
- type TextFileContent54State
- type TextFileContent54Test
- type Updated
- type Version
- type VulnSrc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advisory ¶
type Advisory struct { From string `xml:"from,attr" json:",omitempty"` Severity string `xml:"severity" json:",omitempty"` Rights string `xml:"rights" json:",omitempty"` Issued Issued `xml:"issued" json:",omitempty"` Updated Updated `xml:"updated" json:",omitempty"` BDUs []CVE `xml:"bdu" json:"bdu"` Cves []CVE `xml:"cve" json:",omitempty"` Bugzilla []Bugzilla `xml:"bugzilla" json:",omitempty"` AffectedCpeList AffectedCpeList `xml:"affected_cpe_list" json:",omitempty"` }
type AdvisorySpecial ¶
type AdvisorySpecial struct {
Entries []Entry `json:",omitempty"`
}
type AffectedCpeList ¶
type AffectedCpeList struct {
Cpe []string `xml:"cpe" json:",omitempty"`
}
type CVE ¶
type CVE struct { Cvss string `xml:"cvss,attr" json:",omitempty"` Cvss3 string `xml:"cvss3,attr" json:",omitempty"` Cwe string `xml:"cwe,attr" json:",omitempty"` Href string `xml:"href,attr" json:",omitempty"` Impact string `xml:"impact,attr" json:",omitempty"` Public string `xml:"public,attr" json:",omitempty"` CveID string `xml:",chardata" json:",omitempty"` }
type Definition ¶
type DefinitionSpecial ¶
type DefinitionSpecial struct {
Entry Entry `json:",omitempty"`
}
type Definitions ¶
type Definitions struct {
Definition []Definition `xml:"definition" json:",omitempty"`
}
type Objects ¶
type Objects struct { TextFileContent54Objects []TextFileContent54Object `xml:"textfilecontent54_object" json:",omitempty"` RpmInfoObjects []RpmInfoObject `xml:"rpminfo_object" json:",omitempty"` }
type RpmInfoObject ¶
type RpmInfoState ¶
type RpmInfoState struct { ID string `xml:"id,attr" json:",omitempty"` Version string `xml:"version,attr" json:",omitempty"` Comment string `xml:"comment,attr" json:",omitempty"` Arch Arch `xml:"arch" json:",omitempty"` Evr Evr `xml:"evr" json:",omitempty"` Subexpression Subexpression `xml:"subexpression" json:",omitempty"` }
type RpmInfoTest ¶
type RpmInfoTest struct { ID string `xml:"id,attr" json:",omitempty"` Version string `xml:"version,attr" json:",omitempty"` Check string `xml:"check,attr" json:",omitempty"` Comment string `xml:"comment,attr" json:",omitempty"` Object Object `xml:"object" json:",omitempty"` State State `xml:"state" json:",omitempty"` }
type RpmInfoTestSpecial ¶
type States ¶
type States struct { TextFileContent54State []TextFileContent54State `xml:"textfilecontent54_state" json:",omitempty"` RpmInfoState []RpmInfoState `xml:"rpminfo_state" json:",omitempty"` }
type Subexpression ¶
type Tests ¶
type Tests struct { TextFileContent54Tests []TextFileContent54Test `xml:"textfilecontent54_test" json:",omitempty"` RPMInfoTests []RpmInfoTest `xml:"rpminfo_test" json:",omitempty"` }
type TextFileContent54Object ¶
type TextFileContent54Object struct { ID string `xml:"id,attr" json:",omitempty"` Version string `xml:"version,attr" json:",omitempty"` Comment string `xml:"comment,attr" json:"comment"` Path Path `xml:"path" json:",omitempty"` Filepath Filepath `xml:"filepath" json:",omitempty"` Pattern Pattern `xml:"pattern" json:",omitempty"` Instance Instance `xml:"instance" json:",omitempty"` }
type TextFileContent54State ¶
type TextFileContent54Test ¶
type TextFileContent54Test struct { ID string `xml:"id,attr" json:",omitempty"` Version string `xml:"version,attr" json:",omitempty"` Check string `xml:"check,attr" json:",omitempty"` Comment string `xml:"comment,attr" json:",omitempty"` Object Object `xml:"object" json:",omitempty"` State State `xml:"state" json:",omitempty"` }
type VulnSrc ¶
type VulnSrc struct {
// contains filtered or unexported fields
}
func NewVulnSrc ¶
func NewVulnSrc() VulnSrc
Click to show internal directories.
Click to hide internal directories.