Documentation ¶
Overview ¶
Code generated by https://github.com/gocomply/xsd2go; DO NOT EDIT. Models for http://oval.mitre.org/XMLSchema/oval-definitions-5
Index ¶
- Constants
- type AffectedType
- type ArithmeticFunctionType
- type BeginFunctionType
- type ConcatFunctionType
- type ConstantVariable
- type CountFunctionType
- type CriteriaType
- type CriterionType
- type Definition
- type DefinitionClass
- type DefinitionType
- type DefinitionsType
- type EndFunctionType
- type EntityComplexBaseType
- type EntityObjectAnySimpleType
- type EntityObjectBinaryType
- type EntityObjectBoolType
- type EntityObjectFieldType
- type EntityObjectFloatType
- type EntityObjectIPAddressStringType
- type EntityObjectIPAddressType
- type EntityObjectIntType
- type EntityObjectRecordType
- type EntityObjectStringType
- type EntityObjectVersionType
- type EntitySimpleBaseType
- type EntityStateAnySimpleType
- type EntityStateBinaryType
- type EntityStateBoolType
- type EntityStateComplexBaseType
- type EntityStateDebianEVRStringType
- type EntityStateEVRStringType
- type EntityStateFieldType
- type EntityStateFileSetRevisionType
- type EntityStateFloatType
- type EntityStateIOSVersionType
- type EntityStateIPAddressStringType
- type EntityStateIPAddressType
- type EntityStateIntType
- type EntityStateRecordType
- type EntityStateSimpleBaseType
- type EntityStateStringType
- type EntityStateVersionType
- type EscapeRegexFunctionType
- type ExtendDefinitionType
- type ExternalVariable
- type Filter
- type GlobToRegexFunctionType
- type LiteralComponentType
- type LocalVariable
- type MetadataType
- type Notes
- type Object
- type ObjectComponentType
- type ObjectRefType
- type ObjectType
- type ObjectsType
- type OvalDefinitions
- type PossibleRestrictionType
- type PossibleValueType
- type ReferenceType
- type RegexCaptureFunctionType
- type RestrictionType
- type Set
- type SplitFunctionType
- type State
- type StateRefType
- type StateType
- type StatesType
- type SubstringFunctionType
- type Test
- type TestType
- type TestsType
- type TimeDifferenceFunctionType
- type UniqueFunctionType
- type ValueType
- type Variable
- type VariableComponentType
- type VariableType
- type VariablesType
Constants ¶
View Source
const ( DefinitionClassUnknow = "" DefinitionClassCompliance = "compliance" DefinitionClassInventory = "inventory" DefinitionClassPatch = "patch" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AffectedType ¶
type ArithmeticFunctionType ¶
type BeginFunctionType ¶
type ConcatFunctionType ¶
type ConcatFunctionType struct {
InnerXml string `xml:",innerxml"`
}
type ConstantVariable ¶
type ConstantVariable struct { XMLName xml.Name `xml:constant_variable` Id string `xml:"id,attr"` Version string `xml:"version,attr"` Datatype string `xml:"datatype,attr"` Comment string `xml:"comment,attr"` Deprecated string `xml:"deprecated,attr,omitempty"` Value []ValueType `xml:"value"` Signature *xml_dsig.Signature `xml:"Signature"` Notes *oval.Notes `xml:"notes"` }
Element
type CountFunctionType ¶
type CountFunctionType struct {
InnerXml string `xml:",innerxml"`
}
type CriteriaType ¶
type CriteriaType struct { ApplicabilityCheck string `xml:"applicability_check,attr,omitempty"` Operator string `xml:"operator,attr,omitempty"` Negate string `xml:"negate,attr,omitempty"` Comment string `xml:"comment,attr,omitempty"` Criteria []CriteriaType `xml:"criteria"` Criterion []CriterionType `xml:"criterion"` ExtendDefinition []ExtendDefinitionType `xml:"extend_definition"` InnerXml string `xml:",innerxml"` }
type CriterionType ¶
type Definition ¶
type Definition struct { XMLName xml.Name `xml:definition` Id string `xml:"id,attr"` Version string `xml:"version,attr"` Class string `xml:"class,attr"` Deprecated string `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.Signature `xml:"Signature"` Metadata MetadataType `xml:"metadata"` Notes *oval.Notes `xml:"notes"` Criteria *CriteriaType `xml:"criteria"` }
Element
type DefinitionClass ¶
type DefinitionClass string
type DefinitionType ¶
type DefinitionType struct { Id string `xml:"id,attr"` Version string `xml:"version,attr"` Class string `xml:"class,attr"` Deprecated string `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.Signature `xml:"Signature"` Metadata MetadataType `xml:"metadata"` Notes *oval.Notes `xml:"notes"` Criteria *CriteriaType `xml:"criteria"` InnerXml string `xml:",innerxml"` }
type DefinitionsType ¶
type DefinitionsType struct { Definition []Definition `xml:"definition"` InnerXml string `xml:",innerxml"` }
type EndFunctionType ¶
type EntityComplexBaseType ¶
type EntityComplexBaseType struct {
InnerXml string `xml:",innerxml"`
}
type EntityObjectAnySimpleType ¶
type EntityObjectAnySimpleType struct {
InnerXml string `xml:",innerxml"`
}
type EntityObjectBinaryType ¶
type EntityObjectBinaryType struct {
InnerXml string `xml:",innerxml"`
}
type EntityObjectBoolType ¶
type EntityObjectBoolType struct {
InnerXml string `xml:",innerxml"`
}
type EntityObjectFieldType ¶
type EntityObjectFloatType ¶
type EntityObjectFloatType struct {
InnerXml string `xml:",innerxml"`
}
type EntityObjectIPAddressStringType ¶
type EntityObjectIPAddressStringType struct {
InnerXml string `xml:",innerxml"`
}
type EntityObjectIPAddressType ¶
type EntityObjectIPAddressType struct {
InnerXml string `xml:",innerxml"`
}
type EntityObjectIntType ¶
type EntityObjectIntType struct {
InnerXml string `xml:",innerxml"`
}
type EntityObjectRecordType ¶
type EntityObjectRecordType struct { Field []EntityObjectFieldType `xml:"field"` InnerXml string `xml:",innerxml"` }
type EntityObjectStringType ¶
type EntityObjectStringType struct {
InnerXml string `xml:",innerxml"`
}
type EntityObjectVersionType ¶
type EntityObjectVersionType struct {
InnerXml string `xml:",innerxml"`
}
type EntitySimpleBaseType ¶
type EntityStateAnySimpleType ¶
type EntityStateAnySimpleType struct {
InnerXml string `xml:",innerxml"`
}
type EntityStateBinaryType ¶
type EntityStateBinaryType struct {
InnerXml string `xml:",innerxml"`
}
type EntityStateBoolType ¶
type EntityStateBoolType struct {
InnerXml string `xml:",innerxml"`
}
type EntityStateDebianEVRStringType ¶
type EntityStateDebianEVRStringType struct {
InnerXml string `xml:",innerxml"`
}
type EntityStateEVRStringType ¶
type EntityStateEVRStringType struct {
InnerXml string `xml:",innerxml"`
}
type EntityStateFieldType ¶
type EntityStateFileSetRevisionType ¶
type EntityStateFileSetRevisionType struct {
InnerXml string `xml:",innerxml"`
}
type EntityStateFloatType ¶
type EntityStateFloatType struct {
InnerXml string `xml:",innerxml"`
}
type EntityStateIOSVersionType ¶
type EntityStateIOSVersionType struct {
InnerXml string `xml:",innerxml"`
}
type EntityStateIPAddressStringType ¶
type EntityStateIPAddressStringType struct {
InnerXml string `xml:",innerxml"`
}
type EntityStateIPAddressType ¶
type EntityStateIPAddressType struct {
InnerXml string `xml:",innerxml"`
}
type EntityStateIntType ¶
type EntityStateIntType struct {
InnerXml string `xml:",innerxml"`
}
type EntityStateRecordType ¶
type EntityStateRecordType struct { EntityCheck string `xml:"entity_check,attr,omitempty"` CheckExistence string `xml:"check_existence,attr,omitempty"` Field []EntityStateFieldType `xml:"field"` InnerXml string `xml:",innerxml"` }
type EntityStateStringType ¶
type EntityStateStringType struct {
InnerXml string `xml:",innerxml"`
}
type EntityStateVersionType ¶
type EntityStateVersionType struct {
InnerXml string `xml:",innerxml"`
}
type EscapeRegexFunctionType ¶
type EscapeRegexFunctionType struct {
InnerXml string `xml:",innerxml"`
}
type ExtendDefinitionType ¶
type ExternalVariable ¶
type ExternalVariable struct { XMLName xml.Name `xml:external_variable` Id string `xml:"id,attr"` Version string `xml:"version,attr"` Datatype string `xml:"datatype,attr"` Comment string `xml:"comment,attr"` Deprecated string `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.Signature `xml:"Signature"` Notes *oval.Notes `xml:"notes"` }
Element
type Filter ¶
type Filter struct { XMLName xml.Name `xml:filter` Action string `xml:"action,attr,omitempty"` Text string `xml:",chardata"` }
Element
type GlobToRegexFunctionType ¶
type LiteralComponentType ¶
type LocalVariable ¶
type LocalVariable struct { XMLName xml.Name `xml:local_variable` Id string `xml:"id,attr"` Version string `xml:"version,attr"` Datatype string `xml:"datatype,attr"` Comment string `xml:"comment,attr"` Deprecated string `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.Signature `xml:"Signature"` Notes *oval.Notes `xml:"notes"` }
Element
type MetadataType ¶
type MetadataType struct { Title string `xml:"title"` Affected []AffectedType `xml:"affected"` Reference []ReferenceType `xml:"reference"` Description string `xml:"description"` InnerXml string `xml:",innerxml"` }
type Object ¶
type Object struct { XMLName xml.Name `xml:object` Id string `xml:"id,attr"` Version string `xml:"version,attr"` Comment string `xml:"comment,attr,omitempty"` Deprecated string `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.Signature `xml:"Signature"` Notes *oval.Notes `xml:"notes"` }
Element
type ObjectComponentType ¶
type ObjectRefType ¶
type ObjectType ¶
type ObjectType struct { Id string `xml:"id,attr"` Version string `xml:"version,attr"` Comment string `xml:"comment,attr,omitempty"` Deprecated string `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.Signature `xml:"Signature"` Notes *oval.Notes `xml:"notes"` InnerXml string `xml:",innerxml"` }
type ObjectsType ¶
type OvalDefinitions ¶
type OvalDefinitions struct { XMLName xml.Name `xml:oval_definitions` Generator oval.GeneratorType `xml:"generator"` Definitions *DefinitionsType `xml:"definitions"` Tests *TestsType `xml:"tests"` Objects *ObjectsType `xml:"objects"` States *StatesType `xml:"states"` Variables *VariablesType `xml:"variables"` Signature *xml_dsig.Signature `xml:"Signature"` }
Element
func (*OvalDefinitions) DefinitionClasses ¶
func (defs *OvalDefinitions) DefinitionClasses() []DefinitionClass
func (*OvalDefinitions) ScapVersion ¶
func (defs *OvalDefinitions) ScapVersion() string
type PossibleRestrictionType ¶
type PossibleRestrictionType struct { Operator string `xml:"operator,attr,omitempty"` Hint string `xml:"hint,attr"` Restriction []RestrictionType `xml:"restriction"` InnerXml string `xml:",innerxml"` }
type PossibleValueType ¶
type ReferenceType ¶
type RestrictionType ¶
type Set ¶
type Set struct { XMLName xml.Name `xml:set` SetOperator string `xml:"set_operator,attr,omitempty"` }
Element
type SplitFunctionType ¶
type State ¶
type State struct { XMLName xml.Name `xml:state` Id string `xml:"id,attr"` Version string `xml:"version,attr"` Operator string `xml:"operator,attr,omitempty"` Comment string `xml:"comment,attr,omitempty"` Deprecated string `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.Signature `xml:"Signature"` Notes *oval.Notes `xml:"notes"` }
Element
type StateRefType ¶
type StateType ¶
type StateType struct { Id string `xml:"id,attr"` Version string `xml:"version,attr"` Operator string `xml:"operator,attr,omitempty"` Comment string `xml:"comment,attr,omitempty"` Deprecated string `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.Signature `xml:"Signature"` Notes *oval.Notes `xml:"notes"` InnerXml string `xml:",innerxml"` }
type StatesType ¶
type SubstringFunctionType ¶
type Test ¶
type Test struct { XMLName xml.Name `xml:test` Id string `xml:"id,attr"` Version string `xml:"version,attr"` CheckExistence string `xml:"check_existence,attr,omitempty"` Check string `xml:"check,attr"` StateOperator string `xml:"state_operator,attr,omitempty"` Comment string `xml:"comment,attr"` Deprecated string `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.Signature `xml:"Signature"` Notes *oval.Notes `xml:"notes"` }
Element
type TestType ¶
type TestType struct { Id string `xml:"id,attr"` Version string `xml:"version,attr"` CheckExistence string `xml:"check_existence,attr,omitempty"` Check string `xml:"check,attr"` StateOperator string `xml:"state_operator,attr,omitempty"` Comment string `xml:"comment,attr"` Deprecated string `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.Signature `xml:"Signature"` Notes *oval.Notes `xml:"notes"` InnerXml string `xml:",innerxml"` }
type UniqueFunctionType ¶
type UniqueFunctionType struct {
InnerXml string `xml:",innerxml"`
}
type Variable ¶
type Variable struct { XMLName xml.Name `xml:variable` Id string `xml:"id,attr"` Version string `xml:"version,attr"` Datatype string `xml:"datatype,attr"` Comment string `xml:"comment,attr"` Deprecated string `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.Signature `xml:"Signature"` Notes *oval.Notes `xml:"notes"` }
Element
type VariableComponentType ¶
type VariableType ¶
type VariableType struct { Id string `xml:"id,attr"` Version string `xml:"version,attr"` Datatype string `xml:"datatype,attr"` Comment string `xml:"comment,attr"` Deprecated string `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.Signature `xml:"Signature"` Notes *oval.Notes `xml:"notes"` InnerXml string `xml:",innerxml"` }
type VariablesType ¶
Click to show internal directories.
Click to hide internal directories.