Documentation
¶
Index ¶
- Variables
- type AdvAffected
- type Advisory
- type Affected
- type Arch
- type Behaviors
- type Bugzilla
- type Config
- type Criteria
- type Criterion
- type Cve
- type Definition
- type Definitions
- type Epoch
- type Evr
- type Filepath
- type Generator
- type Instance
- type Issued
- type Metadata
- type Name
- type Object
- type Objects
- type OsRelease
- type OvalDefinitions
- type Pattern
- type Reference
- type Release
- type Resolution
- type RpminfoObject
- type RpminfoState
- type RpminfoTest
- type RpmverifyfileObject
- type RpmverifyfileState
- type RpmverifyfileTest
- type SignatureKeyID
- type State
- type States
- type Tests
- type Text
- type Textfilecontent54Object
- type Textfilecontent54State
- type Textfilecontent54Test
- type UnameObject
- type UnameState
- type UnameTest
- type Updated
- type Version
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidRHSAFormat = errors.New("invalid RHSA-ID format") ErrInvalidCVEFormat = errors.New("invalid CVE-ID format") )
Functions ¶
This section is empty.
Types ¶
type AdvAffected ¶
type AdvAffected struct {
Resolution Resolution `xml:"resolution" json:",omitempty"`
}
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"`
Cves []Cve `xml:"cve" json:",omitempty"`
Bugzilla []Bugzilla `xml:"bugzilla" json:",omitempty"`
AffectedCpeList []string `xml:"affected_cpe_list>cpe" json:",omitempty"`
Affected AdvAffected `xml:"affected" json:",omitempty"`
}
type Behaviors ¶
type Behaviors struct {
Text string `xml:",chardata" json:",omitempty"`
Noconfigfiles string `xml:"noconfigfiles,attr" json:",omitempty"`
Noghostfiles string `xml:"noghostfiles,attr" json:",omitempty"`
Nogroup string `xml:"nogroup,attr" json:",omitempty"`
Nolinkto string `xml:"nolinkto,attr" json:",omitempty"`
Nomd5 string `xml:"nomd5,attr" json:",omitempty"`
Nomode string `xml:"nomode,attr" json:",omitempty"`
Nomtime string `xml:"nomtime,attr" json:",omitempty"`
Nordev string `xml:"nordev,attr" json:",omitempty"`
Nosize string `xml:"nosize,attr" json:",omitempty"`
Nouser string `xml:"nouser,attr" json:",omitempty"`
}
type Config ¶
type Cve ¶
type Cve struct {
CveID string `xml:",chardata" json:",omitempty"`
Cvss2 string `xml:"cvss2,attr" json:",omitempty"`
Cvss3 string `xml:"cvss3,attr" json:",omitempty"`
Cwe string `xml:"cwe,attr" json:",omitempty"`
Impact string `xml:"impact,attr" json:",omitempty"`
Href string `xml:"href,attr" json:",omitempty"`
Public string `xml:"public,attr" json:",omitempty"`
}
type Definition ¶
type Definitions ¶
type Definitions struct {
Definition []Definition `xml:"definition" json:",omitempty"`
}
type Objects ¶
type Objects struct {
RpminfoObjects []RpminfoObject `xml:"rpminfo_object" json:",omitempty"`
RpmverifyfileObjects []RpmverifyfileObject `xml:"rpmverifyfile_object" json:",omitempty"`
Textfilecontent54Objects []Textfilecontent54Object `xml:"textfilecontent54_object" json:",omitempty"`
UnameObjects []UnameObject `xml:"uname_object" json:",omitempty"`
}
type OvalDefinitions ¶
type Resolution ¶
type Resolution struct {
State string `xml:"state,attr" json:",omitempty"`
}
type RpminfoObject ¶
type RpminfoState ¶
type RpminfoState struct {
ID string `xml:"id,attr" json:",omitempty"`
Version string `xml:"version,attr" json:",omitempty"`
Arch Arch `xml:"arch" json:",omitempty"`
Evr Evr `xml:"evr" json:",omitempty"`
SignatureKeyID SignatureKeyID `xml:"signature_keyid" json:",omitempty"`
}
type RpminfoTest ¶
type RpminfoTest struct {
Check string `xml:"check,attr" json:",omitempty"`
Comment string `xml:"comment,attr" json:",omitempty"`
ID string `xml:"id,attr" json:",omitempty"`
Version string `xml:"version,attr" json:",omitempty"`
CheckExistence string `xml:"check_existence,attr" json:",omitempty"`
Object Object `xml:"object" json:",omitempty"`
State State `xml:"state" json:",omitempty"`
}
type RpmverifyfileObject ¶
type RpmverifyfileObject struct {
ID string `xml:"id,attr" json:",omitempty"`
AttrVersion string `xml:"version,attr" json:",omitempty"`
Behaviors Behaviors `xml:"behaviors" json:",omitempty"`
Filepath Filepath `xml:"filepath" json:",omitempty"`
Name Name `xml:"name" json:",omitempty"`
Version Version `xml:"version" json:",omitempty"`
Epoch Epoch `xml:"epoch" json:",omitempty"`
Arch Arch `xml:"arch" json:",omitempty"`
Release Release `xml:"release" json:",omitempty"`
}
type RpmverifyfileState ¶
type RpmverifyfileTest ¶
type RpmverifyfileTest struct {
Check string `xml:"check,attr" json:",omitempty"`
Comment string `xml:"comment,attr" json:",omitempty"`
ID string `xml:"id,attr" json:",omitempty"`
Version string `xml:"version,attr" json:",omitempty"`
Object Object `xml:"object" json:",omitempty"`
State State `xml:"state" json:",omitempty"`
}
type SignatureKeyID ¶
type States ¶
type States struct {
RpminfoState []RpminfoState `xml:"rpminfo_state" json:",omitempty"`
RpmverifyfileStates []RpmverifyfileState `xml:"rpmverifyfile_state" json:",omitempty"`
Textfilecontent54State []Textfilecontent54State `xml:"textfilecontent54_state" json:",omitempty"`
UnameState []UnameState `xml:"uname_state" json:",omitempty"`
}
type Tests ¶
type Tests struct {
RpminfoTests []RpminfoTest `xml:"rpminfo_test" json:",omitempty"`
RpmverifyfileTests []RpmverifyfileTest `xml:"rpmverifyfile_test" json:",omitempty"`
Textfilecontent54Tests []Textfilecontent54Test `xml:"textfilecontent54_test" json:",omitempty"`
UnameTests []UnameTest `xml:"uname_test" json:",omitempty"`
}
type Textfilecontent54Object ¶
type Textfilecontent54State ¶
type Textfilecontent54Test ¶
type Textfilecontent54Test struct {
Check string `xml:"check,attr" json:",omitempty"`
Comment string `xml:"comment,attr" json:",omitempty"`
ID string `xml:"id,attr" json:",omitempty"`
Version string `xml:"version,attr" json:",omitempty"`
Object Object `xml:"object" json:",omitempty"`
State State `xml:"state" json:",omitempty"`
}
type UnameObject ¶
type UnameState ¶
type UnameTest ¶
type UnameTest struct {
Check string `xml:"check,attr" json:",omitempty"`
Comment string `xml:"comment,attr" json:",omitempty"`
ID string `xml:"id,attr" json:",omitempty"`
Version string `xml:"version,attr" json:",omitempty"`
Object Object `xml:"object" json:",omitempty"`
State State `xml:"state" json:",omitempty"`
}
Click to show internal directories.
Click to hide internal directories.