Versions in this module Expand all Collapse all v0 v0.0.10 May 7, 2024 Changes in this version type Definitions + func (d *Definitions) Lookup(ref string) int v0.0.9 May 6, 2024 Changes in this version type Criteria + ExtendDefinition Extension + type Extension struct + ApplicabilityCheck bool + Comment string + RefID string v0.0.8 Mar 23, 2023 v0.0.7 Mar 23, 2023 Changes in this version type States + RPMVerifyFileState []RPMVerifyFileState v0.0.6 Mar 23, 2023 Changes in this version + type Name struct + Body string + Operation Operation + XMLName xml.Name + type RPMVerifyFileState struct + Arch *Arch + EVR *EVR + Epoch *Epoch + ID string + Name *Name + RPMVersion *Version + Release *Release + SignatureKeyID *RPMSignatureKeyID + Version int + XMLName xml.Name v0.0.5 Nov 2, 2022 Changes in this version + type Text struct + Operation string + Pattern string type TextfileContent54State + Text Text v0.0.4 Jul 29, 2022 Changes in this version type Debian + Dsa string type States + TextfileContent54States []TextfileContent54State + type Subexpression struct + Operation string + SubExpression string + XMLName xml.Name + type TextfileContent54State struct + ID string + Subexpression Subexpression + Version int + XMLName xml.Name v0.0.2 Jul 28, 2022 Changes in this version + type Advisory struct + AffectedCPEList []string + Bugs []Bug + Bugzillas []Bugzilla + Cves []Cve + Issued Date + PublicDate Date + Refs []Ref + Severity string + Updated Date + XMLName xml.Name + type Affected struct + Family string + Platforms []string + XMLName xml.Name + type Arch struct + Body string + Operation Operation + XMLName xml.Name + type Bug struct + URL string + XMLName xml.Name + type Bugzilla struct + ID string + Title string + URL string + XMLName xml.Name + type ConfigLine struct + Body string + Operation string + XMLName xml.Name + type ConstantVariable struct + Comment string + Datatype string + ID string + Values []Value + Version string + XMLName xml.Name + type Criteria struct + Criterias []Criteria + Criterions []Criterion + Operator string + XMLName xml.Name + type Criterion struct + Comment string + Negate bool + TestRef string + XMLName xml.Name + type Cve struct + CveID string + Cvss2 string + Cvss3 string + Cwe string + Href string + Impact string + Public string + XMLName xml.Name + type Date struct + Date time.Time + func (d *Date) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) error + func (d *Date) UnmarshalXMLAttr(attr xml.Attr) error + type Debian struct + Date Date + MoreInfo string + XMLName xml.Name + type Definition struct + Advisory Advisory + Affecteds []Affected + Class string + Criteria Criteria + Debian Debian + Description string + ID string + References []Reference + Title string + XMLName xml.Name + type Definitions struct + Definitions []Definition + XMLName xml.Name + type DpkgInfoObject struct + ID string + Name *DpkgName + Version int + XMLName xml.Name + type DpkgInfoState struct + Arch *Arch + DpkgVersion *Version + EVR *EVR + Epoch *Epoch + ID string + Release *Release + Version int + XMLName xml.Name + type DpkgInfoTest struct + Check string + Comment string + ID string + Version int + XMLName xml.Name + func (t *DpkgInfoTest) ObjectRef() []ObjectRef + func (t *DpkgInfoTest) StateRef() []StateRef + type DpkgName struct + Body string + Ref string + XMLName xml.Name + type EVR struct + Body string + Operation Operation + XMLName xml.Name + type Epoch struct + Body string + Operation Operation + XMLName xml.Name + type ErrNotFound string + func (e ErrNotFound) Error() string + type Generator struct + ProductName string + ProductVersion string + SchemaVersion string + Timestamp string + XMLName xml.Name + type ID struct + Namespace string + Type IDType + Value int64 + func ParseID(ref string) (*ID, error) + func (id *ID) UnmarshalText(data []byte) error + func (id ID) String() string + type IDType int + const OvalDefinition + const OvalObject + const OvalState + const OvalTest + const OvalVariable + func (i *IDType) UnmarshalText(data []byte) error + func (i IDType) String() string + type LineObject struct + ID string + ShowSubcommands []string + XMLName xml.Name + type LineState struct + ConfigLine ConfigLine + ID string + ShowSubcommand string + XMLName xml.Name + type LineTest struct + Comment string + ID string + StateOperator string + XMLName xml.Name + func (t *LineTest) ObjectRef() []ObjectRef + func (t *LineTest) StateRef() []StateRef + type ObjectRef struct + ObjectRef string + XMLName xml.Name + type Objects struct + DpkgInfoObjects []DpkgInfoObject + LineObjects []LineObject + RPMInfoObjects []RPMInfoObject + RPMVerifyFileObjects []RPMVerifyFileObject + TextfileContent54Objects []TextfileContent54Object + Version55Objects []Version55Object + XMLName xml.Name + func (o *Objects) Lookup(ref string) (kind string, index int, err error) + type Operation int + const OpBitwiseAnd + const OpBitwiseOr + const OpCaseInsensitiveEquals + const OpCaseInsensitiveNotEquals + const OpEquals + const OpGreaterThan + const OpGreaterThanOrEqual + const OpLessThan + const OpLessThanOrEqual + const OpNotEquals + const OpPatternMatch + const OpSubset + const OpSuperset + func (i Operation) String() string + func (o *Operation) UnmarshalText(text []byte) error + type RPMInfoObject struct + ID string + Name string + Version int + XMLName xml.Name + type RPMInfoState struct + Arch *Arch + EVR *EVR + Epoch *Epoch + ID string + RPMVersion *Version + Release *Release + SignatureKeyID *RPMSignatureKeyID + Version int + XMLName xml.Name + type RPMInfoTest struct + Check string + Comment string + ID string + Version int + XMLName xml.Name + func (t *RPMInfoTest) ObjectRef() []ObjectRef + func (t *RPMInfoTest) StateRef() []StateRef + type RPMSignatureKeyID struct + Body string + Operation Operation + XMLName xml.Name + type RPMVerifyFileObject struct + Arch VerifyFileOp + Behaviors VerifyFileBehaviors + Epoch VerifyFileOp + Filepath string + ID string + Name VerifyFileOp + RPMVersion VerifyFileOp + Release VerifyFileOp + Version int + XMLName xml.Name + type RPMVerifyFileTest struct + Check string + Comment string + ID string + Version int + XMLName xml.Name + func (t *RPMVerifyFileTest) ObjectRef() []ObjectRef + func (t *RPMVerifyFileTest) StateRef() []StateRef + type Ref struct + URL string + XMLName xml.Name + type Reference struct + RefID string + RefURL string + Source string + XMLName xml.Name + type Release struct + Body string + Operation Operation + XMLName xml.Name + type Root struct + Definitions Definitions + Generator Generator + Objects Objects + States States + Tests Tests + Variables Variables + XMLName xml.Name + type StateRef struct + StateRef string + XMLName xml.Name + type States struct + DpkgInfoStates []DpkgInfoState + LineStates []LineState + RPMInfoStates []RPMInfoState + Version55States []Version55State + XMLName xml.Name + func (s *States) Lookup(ref string) (kind string, index int, err error) + type TCInstance struct + Instance string + Kind string + XMLName xml.Name + type Test interface + ObjectRef func() []ObjectRef + StateRef func() []StateRef + type Tests struct + DpkgInfoTests []DpkgInfoTest + LineTests []LineTest + RPMInfoTests []RPMInfoTest + RPMVerifyFileTests []RPMVerifyFileTest + TextfileContent54Tests []TextfileContent54Test + UnameTests []UnameTest + Version55Tests []Version55Test + XMLName xml.Name + func (t *Tests) Lookup(ref string) (kind string, index int, err error) + type TextfileContent54Object struct + Filename string + Filepath string + ID string + Instance TCInstance + Path string + Pattern string + Version int + XMLName xml.Name + type TextfileContent54Test struct + Comment string + ID string + StateOperator string + XMLName xml.Name + func (t *TextfileContent54Test) ObjectRef() []ObjectRef + func (t *TextfileContent54Test) StateRef() []StateRef + type UnameTest struct + Check string + Comment string + ID string + Version int + XMLName xml.Name + func (t *UnameTest) ObjectRef() []ObjectRef + func (t *UnameTest) StateRef() []StateRef + type Value struct + Body string + XMLName xml.Name + type Variables struct + ConstantVariables []ConstantVariable + XMLName xml.Name + func (o *Variables) Lookup(ref string) (kind string, index int, err error) + type VerifyFileBehaviors struct + NoConfigFiles bool + NoGhostFiles bool + NoGroup bool + NoLinkTo bool + NoMD5 bool + NoMTime bool + NoMode bool + NoRDev bool + NoSize bool + NoUser bool + XMLName xml.Name + type VerifyFileOp struct + Op string + XMLName xml.Name + type Version struct + Body string + Operation Operation + XMLName xml.Name + type Version55Object struct + ID string + XMLName xml.Name + type Version55State struct + ID string + VersionString string + XMLName xml.Name + type Version55Test struct + Comment string + ID string + StateOperator string + XMLName xml.Name + func (t *Version55Test) ObjectRef() []ObjectRef + func (t *Version55Test) StateRef() []StateRef