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 ArithmeticEnumeration
- type ArithmeticFunctionType
- type BeginFunctionType
- type ConcatFunctionType
- type ConstantVariable
- type CountFunctionType
- type CriteriaType
- type CriterionType
- type DateTimeFormatEnumeration
- 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 FilterActionEnumeration
- 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 SetOperatorEnumeration
- 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 ArithmeticEnumeration ¶
type ArithmeticEnumeration string
const ArithmeticEnumerationAdd ArithmeticEnumeration = "add"
const ArithmeticEnumerationMultiply ArithmeticEnumeration = "multiply"
type ArithmeticFunctionType ¶
type ArithmeticFunctionType struct { XMLName xml.Name ArithmeticOperation ArithmeticEnumeration `xml:"arithmetic_operation,attr"` InnerXml string `xml:",innerxml"` }
type BeginFunctionType ¶
type ConcatFunctionType ¶
type ConstantVariable ¶
type ConstantVariable struct { XMLName xml.Name `xml:"constant_variable"` Id oval.VariableIDPattern `xml:"id,attr"` Version uint64 `xml:"version,attr"` Datatype oval.SimpleDatatypeEnumeration `xml:"datatype,attr"` Comment oval.NonEmptyStringType `xml:"comment,attr"` Deprecated bool `xml:"deprecated,attr,omitempty"` Value []ValueType `xml:"value"` Signature *xml_dsig.SignatureType `xml:"Signature"` Notes *oval.NotesType `xml:"notes"` }
Element
type CountFunctionType ¶
type CriteriaType ¶
type CriteriaType struct { XMLName xml.Name ApplicabilityCheck bool `xml:"applicability_check,attr,omitempty"` Operator oval.OperatorEnumeration `xml:"operator,attr,omitempty"` Negate bool `xml:"negate,attr,omitempty"` Comment oval.NonEmptyStringType `xml:"comment,attr,omitempty"` Criteria []CriteriaType `xml:"criteria"` Criterion []CriterionType `xml:"criterion"` ExtendDefinition []ExtendDefinitionType `xml:"extend_definition"` InnerXml string `xml:",innerxml"` }
type CriterionType ¶
type CriterionType struct { XMLName xml.Name ApplicabilityCheck bool `xml:"applicability_check,attr,omitempty"` TestRef oval.TestIDPattern `xml:"test_ref,attr"` Negate bool `xml:"negate,attr,omitempty"` Comment oval.NonEmptyStringType `xml:"comment,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type DateTimeFormatEnumeration ¶
type DateTimeFormatEnumeration string
const DateTimeFormatEnumerationCimDatetime DateTimeFormatEnumeration = "cim_datetime"
const DateTimeFormatEnumerationDayMonthYear DateTimeFormatEnumeration = "day_month_year"
const DateTimeFormatEnumerationMonthDayYear DateTimeFormatEnumeration = "month_day_year"
const DateTimeFormatEnumerationSecondsSinceEpoch DateTimeFormatEnumeration = "seconds_since_epoch"
const DateTimeFormatEnumerationWinFiletime DateTimeFormatEnumeration = "win_filetime"
const DateTimeFormatEnumerationYearMonthDay DateTimeFormatEnumeration = "year_month_day"
type Definition ¶
type Definition struct { XMLName xml.Name `xml:"definition"` Id oval.DefinitionIDPattern `xml:"id,attr"` Version uint64 `xml:"version,attr"` Class oval.ClassEnumeration `xml:"class,attr"` Deprecated bool `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.SignatureType `xml:"Signature"` Metadata MetadataType `xml:"metadata"` Notes *oval.NotesType `xml:"notes"` Criteria *CriteriaType `xml:"criteria"` }
Element
type DefinitionClass ¶
type DefinitionClass string
type DefinitionType ¶
type DefinitionType struct { XMLName xml.Name Id oval.DefinitionIDPattern `xml:"id,attr"` Version uint64 `xml:"version,attr"` Class oval.ClassEnumeration `xml:"class,attr"` Deprecated bool `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.SignatureType `xml:"Signature"` Metadata MetadataType `xml:"metadata"` Notes *oval.NotesType `xml:"notes"` Criteria *CriteriaType `xml:"criteria"` InnerXml string `xml:",innerxml"` }
type DefinitionsType ¶
type DefinitionsType struct { XMLName xml.Name Definition []DefinitionType `xml:",any"` InnerXml string `xml:",innerxml"` }
type EndFunctionType ¶
type EntityComplexBaseType ¶
type EntityObjectAnySimpleType ¶
type EntityObjectAnySimpleType struct { XMLName xml.Name Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntityObjectBinaryType ¶
type EntityObjectBinaryType struct { XMLName xml.Name Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntityObjectBoolType ¶
type EntityObjectBoolType struct { XMLName xml.Name Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntityObjectFieldType ¶
type EntityObjectFieldType struct { XMLName xml.Name Name string `xml:"name,attr"` EntityCheck string `xml:"entity_check,attr,omitempty"` Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` Text string `xml:",chardata"` InnerXml string `xml:",innerxml"` }
type EntityObjectFloatType ¶
type EntityObjectFloatType struct { XMLName xml.Name Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntityObjectIPAddressStringType ¶
type EntityObjectIPAddressStringType struct { XMLName xml.Name Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntityObjectIPAddressType ¶
type EntityObjectIPAddressType struct { XMLName xml.Name Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntityObjectIntType ¶
type EntityObjectIntType struct { XMLName xml.Name Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntityObjectRecordType ¶
type EntityObjectRecordType struct { XMLName xml.Name Field []EntityObjectFieldType `xml:",any"` InnerXml string `xml:",innerxml"` }
type EntityObjectStringType ¶
type EntityObjectStringType struct { XMLName xml.Name Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntityObjectVersionType ¶
type EntityObjectVersionType struct { XMLName xml.Name Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntitySimpleBaseType ¶
type EntitySimpleBaseType struct { XMLName xml.Name Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` Text string `xml:",chardata"` InnerXml string `xml:",innerxml"` }
type EntityStateAnySimpleType ¶
type EntityStateAnySimpleType struct { XMLName xml.Name EntityCheck string `xml:"entity_check,attr,omitempty"` CheckExistence string `xml:"check_existence,attr,omitempty"` Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntityStateBinaryType ¶
type EntityStateBinaryType struct { XMLName xml.Name EntityCheck string `xml:"entity_check,attr,omitempty"` CheckExistence string `xml:"check_existence,attr,omitempty"` Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntityStateBoolType ¶
type EntityStateBoolType struct { XMLName xml.Name EntityCheck string `xml:"entity_check,attr,omitempty"` CheckExistence string `xml:"check_existence,attr,omitempty"` Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntityStateComplexBaseType ¶
type EntityStateComplexBaseType struct { XMLName xml.Name EntityCheck oval.CheckEnumeration `xml:"entity_check,attr,omitempty"` CheckExistence oval.ExistenceEnumeration `xml:"check_existence,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntityStateDebianEVRStringType ¶
type EntityStateDebianEVRStringType struct { XMLName xml.Name EntityCheck string `xml:"entity_check,attr,omitempty"` CheckExistence string `xml:"check_existence,attr,omitempty"` Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntityStateEVRStringType ¶
type EntityStateEVRStringType struct { XMLName xml.Name EntityCheck string `xml:"entity_check,attr,omitempty"` CheckExistence string `xml:"check_existence,attr,omitempty"` Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntityStateFieldType ¶
type EntityStateFieldType struct { XMLName xml.Name Name string `xml:"name,attr"` EntityCheck string `xml:"entity_check,attr,omitempty"` Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` Text string `xml:",chardata"` InnerXml string `xml:",innerxml"` }
type EntityStateFileSetRevisionType ¶
type EntityStateFileSetRevisionType struct { XMLName xml.Name EntityCheck string `xml:"entity_check,attr,omitempty"` CheckExistence string `xml:"check_existence,attr,omitempty"` Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntityStateFloatType ¶
type EntityStateFloatType struct { XMLName xml.Name EntityCheck string `xml:"entity_check,attr,omitempty"` CheckExistence string `xml:"check_existence,attr,omitempty"` Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntityStateIOSVersionType ¶
type EntityStateIOSVersionType struct { XMLName xml.Name EntityCheck string `xml:"entity_check,attr,omitempty"` CheckExistence string `xml:"check_existence,attr,omitempty"` Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntityStateIPAddressStringType ¶
type EntityStateIPAddressStringType struct { XMLName xml.Name EntityCheck string `xml:"entity_check,attr,omitempty"` CheckExistence string `xml:"check_existence,attr,omitempty"` Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntityStateIPAddressType ¶
type EntityStateIPAddressType struct { XMLName xml.Name EntityCheck string `xml:"entity_check,attr,omitempty"` CheckExistence string `xml:"check_existence,attr,omitempty"` Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntityStateIntType ¶
type EntityStateIntType struct { XMLName xml.Name EntityCheck string `xml:"entity_check,attr,omitempty"` CheckExistence string `xml:"check_existence,attr,omitempty"` Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntityStateRecordType ¶
type EntityStateRecordType struct { XMLName xml.Name EntityCheck oval.CheckEnumeration `xml:"entity_check,attr,omitempty"` CheckExistence oval.ExistenceEnumeration `xml:"check_existence,attr,omitempty"` Field []EntityStateFieldType `xml:",any"` InnerXml string `xml:",innerxml"` }
type EntityStateSimpleBaseType ¶
type EntityStateSimpleBaseType struct { XMLName xml.Name EntityCheck string `xml:"entity_check,attr,omitempty"` CheckExistence string `xml:"check_existence,attr,omitempty"` Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` Text string `xml:",chardata"` InnerXml string `xml:",innerxml"` }
type EntityStateStringType ¶
type EntityStateStringType struct { XMLName xml.Name EntityCheck string `xml:"entity_check,attr,omitempty"` CheckExistence string `xml:"check_existence,attr,omitempty"` Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EntityStateVersionType ¶
type EntityStateVersionType struct { XMLName xml.Name EntityCheck string `xml:"entity_check,attr,omitempty"` CheckExistence string `xml:"check_existence,attr,omitempty"` Datatype oval.DatatypeEnumeration `xml:"datatype,attr,omitempty"` Operation oval.OperationEnumeration `xml:"operation,attr,omitempty"` Mask bool `xml:"mask,attr,omitempty"` VarRef oval.VariableIDPattern `xml:"var_ref,attr,omitempty"` VarCheck oval.CheckEnumeration `xml:"var_check,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type EscapeRegexFunctionType ¶
type ExtendDefinitionType ¶
type ExtendDefinitionType struct { XMLName xml.Name ApplicabilityCheck bool `xml:"applicability_check,attr,omitempty"` DefinitionRef oval.DefinitionIDPattern `xml:"definition_ref,attr"` Negate bool `xml:"negate,attr,omitempty"` Comment oval.NonEmptyStringType `xml:"comment,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type ExternalVariable ¶
type ExternalVariable struct { XMLName xml.Name `xml:"external_variable"` Id oval.VariableIDPattern `xml:"id,attr"` Version uint64 `xml:"version,attr"` Datatype oval.SimpleDatatypeEnumeration `xml:"datatype,attr"` Comment oval.NonEmptyStringType `xml:"comment,attr"` Deprecated bool `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.SignatureType `xml:"Signature"` Notes *oval.NotesType `xml:"notes"` }
Element
type Filter ¶
type Filter struct { XMLName xml.Name `xml:"filter"` Action FilterActionEnumeration `xml:"action,attr,omitempty"` Text string `xml:",chardata"` }
Element
type FilterActionEnumeration ¶
type FilterActionEnumeration string
const FilterActionEnumerationExclude FilterActionEnumeration = "exclude"
const FilterActionEnumerationInclude FilterActionEnumeration = "include"
type GlobToRegexFunctionType ¶
type LiteralComponentType ¶
type LocalVariable ¶
type LocalVariable struct { XMLName xml.Name `xml:"local_variable"` Id oval.VariableIDPattern `xml:"id,attr"` Version uint64 `xml:"version,attr"` Datatype oval.SimpleDatatypeEnumeration `xml:"datatype,attr"` Comment oval.NonEmptyStringType `xml:"comment,attr"` Deprecated bool `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.SignatureType `xml:"Signature"` Notes *oval.NotesType `xml:"notes"` }
Element
type MetadataType ¶
type MetadataType struct { XMLName xml.Name 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 oval.ObjectIDPattern `xml:"id,attr"` Version uint64 `xml:"version,attr"` Comment oval.NonEmptyStringType `xml:"comment,attr,omitempty"` Deprecated bool `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.SignatureType `xml:"Signature"` Notes *oval.NotesType `xml:"notes"` }
Element
type ObjectComponentType ¶
type ObjectComponentType struct { XMLName xml.Name ObjectRef oval.ObjectIDPattern `xml:"object_ref,attr"` ItemField oval.NonEmptyStringType `xml:"item_field,attr"` RecordField oval.NonEmptyStringType `xml:"record_field,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type ObjectRefType ¶
type ObjectRefType struct { XMLName xml.Name ObjectRef oval.ObjectIDPattern `xml:"object_ref,attr"` InnerXml string `xml:",innerxml"` }
type ObjectType ¶
type ObjectType struct { XMLName xml.Name Id oval.ObjectIDPattern `xml:"id,attr"` Version uint64 `xml:"version,attr"` Comment oval.NonEmptyStringType `xml:"comment,attr,omitempty"` Deprecated bool `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.SignatureType `xml:"Signature"` Notes *oval.NotesType `xml:"notes"` InnerXml string `xml:",innerxml"` }
type ObjectsType ¶
type ObjectsType struct { XMLName xml.Name Object []ObjectType `xml:",any"` InnerXml string `xml:",innerxml"` }
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.SignatureType `xml:"Signature"` }
Element
func (*OvalDefinitions) DefinitionClasses ¶
func (defs *OvalDefinitions) DefinitionClasses() []DefinitionClass
func (*OvalDefinitions) ScapVersion ¶
func (defs *OvalDefinitions) ScapVersion() string
type PossibleRestrictionType ¶
type PossibleRestrictionType struct { XMLName xml.Name Operator oval.OperatorEnumeration `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 SetOperatorEnumeration `xml:"set_operator,attr,omitempty"` Set []Set `xml:"set"` ObjectReference []oval.ObjectIDPattern `xml:"object_reference"` Filter []Filter `xml:"filter"` }
Element
type SetOperatorEnumeration ¶
type SetOperatorEnumeration string
const SetOperatorEnumerationComplement SetOperatorEnumeration = "COMPLEMENT"
const SetOperatorEnumerationIntersection SetOperatorEnumeration = "INTERSECTION"
const SetOperatorEnumerationUnion SetOperatorEnumeration = "UNION"
type SplitFunctionType ¶
type State ¶
type State struct { XMLName xml.Name `xml:"state"` Id oval.StateIDPattern `xml:"id,attr"` Version uint64 `xml:"version,attr"` Operator oval.OperatorEnumeration `xml:"operator,attr,omitempty"` Comment oval.NonEmptyStringType `xml:"comment,attr,omitempty"` Deprecated bool `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.SignatureType `xml:"Signature"` Notes *oval.NotesType `xml:"notes"` }
Element
type StateRefType ¶
type StateRefType struct { XMLName xml.Name StateRef oval.StateIDPattern `xml:"state_ref,attr"` InnerXml string `xml:",innerxml"` }
type StateType ¶
type StateType struct { XMLName xml.Name Id oval.StateIDPattern `xml:"id,attr"` Version uint64 `xml:"version,attr"` Operator oval.OperatorEnumeration `xml:"operator,attr,omitempty"` Comment oval.NonEmptyStringType `xml:"comment,attr,omitempty"` Deprecated bool `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.SignatureType `xml:"Signature"` Notes *oval.NotesType `xml:"notes"` InnerXml string `xml:",innerxml"` }
type StatesType ¶
type SubstringFunctionType ¶
type Test ¶
type Test struct { XMLName xml.Name `xml:"test"` Id oval.TestIDPattern `xml:"id,attr"` Version uint64 `xml:"version,attr"` CheckExistence oval.ExistenceEnumeration `xml:"check_existence,attr,omitempty"` Check oval.CheckEnumeration `xml:"check,attr"` StateOperator oval.OperatorEnumeration `xml:"state_operator,attr,omitempty"` Comment oval.NonEmptyStringType `xml:"comment,attr"` Deprecated bool `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.SignatureType `xml:"Signature"` Notes *oval.NotesType `xml:"notes"` }
Element
type TestType ¶
type TestType struct { XMLName xml.Name Id oval.TestIDPattern `xml:"id,attr"` Version uint64 `xml:"version,attr"` CheckExistence oval.ExistenceEnumeration `xml:"check_existence,attr,omitempty"` Check oval.CheckEnumeration `xml:"check,attr"` StateOperator oval.OperatorEnumeration `xml:"state_operator,attr,omitempty"` Comment oval.NonEmptyStringType `xml:"comment,attr"` Deprecated bool `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.SignatureType `xml:"Signature"` Notes *oval.NotesType `xml:"notes"` InnerXml string `xml:",innerxml"` }
type TimeDifferenceFunctionType ¶
type TimeDifferenceFunctionType struct { XMLName xml.Name Format1 DateTimeFormatEnumeration `xml:"format_1,attr,omitempty"` Format2 DateTimeFormatEnumeration `xml:"format_2,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type UniqueFunctionType ¶
type Variable ¶
type Variable struct { XMLName xml.Name `xml:"variable"` Id oval.VariableIDPattern `xml:"id,attr"` Version uint64 `xml:"version,attr"` Datatype oval.SimpleDatatypeEnumeration `xml:"datatype,attr"` Comment oval.NonEmptyStringType `xml:"comment,attr"` Deprecated bool `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.SignatureType `xml:"Signature"` Notes *oval.NotesType `xml:"notes"` }
Element
type VariableComponentType ¶
type VariableComponentType struct { XMLName xml.Name VarRef oval.VariableIDPattern `xml:"var_ref,attr"` InnerXml string `xml:",innerxml"` }
type VariableType ¶
type VariableType struct { XMLName xml.Name Id oval.VariableIDPattern `xml:"id,attr"` Version uint64 `xml:"version,attr"` Datatype oval.SimpleDatatypeEnumeration `xml:"datatype,attr"` Comment oval.NonEmptyStringType `xml:"comment,attr"` Deprecated bool `xml:"deprecated,attr,omitempty"` Signature *xml_dsig.SignatureType `xml:"Signature"` Notes *oval.NotesType `xml:"notes"` InnerXml string `xml:",innerxml"` }
type VariablesType ¶
type VariablesType struct { XMLName xml.Name Variable []VariableType `xml:",any"` InnerXml string `xml:",innerxml"` }
Click to show internal directories.
Click to hide internal directories.