oval

package
v0.0.0-...-07db83d Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: CC0-1.0 Imports: 1 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckEnumeration

type CheckEnumeration string
const CheckEnumerationAll CheckEnumeration = "all"
const CheckEnumerationAtLeastOne CheckEnumeration = "at least one"
const CheckEnumerationNoneExist CheckEnumeration = "none exist"
const CheckEnumerationNoneSatisfy CheckEnumeration = "none satisfy"
const CheckEnumerationOnlyOne CheckEnumeration = "only one"

type ClassEnumeration

type ClassEnumeration string
const ClassEnumerationCompliance ClassEnumeration = "compliance"
const ClassEnumerationInventory ClassEnumeration = "inventory"
const ClassEnumerationMiscellaneous ClassEnumeration = "miscellaneous"
const ClassEnumerationPatch ClassEnumeration = "patch"
const ClassEnumerationVulnerability ClassEnumeration = "vulnerability"

type ComplexDatatypeEnumeration

type ComplexDatatypeEnumeration string
const ComplexDatatypeEnumerationRecord ComplexDatatypeEnumeration = "record"

type DatatypeEnumeration

type DatatypeEnumeration string

type DefinitionIDPattern

type DefinitionIDPattern string

type DeprecatedInfo

type DeprecatedInfo struct {
	XMLName xml.Name `xml:"deprecated_info"`

	Version string `xml:"version"`

	Reason string `xml:"reason"`

	Comment string `xml:"comment"`
}

Element

type DeprecatedInfoType

type DeprecatedInfoType struct {
	XMLName xml.Name

	Version string `xml:"version"`

	Reason string `xml:"reason"`

	Comment string `xml:"comment"`

	InnerXml string `xml:",innerxml"`
}

type ElementMapItemType

type ElementMapItemType struct {
	XMLName xml.Name

	TargetNamespace string `xml:"target_namespace,attr,omitempty"`

	Text     string `xml:",chardata"`
	InnerXml string `xml:",innerxml"`
}

type ElementMapType

type ElementMapType struct {
	XMLName xml.Name

	Test ElementMapItemType `xml:"test"`

	Object *ElementMapItemType `xml:"object"`

	State *ElementMapItemType `xml:"state"`

	Item *ElementMapItemType `xml:"item"`

	InnerXml string `xml:",innerxml"`
}

type ElementMapping

type ElementMapping struct {
	XMLName xml.Name `xml:"element_mapping"`

	Test ElementMapItemType `xml:"test"`

	Object *ElementMapItemType `xml:"object"`

	State *ElementMapItemType `xml:"state"`

	Item *ElementMapItemType `xml:"item"`
}

Element

type EmptyStringType

type EmptyStringType string

type ExistenceEnumeration

type ExistenceEnumeration string
const ExistenceEnumerationAllExist ExistenceEnumeration = "all_exist"
const ExistenceEnumerationAnyExist ExistenceEnumeration = "any_exist"
const ExistenceEnumerationAtLeastOneExists ExistenceEnumeration = "at_least_one_exists"
const ExistenceEnumerationNoneExist ExistenceEnumeration = "none_exist"
const ExistenceEnumerationOnlyOneExists ExistenceEnumeration = "only_one_exists"

type FamilyEnumeration

type FamilyEnumeration string
const FamilyEnumerationAndroid FamilyEnumeration = "android"
const FamilyEnumerationAppleIos FamilyEnumeration = "apple_ios"
const FamilyEnumerationAsa FamilyEnumeration = "asa"
const FamilyEnumerationCatos FamilyEnumeration = "catos"
const FamilyEnumerationIos FamilyEnumeration = "ios"
const FamilyEnumerationIosxe FamilyEnumeration = "iosxe"
const FamilyEnumerationJunos FamilyEnumeration = "junos"
const FamilyEnumerationMacos FamilyEnumeration = "macos"
const FamilyEnumerationPixos FamilyEnumeration = "pixos"
const FamilyEnumerationUndefined FamilyEnumeration = "undefined"
const FamilyEnumerationUnix FamilyEnumeration = "unix"
const FamilyEnumerationVmwareInfrastructure FamilyEnumeration = "vmware_infrastructure"
const FamilyEnumerationWindows FamilyEnumeration = "windows"

type GeneratorType

type GeneratorType struct {
	XMLName xml.Name

	ProductName string `xml:"product_name"`

	ProductVersion string `xml:"product_version"`

	SchemaVersion []SchemaVersionType `xml:"schema_version"`

	Timestamp string `xml:"timestamp"`

	InnerXml string `xml:",innerxml"`
}

func (*GeneratorType) ScapVersion

func (g *GeneratorType) ScapVersion() string

type ItemIDPattern

type ItemIDPattern int64

type MessageLevelEnumeration

type MessageLevelEnumeration string
const MessageLevelEnumerationDebug MessageLevelEnumeration = "debug"
const MessageLevelEnumerationError MessageLevelEnumeration = "error"
const MessageLevelEnumerationFatal MessageLevelEnumeration = "fatal"
const MessageLevelEnumerationInfo MessageLevelEnumeration = "info"
const MessageLevelEnumerationWarning MessageLevelEnumeration = "warning"

type MessageType

type MessageType struct {
	XMLName xml.Name

	Level MessageLevelEnumeration `xml:"level,attr,omitempty"`

	Text     string `xml:",chardata"`
	InnerXml string `xml:",innerxml"`
}

type NonEmptyStringType

type NonEmptyStringType string

type Notes

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

	Note []string `xml:",any"`
}

Element

type NotesType

type NotesType struct {
	XMLName xml.Name

	Note []string `xml:",any"`

	InnerXml string `xml:",innerxml"`
}

type ObjectIDPattern

type ObjectIDPattern string

type OperationEnumeration

type OperationEnumeration string
const OperationEnumerationBitwiseAnd OperationEnumeration = "bitwise and"
const OperationEnumerationBitwiseOr OperationEnumeration = "bitwise or"
const OperationEnumerationCaseInsensitiveEquals OperationEnumeration = "case insensitive equals"
const OperationEnumerationCaseInsensitiveNotEqual OperationEnumeration = "case insensitive not equal"
const OperationEnumerationEquals OperationEnumeration = "equals"
const OperationEnumerationGreaterThan OperationEnumeration = "greater than"
const OperationEnumerationGreaterThanOrEqual OperationEnumeration = "greater than or equal"
const OperationEnumerationLessThan OperationEnumeration = "less than"
const OperationEnumerationLessThanOrEqual OperationEnumeration = "less than or equal"
const OperationEnumerationNotEqual OperationEnumeration = "not equal"
const OperationEnumerationPatternMatch OperationEnumeration = "pattern match"
const OperationEnumerationSubsetOf OperationEnumeration = "subset of"
const OperationEnumerationSupersetOf OperationEnumeration = "superset of"

type OperatorEnumeration

type OperatorEnumeration string
const OperatorEnumerationAnd OperatorEnumeration = "AND"
const OperatorEnumerationOne OperatorEnumeration = "ONE"
const OperatorEnumerationOr OperatorEnumeration = "OR"
const OperatorEnumerationXor OperatorEnumeration = "XOR"

type SchemaVersionPattern

type SchemaVersionPattern string

type SchemaVersionType

type SchemaVersionType struct {
	XMLName xml.Name

	Platform string `xml:"platform,attr,omitempty"`

	Text     string `xml:",chardata"`
	InnerXml string `xml:",innerxml"`
}

type SimpleDatatypeEnumeration

type SimpleDatatypeEnumeration string
const SimpleDatatypeEnumerationBinary SimpleDatatypeEnumeration = "binary"
const SimpleDatatypeEnumerationBoolean SimpleDatatypeEnumeration = "boolean"
const SimpleDatatypeEnumerationDebianEvrString SimpleDatatypeEnumeration = "debian_evr_string"
const SimpleDatatypeEnumerationEvrString SimpleDatatypeEnumeration = "evr_string"
const SimpleDatatypeEnumerationFilesetRevision SimpleDatatypeEnumeration = "fileset_revision"
const SimpleDatatypeEnumerationFloat SimpleDatatypeEnumeration = "float"
const SimpleDatatypeEnumerationInt SimpleDatatypeEnumeration = "int"
const SimpleDatatypeEnumerationIosVersion SimpleDatatypeEnumeration = "ios_version"
const SimpleDatatypeEnumerationIpv4Address SimpleDatatypeEnumeration = "ipv4_address"
const SimpleDatatypeEnumerationIpv6Address SimpleDatatypeEnumeration = "ipv6_address"
const SimpleDatatypeEnumerationString SimpleDatatypeEnumeration = "string"
const SimpleDatatypeEnumerationVersion SimpleDatatypeEnumeration = "version"

type StateIDPattern

type StateIDPattern string

type TestIDPattern

type TestIDPattern string

type VariableIDPattern

type VariableIDPattern string

Jump to

Keyboard shortcuts

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