oval_def

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: 3 Imported by: 0

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

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AffectedType

type AffectedType struct {
	Family string `xml:"family,attr"`

	Platform []string `xml:"platform"`

	Product []string `xml:"product"`
}

type ArithmeticFunctionType

type ArithmeticFunctionType struct {
	ArithmeticOperation string `xml:"arithmetic_operation,attr"`
}

type BeginFunctionType

type BeginFunctionType struct {
	Character string `xml:"character,attr"`
}

type ConcatFunctionType

type ConcatFunctionType struct {
}

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

	Value []ValueType `xml:"value"`

	Signature *xml_dsig.Signature `xml:"Signature"`

	Notes *oval.Notes `xml:"notes"`
}

Element

type CountFunctionType

type CountFunctionType struct {
}

type CriteriaType

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

	Operator string `xml:"operator,attr"`

	Negate string `xml:"negate,attr"`

	Comment string `xml:"comment,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"`

	Negate string `xml:"negate,attr"`

	Comment string `xml:"comment,attr"`
}

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

	Signature *xml_dsig.Signature `xml:"Signature"`

	Metadata MetadataType `xml:"metadata"`

	Notes *oval.Notes `xml:"notes"`

	Criteria *CriteriaType `xml:"criteria"`
}

Element

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

	Signature *xml_dsig.Signature `xml:"Signature"`

	Metadata MetadataType `xml:"metadata"`

	Notes *oval.Notes `xml:"notes"`

	Criteria *CriteriaType `xml:"criteria"`
}

type DefinitionsType

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

type EndFunctionType

type EndFunctionType struct {
	Character string `xml:"character,attr"`
}

type EntityComplexBaseType

type EntityComplexBaseType struct {
}

type EntityObjectAnySimpleType

type EntityObjectAnySimpleType struct {
}

type EntityObjectBinaryType

type EntityObjectBinaryType struct {
}

type EntityObjectBoolType

type EntityObjectBoolType struct {
}

type EntityObjectFieldType

type EntityObjectFieldType struct {
	Name string `xml:"name,attr"`

	EntityCheck string `xml:"entity_check,attr"`

	Text string `xml:",chardata"`
}

type EntityObjectFloatType

type EntityObjectFloatType struct {
}

type EntityObjectIPAddressStringType

type EntityObjectIPAddressStringType struct {
}

type EntityObjectIPAddressType

type EntityObjectIPAddressType struct {
}

type EntityObjectIntType

type EntityObjectIntType struct {
}

type EntityObjectRecordType

type EntityObjectRecordType struct {
	Field []EntityObjectFieldType `xml:"field"`
}

type EntityObjectStringType

type EntityObjectStringType struct {
}

type EntityObjectVersionType

type EntityObjectVersionType struct {
}

type EntitySimpleBaseType

type EntitySimpleBaseType struct {
	Text string `xml:",chardata"`
}

type EntityStateAnySimpleType

type EntityStateAnySimpleType struct {
}

type EntityStateBinaryType

type EntityStateBinaryType struct {
}

type EntityStateBoolType

type EntityStateBoolType struct {
}

type EntityStateComplexBaseType

type EntityStateComplexBaseType struct {
	EntityCheck string `xml:"entity_check,attr"`

	CheckExistence string `xml:"check_existence,attr"`
}

type EntityStateDebianEVRStringType

type EntityStateDebianEVRStringType struct {
}

type EntityStateEVRStringType

type EntityStateEVRStringType struct {
}

type EntityStateFieldType

type EntityStateFieldType struct {
	Name string `xml:"name,attr"`

	EntityCheck string `xml:"entity_check,attr"`

	Text string `xml:",chardata"`
}

type EntityStateFileSetRevisionType

type EntityStateFileSetRevisionType struct {
}

type EntityStateFloatType

type EntityStateFloatType struct {
}

type EntityStateIOSVersionType

type EntityStateIOSVersionType struct {
}

type EntityStateIPAddressStringType

type EntityStateIPAddressStringType struct {
}

type EntityStateIPAddressType

type EntityStateIPAddressType struct {
}

type EntityStateIntType

type EntityStateIntType struct {
}

type EntityStateRecordType

type EntityStateRecordType struct {
	EntityCheck string `xml:"entity_check,attr"`

	CheckExistence string `xml:"check_existence,attr"`

	Field []EntityStateFieldType `xml:"field"`
}

type EntityStateSimpleBaseType

type EntityStateSimpleBaseType struct {
	EntityCheck string `xml:"entity_check,attr"`

	CheckExistence string `xml:"check_existence,attr"`

	Text string `xml:",chardata"`
}

type EntityStateStringType

type EntityStateStringType struct {
}

type EntityStateVersionType

type EntityStateVersionType struct {
}

type EscapeRegexFunctionType

type EscapeRegexFunctionType struct {
}

type ExtendDefinitionType

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

	DefinitionRef string `xml:"definition_ref,attr"`

	Negate string `xml:"negate,attr"`

	Comment string `xml:"comment,attr"`
}

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

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

	Text string `xml:",chardata"`
}

Element

type GlobToRegexFunctionType

type GlobToRegexFunctionType struct {
	GlobNoescape string `xml:"glob_noescape,attr"`
}

type LiteralComponentType

type LiteralComponentType struct {
	Datatype string `xml:"datatype,attr"`

	Text string `xml:",chardata"`
}

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

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

type Notes

type Notes struct {
	XMLName xml.Name `xml:notes`

	Note []string `xml:"note"`
}

Element

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

	Deprecated string `xml:"deprecated,attr"`

	Signature *xml_dsig.Signature `xml:"Signature"`

	Notes *oval.Notes `xml:"notes"`
}

Element

type ObjectComponentType

type ObjectComponentType struct {
	ObjectRef string `xml:"object_ref,attr"`

	ItemField string `xml:"item_field,attr"`

	RecordField string `xml:"record_field,attr"`
}

type ObjectRefType

type ObjectRefType struct {
	ObjectRef string `xml:"object_ref,attr"`
}

type ObjectType

type ObjectType struct {
	Id string `xml:"id,attr"`

	Version string `xml:"version,attr"`

	Comment string `xml:"comment,attr"`

	Deprecated string `xml:"deprecated,attr"`

	Signature *xml_dsig.Signature `xml:"Signature"`

	Notes *oval.Notes `xml:"notes"`
}

type ObjectsType

type ObjectsType struct {
	Object []Object `xml:"object"`
}

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

type PossibleRestrictionType

type PossibleRestrictionType struct {
	Operator string `xml:"operator,attr"`

	Hint string `xml:"hint,attr"`

	Restriction []RestrictionType `xml:"restriction"`
}

type PossibleValueType

type PossibleValueType struct {
	Hint string `xml:"hint,attr"`

	Text string `xml:",chardata"`
}

type ReferenceType

type ReferenceType struct {
	Source string `xml:"source,attr"`

	RefId string `xml:"ref_id,attr"`

	RefUrl string `xml:"ref_url,attr"`
}

type RegexCaptureFunctionType

type RegexCaptureFunctionType struct {
	Pattern string `xml:"pattern,attr"`
}

type RestrictionType

type RestrictionType struct {
	Operation string `xml:"operation,attr"`

	Text string `xml:",chardata"`
}

type Set

type Set struct {
	XMLName xml.Name `xml:set`

	SetOperator string `xml:"set_operator,attr"`
}

Element

type SplitFunctionType

type SplitFunctionType struct {
	Delimiter string `xml:"delimiter,attr"`
}

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

	Comment string `xml:"comment,attr"`

	Deprecated string `xml:"deprecated,attr"`

	Signature *xml_dsig.Signature `xml:"Signature"`

	Notes *oval.Notes `xml:"notes"`
}

Element

type StateRefType

type StateRefType struct {
	StateRef string `xml:"state_ref,attr"`
}

type StateType

type StateType struct {
	Id string `xml:"id,attr"`

	Version string `xml:"version,attr"`

	Operator string `xml:"operator,attr"`

	Comment string `xml:"comment,attr"`

	Deprecated string `xml:"deprecated,attr"`

	Signature *xml_dsig.Signature `xml:"Signature"`

	Notes *oval.Notes `xml:"notes"`
}

type StatesType

type StatesType struct {
	State []State `xml:"state"`
}

type SubstringFunctionType

type SubstringFunctionType struct {
	SubstringStart string `xml:"substring_start,attr"`

	SubstringLength string `xml:"substring_length,attr"`
}

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

	Check string `xml:"check,attr"`

	StateOperator string `xml:"state_operator,attr"`

	Comment string `xml:"comment,attr"`

	Deprecated string `xml:"deprecated,attr"`

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

	Check string `xml:"check,attr"`

	StateOperator string `xml:"state_operator,attr"`

	Comment string `xml:"comment,attr"`

	Deprecated string `xml:"deprecated,attr"`

	Signature *xml_dsig.Signature `xml:"Signature"`

	Notes *oval.Notes `xml:"notes"`
}

type TestsType

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

type TimeDifferenceFunctionType

type TimeDifferenceFunctionType struct {
	Format1 string `xml:"format_1,attr"`

	Format2 string `xml:"format_2,attr"`
}

type UniqueFunctionType

type UniqueFunctionType struct {
}

type ValueType

type ValueType struct {
	Text string `xml:",chardata"`
}

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

	Signature *xml_dsig.Signature `xml:"Signature"`

	Notes *oval.Notes `xml:"notes"`
}

Element

type VariableComponentType

type VariableComponentType struct {
	VarRef string `xml:"var_ref,attr"`
}

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

	Signature *xml_dsig.Signature `xml:"Signature"`

	Notes *oval.Notes `xml:"notes"`
}

type VariablesType

type VariablesType struct {
	Variable []Variable `xml:"variable"`
}

Jump to

Keyboard shortcuts

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