oval_res

package
v0.0.0-...-2254187 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2022 License: Unlicense Imports: 5 Imported by: 0

Documentation

Overview

Code generated by https://github.com/gocomply/xsd2go; DO NOT EDIT. Models for http://oval.mitre.org/XMLSchema/oval-results-5

Index

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"`
}

type CriteriaType

type CriteriaType struct {
	ApplicabilityCheck string `xml:"applicability_check,attr"`

	Operator string `xml:"operator,attr"`

	Negate string `xml:"negate,attr"`

	Result string `xml:"result,attr"`

	Criteria []CriteriaType `xml:"criteria"`

	Criterion []CriterionType `xml:"criterion"`

	ExtendDefinition []ExtendDefinitionType `xml:"extend_definition"`
}

type CriterionType

type CriterionType struct {
	ApplicabilityCheck string `xml:"applicability_check,attr"`

	TestRef string `xml:"test_ref,attr"`

	Version string `xml:"version,attr"`

	VariableInstance string `xml:"variable_instance,attr"`

	Negate string `xml:"negate,attr"`

	Result string `xml:"result,attr"`
}

type DefaultDirectivesType

type DefaultDirectivesType struct {
	IncludeSourceDefinitions string `xml:"include_source_definitions,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"`
}

type DefinitionType

type DefinitionType struct {
	DefinitionId string `xml:"definition_id,attr"`

	Version string `xml:"version,attr"`

	VariableInstance string `xml:"variable_instance,attr"`

	Class string `xml:"class,attr"`

	Result string `xml:"result,attr"`

	Message []oval.MessageType `xml:"message"`

	Criteria *CriteriaType `xml:"criteria"`
}

type DefinitionsType

type DefinitionsType struct {
	Definition []DefinitionType `xml:"definition"`
}

type DirectiveType

type DirectiveType struct {
	Reported string `xml:"reported,attr"`

	Content string `xml:"content,attr"`
}

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"`
}

type ExtendDefinitionType

type ExtendDefinitionType struct {
	ApplicabilityCheck string `xml:"applicability_check,attr"`

	DefinitionRef string `xml:"definition_ref,attr"`

	Version string `xml:"version,attr"`

	VariableInstance string `xml:"variable_instance,attr"`

	Negate string `xml:"negate,attr"`

	Result string `xml:"result,attr"`
}

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

type ResultsType

type ResultsType struct {
	System []SystemType `xml:"system"`
}

type SystemType

type SystemType struct {
	Definitions *DefinitionsType `xml:"definitions"`

	Tests *TestsType `xml:"tests"`

	OvalSystemCharacteristics oval_sc.OvalSystemCharacteristics `xml:"oval_system_characteristics"`
}

type TestType

type TestType struct {
	TestId string `xml:"test_id,attr"`

	Version string `xml:"version,attr"`

	VariableInstance string `xml:"variable_instance,attr"`

	CheckExistence string `xml:"check_existence,attr"`

	Check string `xml:"check,attr"`

	StateOperator string `xml:"state_operator,attr"`

	Result string `xml:"result,attr"`

	Message []oval.MessageType `xml:"message"`

	TestedItem []TestedItemType `xml:"tested_item"`

	TestedVariable []TestedVariableType `xml:"tested_variable"`
}

type TestedItemType

type TestedItemType struct {
	ItemId string `xml:"item_id,attr"`

	Result string `xml:"result,attr"`

	Message []oval.MessageType `xml:"message"`
}

type TestedVariableType

type TestedVariableType struct {
	VariableId string `xml:"variable_id,attr"`

	Text string `xml:",chardata"`
}

type TestsType

type TestsType struct {
	Test []TestType `xml:"test"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL