Documentation ¶
Overview ¶
Code generated by https://github.com/gocomply/xsd2go; DO NOT EDIT. Models for http://oval.mitre.org/XMLSchema/oval-results-5
Index ¶
- type ClassDirectivesType
- type CriteriaType
- type CriterionType
- type DefaultDirectivesType
- type DefinitionType
- type DefinitionsType
- type DirectiveType
- type DirectivesType
- type ExtendDefinitionType
- type OvalResults
- type ResultsType
- type SystemType
- type TestType
- type TestedItemType
- type TestedVariableType
- type TestsType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClassDirectivesType ¶
type ClassDirectivesType struct { Class string `xml:"class,attr"` DefinitionTrue DirectiveType `xml:"definition_true"` DefinitionFalse DirectiveType `xml:"definition_false"` DefinitionUnknown DirectiveType `xml:"definition_unknown"` DefinitionError DirectiveType `xml:"definition_error"` DefinitionNotEvaluated DirectiveType `xml:"definition_not_evaluated"` DefinitionNotApplicable DirectiveType `xml:"definition_not_applicable"` InnerXml string `xml:",innerxml"` }
type CriteriaType ¶
type CriteriaType struct { ApplicabilityCheck string `xml:"applicability_check,attr,omitempty"` Operator string `xml:"operator,attr"` Negate string `xml:"negate,attr,omitempty"` Result string `xml:"result,attr"` Criteria []CriteriaType `xml:"criteria"` Criterion []CriterionType `xml:"criterion"` ExtendDefinition []ExtendDefinitionType `xml:"extend_definition"` InnerXml string `xml:",innerxml"` }
type CriterionType ¶
type CriterionType struct { ApplicabilityCheck string `xml:"applicability_check,attr,omitempty"` TestRef string `xml:"test_ref,attr"` Version string `xml:"version,attr"` VariableInstance string `xml:"variable_instance,attr,omitempty"` Negate string `xml:"negate,attr,omitempty"` Result string `xml:"result,attr"` InnerXml string `xml:",innerxml"` }
type DefaultDirectivesType ¶
type DefaultDirectivesType struct { IncludeSourceDefinitions string `xml:"include_source_definitions,attr,omitempty"` DefinitionTrue DirectiveType `xml:"definition_true"` DefinitionFalse DirectiveType `xml:"definition_false"` DefinitionUnknown DirectiveType `xml:"definition_unknown"` DefinitionError DirectiveType `xml:"definition_error"` DefinitionNotEvaluated DirectiveType `xml:"definition_not_evaluated"` DefinitionNotApplicable DirectiveType `xml:"definition_not_applicable"` InnerXml string `xml:",innerxml"` }
type DefinitionType ¶
type DefinitionType struct { DefinitionId string `xml:"definition_id,attr"` Version string `xml:"version,attr"` VariableInstance string `xml:"variable_instance,attr,omitempty"` Class string `xml:"class,attr,omitempty"` Result string `xml:"result,attr"` Message []oval.MessageType `xml:"message"` Criteria *CriteriaType `xml:"criteria"` InnerXml string `xml:",innerxml"` }
type DefinitionsType ¶
type DefinitionsType struct { Definition []DefinitionType `xml:"definition"` InnerXml string `xml:",innerxml"` }
type DirectiveType ¶
type DirectivesType ¶
type DirectivesType struct { DefinitionTrue DirectiveType `xml:"definition_true"` DefinitionFalse DirectiveType `xml:"definition_false"` DefinitionUnknown DirectiveType `xml:"definition_unknown"` DefinitionError DirectiveType `xml:"definition_error"` DefinitionNotEvaluated DirectiveType `xml:"definition_not_evaluated"` DefinitionNotApplicable DirectiveType `xml:"definition_not_applicable"` InnerXml string `xml:",innerxml"` }
type ExtendDefinitionType ¶
type ExtendDefinitionType struct { ApplicabilityCheck string `xml:"applicability_check,attr,omitempty"` DefinitionRef string `xml:"definition_ref,attr"` Version string `xml:"version,attr"` VariableInstance string `xml:"variable_instance,attr,omitempty"` Negate string `xml:"negate,attr,omitempty"` Result string `xml:"result,attr"` InnerXml string `xml:",innerxml"` }
type OvalResults ¶
type OvalResults struct { XMLName xml.Name `xml:oval_results` Generator oval.GeneratorType `xml:"generator"` Directives DefaultDirectivesType `xml:"directives"` ClassDirectives []ClassDirectivesType `xml:"class_directives"` OvalDefinitions *oval_def.OvalDefinitions `xml:"oval_definitions"` Results ResultsType `xml:"results"` Signature *xml_dsig.Signature `xml:"Signature"` }
Element
func (*OvalResults) ScapVersion ¶
func (res *OvalResults) ScapVersion() string
type ResultsType ¶
type ResultsType struct { System []SystemType `xml:"system"` InnerXml string `xml:",innerxml"` }
type SystemType ¶
type SystemType struct { Definitions *DefinitionsType `xml:"definitions"` Tests *TestsType `xml:"tests"` OvalSystemCharacteristics oval_sc.OvalSystemCharacteristics `xml:"oval_system_characteristics"` InnerXml string `xml:",innerxml"` }
type TestType ¶
type TestType struct { TestId string `xml:"test_id,attr"` Version string `xml:"version,attr"` VariableInstance string `xml:"variable_instance,attr,omitempty"` CheckExistence string `xml:"check_existence,attr,omitempty"` Check string `xml:"check,attr"` StateOperator string `xml:"state_operator,attr,omitempty"` Result string `xml:"result,attr"` Message []oval.MessageType `xml:"message"` TestedItem []TestedItemType `xml:"tested_item"` TestedVariable []TestedVariableType `xml:"tested_variable"` InnerXml string `xml:",innerxml"` }
type TestedItemType ¶
type TestedItemType struct { ItemId string `xml:"item_id,attr"` Result string `xml:"result,attr"` Message []oval.MessageType `xml:"message"` InnerXml string `xml:",innerxml"` }
type TestedVariableType ¶
Click to show internal directories.
Click to hide internal directories.