Documentation ¶
Overview ¶
Code generated by https://github.com/gocomply/xsd2go; DO NOT EDIT. Models for http://checklists.nist.gov/xccdf/1.2
Index ¶
- type Benchmark
- type BenchmarkIdType
- type BenchmarkReferenceType
- type CPE2IdrefType
- type CcOperatorEnumType
- type CheckContentRefType
- type CheckContentType
- type CheckExportType
- type CheckImportType
- type CheckType
- type ComplexCheckType
- type ComplexValueType
- type DcStatusType
- type FactType
- type FixStrategyEnumType
- type FixTextType
- type FixType
- type Group
- type GroupIdType
- type GroupType
- type HtmlTextType
- type HtmlTextWithSubType
- type IdentType
- type IdentityType
- type IdrefListType
- type IdrefType
- type InstanceFixType
- type InstanceResultType
- type InterfaceHintType
- type Item
- type ItemType
- type MessageType
- type MetadataType
- type Model
- type MsgSevEnumType
- type NoticeType
- type OverrideType
- type OverrideableCPE2IdrefType
- type ParamType
- type PlainTextType
- type Profile
- type ProfileIdType
- type ProfileNoteType
- type ProfileRefineRuleType
- type ProfileRefineValueType
- type ProfileSelectType
- type ProfileSetComplexValueType
- type ProfileSetValueType
- type ProfileType
- type RatingEnumType
- type ReferenceType
- type ResultEnumType
- type RoleEnumType
- type Rule
- type RuleIdType
- type RuleResultType
- type RuleType
- type ScoreType
- type SelChoicesType
- type SelComplexValueType
- type SelNumType
- type SelStringType
- type SelectableItemType
- type SeverityEnumType
- type SignatureType
- type Status
- type StatusType
- type SubType
- type SubUseEnumType
- type Tailoring
- type TailoringBenchmarkReferenceType
- type TailoringIdType
- type TailoringReferenceType
- type TailoringType
- type TailoringVersionType
- type TargetFactsType
- type TargetIdRefType
- type TestResult
- type TestResultType
- type TestresultIdType
- type TextType
- type TextWithSubType
- type UriRefType
- type Value
- type ValueIdType
- type ValueOperatorType
- type ValueType
- type ValueTypeType
- type VersionType
- type WarningCategoryEnumType
- type WarningType
- type WeightType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Benchmark ¶
type Benchmark struct { XMLName xml.Name `xml:"Benchmark"` Id BenchmarkIdType `xml:"id,attr"` Id2 string `xml:"Id,attr,omitempty"` Resolved bool `xml:"resolved,attr,omitempty"` Style string `xml:"style,attr,omitempty"` StyleHref string `xml:"style-href,attr,omitempty"` XmlLang string `xml:"lang,attr"` Status []Status `xml:"status"` DcStatus []DcStatusType `xml:"dc-status"` Title []TextType `xml:"title"` Description []HtmlTextWithSubType `xml:"description"` Notice []NoticeType `xml:"notice"` FrontMatter []HtmlTextWithSubType `xml:"front-matter"` RearMatter []HtmlTextWithSubType `xml:"rear-matter"` Reference []ReferenceType `xml:"reference"` PlainText []PlainTextType `xml:"plain-text"` PlatformSpecification *cpe_language.PlatformSpecificationType `xml:"platform-specification"` Platform []CPE2IdrefType `xml:"platform"` Version VersionType `xml:"version"` Metadata []MetadataType `xml:"metadata"` Model []Model `xml:"model"` Profile []ProfileType `xml:"Profile"` Value []ValueType `xml:"Value"` TestResult []TestResultType `xml:"TestResult"` Signature *SignatureType `xml:"signature"` Group []GroupType `xml:"Group"` Rule []RuleType `xml:"Rule"` }
Element
func (*Benchmark) ScapVersion ¶
type BenchmarkIdType ¶
type BenchmarkIdType string
type BenchmarkReferenceType ¶
type CPE2IdrefType ¶
type CcOperatorEnumType ¶
type CcOperatorEnumType string
const CcOperatorEnumTypeAnd CcOperatorEnumType = "AND"
const CcOperatorEnumTypeOr CcOperatorEnumType = "OR"
type CheckContentRefType ¶
type CheckContentType ¶
type CheckExportType ¶
type CheckImportType ¶
type CheckType ¶
type CheckType struct { XMLName xml.Name System string `xml:"system,attr"` Negate bool `xml:"negate,attr,omitempty"` Id string `xml:"id,attr,omitempty"` Selector string `xml:"selector,attr,omitempty"` MultiCheck bool `xml:"multi-check,attr,omitempty"` XmlBase string `xml:"base,attr"` CheckImport []CheckImportType `xml:"check-import"` CheckExport []CheckExportType `xml:"check-export"` CheckContentRef []CheckContentRefType `xml:"check-content-ref"` CheckContent *CheckContentType `xml:"check-content"` InnerXml string `xml:",innerxml"` }
type ComplexCheckType ¶
type ComplexCheckType struct { XMLName xml.Name Operator CcOperatorEnumType `xml:"operator,attr"` Negate bool `xml:"negate,attr,omitempty"` Check []CheckType `xml:"check"` ComplexCheck []ComplexCheckType `xml:"complex-check"` InnerXml string `xml:",innerxml"` }
type ComplexValueType ¶
type DcStatusType ¶
type FixStrategyEnumType ¶
type FixStrategyEnumType string
const FixStrategyEnumTypeCombination FixStrategyEnumType = "combination"
const FixStrategyEnumTypeConfigure FixStrategyEnumType = "configure"
const FixStrategyEnumTypeDisable FixStrategyEnumType = "disable"
const FixStrategyEnumTypeEnable FixStrategyEnumType = "enable"
const FixStrategyEnumTypePatch FixStrategyEnumType = "patch"
const FixStrategyEnumTypePolicy FixStrategyEnumType = "policy"
const FixStrategyEnumTypeRestrict FixStrategyEnumType = "restrict"
const FixStrategyEnumTypeUnknown FixStrategyEnumType = "unknown"
const FixStrategyEnumTypeUpdate FixStrategyEnumType = "update"
type FixTextType ¶
type FixTextType struct { XMLName xml.Name Fixref string `xml:"fixref,attr,omitempty"` Reboot bool `xml:"reboot,attr,omitempty"` Strategy FixStrategyEnumType `xml:"strategy,attr,omitempty"` Disruption RatingEnumType `xml:"disruption,attr,omitempty"` Complexity RatingEnumType `xml:"complexity,attr,omitempty"` XmlLang string `xml:"lang,attr"` Override bool `xml:"override,attr,omitempty"` Sub []SubType `xml:",any"` InnerXml string `xml:",innerxml"` }
type FixType ¶
type FixType struct { XMLName xml.Name Id string `xml:"id,attr,omitempty"` Reboot bool `xml:"reboot,attr,omitempty"` Strategy FixStrategyEnumType `xml:"strategy,attr,omitempty"` Disruption RatingEnumType `xml:"disruption,attr,omitempty"` Complexity RatingEnumType `xml:"complexity,attr,omitempty"` System string `xml:"system,attr,omitempty"` Platform string `xml:"platform,attr,omitempty"` Sub []SubType `xml:"sub"` Instance []InstanceFixType `xml:"instance"` InnerXml string `xml:",innerxml"` }
type Group ¶
type Group struct { XMLName xml.Name `xml:"Group"` Id string `xml:"id,attr"` Selected string `xml:"selected,attr,omitempty"` Weight string `xml:"weight,attr,omitempty"` Abstract bool `xml:"abstract,attr,omitempty"` ClusterId string `xml:"cluster-id,attr,omitempty"` Extends string `xml:"extends,attr,omitempty"` Hidden bool `xml:"hidden,attr,omitempty"` ProhibitChanges bool `xml:"prohibitChanges,attr,omitempty"` XmlLang string `xml:"lang,attr"` XmlBase string `xml:"base,attr"` Value []ValueType `xml:"Value"` Signature *SignatureType `xml:"signature"` Group []GroupType `xml:"Group"` Rule []RuleType `xml:"Rule"` Rationale []HtmlTextWithSubType `xml:"rationale"` Platform []OverrideableCPE2IdrefType `xml:"platform"` Requires []IdrefListType `xml:"requires"` Conflicts []IdrefType `xml:"conflicts"` Status []Status `xml:"status"` DcStatus []DcStatusType `xml:"dc-status"` Version *VersionType `xml:"version"` Title []TextWithSubType `xml:"title"` Description []HtmlTextWithSubType `xml:"description"` Warning []WarningType `xml:"warning"` Question []TextType `xml:"question"` Reference []ReferenceType `xml:"reference"` Metadata []MetadataType `xml:"metadata"` }
Element
type GroupIdType ¶
type GroupIdType string
type GroupType ¶
type GroupType struct { XMLName xml.Name Id string `xml:"id,attr"` Selected string `xml:"selected,attr,omitempty"` Weight string `xml:"weight,attr,omitempty"` Abstract bool `xml:"abstract,attr,omitempty"` ClusterId string `xml:"cluster-id,attr,omitempty"` Extends string `xml:"extends,attr,omitempty"` Hidden bool `xml:"hidden,attr,omitempty"` ProhibitChanges bool `xml:"prohibitChanges,attr,omitempty"` XmlLang string `xml:"lang,attr"` XmlBase string `xml:"base,attr"` Value []ValueType `xml:"Value"` Signature *SignatureType `xml:"signature"` Group []GroupType `xml:"Group"` Rule []RuleType `xml:"Rule"` Rationale []HtmlTextWithSubType `xml:"rationale"` Platform []OverrideableCPE2IdrefType `xml:"platform"` Requires []IdrefListType `xml:"requires"` Conflicts []IdrefType `xml:"conflicts"` Status []Status `xml:"status"` DcStatus []DcStatusType `xml:"dc-status"` Version *VersionType `xml:"version"` Title []TextWithSubType `xml:"title"` Description []HtmlTextWithSubType `xml:"description"` Warning []WarningType `xml:"warning"` Question []TextType `xml:"question"` Reference []ReferenceType `xml:"reference"` Metadata []MetadataType `xml:"metadata"` InnerXml string `xml:",innerxml"` }
type HtmlTextType ¶
type HtmlTextWithSubType ¶
type IdentityType ¶
type IdrefListType ¶
type InstanceFixType ¶
type InstanceResultType ¶
type InterfaceHintType ¶
type InterfaceHintType string
const InterfaceHintTypeChoice InterfaceHintType = "choice"
const InterfaceHintTypeDate InterfaceHintType = "date"
const InterfaceHintTypeDatetime InterfaceHintType = "datetime"
const InterfaceHintTypeText InterfaceHintType = "text"
const InterfaceHintTypeTextline InterfaceHintType = "textline"
type Item ¶
type Item struct { XMLName xml.Name `xml:"Item"` Abstract bool `xml:"abstract,attr,omitempty"` ClusterId string `xml:"cluster-id,attr,omitempty"` Extends string `xml:"extends,attr,omitempty"` Hidden bool `xml:"hidden,attr,omitempty"` ProhibitChanges bool `xml:"prohibitChanges,attr,omitempty"` XmlLang string `xml:"lang,attr"` XmlBase string `xml:"base,attr"` Id string `xml:"Id,attr,omitempty"` Status []Status `xml:"status"` DcStatus []DcStatusType `xml:"dc-status"` Version *VersionType `xml:"version"` Title []TextWithSubType `xml:"title"` Description []HtmlTextWithSubType `xml:"description"` Warning []WarningType `xml:"warning"` Question []TextType `xml:"question"` Reference []ReferenceType `xml:"reference"` Metadata []MetadataType `xml:"metadata"` }
Element
type ItemType ¶
type ItemType struct { XMLName xml.Name Abstract bool `xml:"abstract,attr,omitempty"` ClusterId string `xml:"cluster-id,attr,omitempty"` Extends string `xml:"extends,attr,omitempty"` Hidden bool `xml:"hidden,attr,omitempty"` ProhibitChanges bool `xml:"prohibitChanges,attr,omitempty"` XmlLang string `xml:"lang,attr"` XmlBase string `xml:"base,attr"` Id string `xml:"Id,attr,omitempty"` Status []Status `xml:"status"` DcStatus []DcStatusType `xml:"dc-status"` Version *VersionType `xml:"version"` Title []TextWithSubType `xml:"title"` Description []HtmlTextWithSubType `xml:"description"` Warning []WarningType `xml:"warning"` Question []TextType `xml:"question"` Reference []ReferenceType `xml:"reference"` Metadata []MetadataType `xml:"metadata"` InnerXml string `xml:",innerxml"` }
type MessageType ¶
type MessageType struct { XMLName xml.Name Severity MsgSevEnumType `xml:"severity,attr"` Text string `xml:",chardata"` InnerXml string `xml:",innerxml"` }
type MetadataType ¶
type Model ¶
type Model struct { XMLName xml.Name `xml:"model"` System string `xml:"system,attr"` Param []ParamType `xml:",any"` }
Element
type MsgSevEnumType ¶
type MsgSevEnumType string
const MsgSevEnumTypeError MsgSevEnumType = "error"
const MsgSevEnumTypeInfo MsgSevEnumType = "info"
const MsgSevEnumTypeWarning MsgSevEnumType = "warning"
type NoticeType ¶
type OverrideType ¶
type OverrideType struct { XMLName xml.Name Time string `xml:"time,attr"` Authority string `xml:"authority,attr"` OldResult ResultEnumType `xml:"old-result"` NewResult ResultEnumType `xml:"new-result"` Remark TextType `xml:"remark"` InnerXml string `xml:",innerxml"` }
type PlainTextType ¶
type Profile ¶
type Profile struct { XMLName xml.Name `xml:"Profile"` Id ProfileIdType `xml:"id,attr"` ProhibitChanges bool `xml:"prohibitChanges,attr,omitempty"` Abstract bool `xml:"abstract,attr,omitempty"` NoteTag string `xml:"note-tag,attr,omitempty"` Extends string `xml:"extends,attr,omitempty"` XmlBase string `xml:"base,attr"` Id2 string `xml:"Id,attr,omitempty"` Status []Status `xml:"status"` DcStatus []DcStatusType `xml:"dc-status"` Version *VersionType `xml:"version"` Title []TextWithSubType `xml:"title"` Description []HtmlTextWithSubType `xml:"description"` Reference []ReferenceType `xml:"reference"` Platform []OverrideableCPE2IdrefType `xml:"platform"` Metadata []MetadataType `xml:"metadata"` Signature *SignatureType `xml:"signature"` Select []ProfileSelectType `xml:"select"` SetComplexValue []ProfileSetComplexValueType `xml:"set-complex-value"` SetValue []ProfileSetValueType `xml:"set-value"` RefineValue []ProfileRefineValueType `xml:"refine-value"` RefineRule []ProfileRefineRuleType `xml:"refine-rule"` }
Element
type ProfileIdType ¶
type ProfileIdType string
type ProfileNoteType ¶
type ProfileRefineRuleType ¶
type ProfileRefineRuleType struct { XMLName xml.Name Idref string `xml:"idref,attr"` Weight WeightType `xml:"weight,attr,omitempty"` Selector string `xml:"selector,attr,omitempty"` Severity SeverityEnumType `xml:"severity,attr,omitempty"` Role RoleEnumType `xml:"role,attr,omitempty"` Remark []TextType `xml:",any"` InnerXml string `xml:",innerxml"` }
type ProfileRefineValueType ¶
type ProfileSelectType ¶
type ProfileSetValueType ¶
type ProfileType ¶
type ProfileType struct { XMLName xml.Name Id ProfileIdType `xml:"id,attr"` ProhibitChanges bool `xml:"prohibitChanges,attr,omitempty"` Abstract bool `xml:"abstract,attr,omitempty"` NoteTag string `xml:"note-tag,attr,omitempty"` Extends string `xml:"extends,attr,omitempty"` XmlBase string `xml:"base,attr"` Id2 string `xml:"Id,attr,omitempty"` Status []Status `xml:"status"` DcStatus []DcStatusType `xml:"dc-status"` Version *VersionType `xml:"version"` Title []TextWithSubType `xml:"title"` Description []HtmlTextWithSubType `xml:"description"` Reference []ReferenceType `xml:"reference"` Platform []OverrideableCPE2IdrefType `xml:"platform"` Metadata []MetadataType `xml:"metadata"` Signature *SignatureType `xml:"signature"` Select []ProfileSelectType `xml:"select"` SetComplexValue []ProfileSetComplexValueType `xml:"set-complex-value"` SetValue []ProfileSetValueType `xml:"set-value"` RefineValue []ProfileRefineValueType `xml:"refine-value"` RefineRule []ProfileRefineRuleType `xml:"refine-rule"` InnerXml string `xml:",innerxml"` }
type RatingEnumType ¶
type RatingEnumType string
const RatingEnumTypeHigh RatingEnumType = "high"
const RatingEnumTypeLow RatingEnumType = "low"
const RatingEnumTypeMedium RatingEnumType = "medium"
const RatingEnumTypeUnknown RatingEnumType = "unknown"
type ReferenceType ¶
type ResultEnumType ¶
type ResultEnumType string
const ResultEnumTypeError ResultEnumType = "error"
const ResultEnumTypeFail ResultEnumType = "fail"
const ResultEnumTypeFixed ResultEnumType = "fixed"
const ResultEnumTypeInformational ResultEnumType = "informational"
const ResultEnumTypeNotapplicable ResultEnumType = "notapplicable"
const ResultEnumTypeNotchecked ResultEnumType = "notchecked"
const ResultEnumTypeNotselected ResultEnumType = "notselected"
const ResultEnumTypePass ResultEnumType = "pass"
const ResultEnumTypeUnknown ResultEnumType = "unknown"
type RoleEnumType ¶
type RoleEnumType string
const RoleEnumTypeFull RoleEnumType = "full"
const RoleEnumTypeUnchecked RoleEnumType = "unchecked"
const RoleEnumTypeUnscored RoleEnumType = "unscored"
type Rule ¶
type Rule struct { XMLName xml.Name `xml:"Rule"` Id string `xml:"id,attr"` Role string `xml:"role,attr,omitempty"` Severity string `xml:"severity,attr,omitempty"` Multiple string `xml:"multiple,attr,omitempty"` Selected string `xml:"selected,attr,omitempty"` Weight string `xml:"weight,attr,omitempty"` Abstract bool `xml:"abstract,attr,omitempty"` ClusterId string `xml:"cluster-id,attr,omitempty"` Extends string `xml:"extends,attr,omitempty"` Hidden bool `xml:"hidden,attr,omitempty"` ProhibitChanges bool `xml:"prohibitChanges,attr,omitempty"` XmlLang string `xml:"lang,attr"` XmlBase string `xml:"base,attr"` Ident []IdentType `xml:"ident"` ImpactMetric string `xml:"impact-metric"` ProfileNote []ProfileNoteType `xml:"profile-note"` Fixtext []FixTextType `xml:"fixtext"` Fix []FixType `xml:"fix"` Signature *SignatureType `xml:"signature"` Check []CheckType `xml:"check"` ComplexCheck *ComplexCheckType `xml:"complex-check"` Rationale []HtmlTextWithSubType `xml:"rationale"` Platform []OverrideableCPE2IdrefType `xml:"platform"` Requires []IdrefListType `xml:"requires"` Conflicts []IdrefType `xml:"conflicts"` Status []Status `xml:"status"` DcStatus []DcStatusType `xml:"dc-status"` Version *VersionType `xml:"version"` Title []TextWithSubType `xml:"title"` Description []HtmlTextWithSubType `xml:"description"` Warning []WarningType `xml:"warning"` Question []TextType `xml:"question"` Reference []ReferenceType `xml:"reference"` Metadata []MetadataType `xml:"metadata"` }
Element
type RuleIdType ¶
type RuleIdType string
type RuleResultType ¶
type RuleResultType struct { XMLName xml.Name Idref string `xml:"idref,attr"` Role RoleEnumType `xml:"role,attr,omitempty"` Severity SeverityEnumType `xml:"severity,attr,omitempty"` Time string `xml:"time,attr,omitempty"` Version string `xml:"version,attr,omitempty"` Weight WeightType `xml:"weight,attr,omitempty"` Result ResultEnumType `xml:"result"` Override []OverrideType `xml:"override"` Ident []IdentType `xml:"ident"` Metadata []MetadataType `xml:"metadata"` Message []MessageType `xml:"message"` Instance []InstanceResultType `xml:"instance"` Fix []FixType `xml:"fix"` Check []CheckType `xml:"check"` ComplexCheck *ComplexCheckType `xml:"complex-check"` InnerXml string `xml:",innerxml"` }
type RuleType ¶
type RuleType struct { XMLName xml.Name Id string `xml:"id,attr"` Role string `xml:"role,attr,omitempty"` Severity string `xml:"severity,attr,omitempty"` Multiple string `xml:"multiple,attr,omitempty"` Selected string `xml:"selected,attr,omitempty"` Weight string `xml:"weight,attr,omitempty"` Abstract bool `xml:"abstract,attr,omitempty"` ClusterId string `xml:"cluster-id,attr,omitempty"` Extends string `xml:"extends,attr,omitempty"` Hidden bool `xml:"hidden,attr,omitempty"` ProhibitChanges bool `xml:"prohibitChanges,attr,omitempty"` XmlLang string `xml:"lang,attr"` XmlBase string `xml:"base,attr"` Ident []IdentType `xml:"ident"` ImpactMetric string `xml:"impact-metric"` ProfileNote []ProfileNoteType `xml:"profile-note"` Fixtext []FixTextType `xml:"fixtext"` Fix []FixType `xml:"fix"` Signature *SignatureType `xml:"signature"` Check []CheckType `xml:"check"` ComplexCheck *ComplexCheckType `xml:"complex-check"` Rationale []HtmlTextWithSubType `xml:"rationale"` Platform []OverrideableCPE2IdrefType `xml:"platform"` Requires []IdrefListType `xml:"requires"` Conflicts []IdrefType `xml:"conflicts"` Status []Status `xml:"status"` DcStatus []DcStatusType `xml:"dc-status"` Version *VersionType `xml:"version"` Title []TextWithSubType `xml:"title"` Description []HtmlTextWithSubType `xml:"description"` Warning []WarningType `xml:"warning"` Question []TextType `xml:"question"` Reference []ReferenceType `xml:"reference"` Metadata []MetadataType `xml:"metadata"` InnerXml string `xml:",innerxml"` }
type SelChoicesType ¶
type SelComplexValueType ¶
type SelNumType ¶
type SelStringType ¶
type SelectableItemType ¶
type SelectableItemType struct { XMLName xml.Name Selected string `xml:"selected,attr,omitempty"` Weight string `xml:"weight,attr,omitempty"` Abstract bool `xml:"abstract,attr,omitempty"` ClusterId string `xml:"cluster-id,attr,omitempty"` Extends string `xml:"extends,attr,omitempty"` Hidden bool `xml:"hidden,attr,omitempty"` ProhibitChanges bool `xml:"prohibitChanges,attr,omitempty"` XmlLang string `xml:"lang,attr"` XmlBase string `xml:"base,attr"` Id string `xml:"Id,attr,omitempty"` Rationale []HtmlTextWithSubType `xml:"rationale"` Platform []OverrideableCPE2IdrefType `xml:"platform"` Requires []IdrefListType `xml:"requires"` Conflicts []IdrefType `xml:"conflicts"` Status []Status `xml:"status"` DcStatus []DcStatusType `xml:"dc-status"` Version *VersionType `xml:"version"` Title []TextWithSubType `xml:"title"` Description []HtmlTextWithSubType `xml:"description"` Warning []WarningType `xml:"warning"` Question []TextType `xml:"question"` Reference []ReferenceType `xml:"reference"` Metadata []MetadataType `xml:"metadata"` InnerXml string `xml:",innerxml"` }
type SeverityEnumType ¶
type SeverityEnumType string
const SeverityEnumTypeHigh SeverityEnumType = "high"
const SeverityEnumTypeInfo SeverityEnumType = "info"
const SeverityEnumTypeLow SeverityEnumType = "low"
const SeverityEnumTypeMedium SeverityEnumType = "medium"
const SeverityEnumTypeUnknown SeverityEnumType = "unknown"
type SignatureType ¶
type Status ¶
type Status struct { XMLName xml.Name `xml:"status"` Date string `xml:"date,attr,omitempty"` Text string `xml:",chardata"` }
Element
type StatusType ¶
type StatusType string
const StatusTypeAccepted StatusType = "accepted"
const StatusTypeDeprecated StatusType = "deprecated"
const StatusTypeDraft StatusType = "draft"
const StatusTypeIncomplete StatusType = "incomplete"
const StatusTypeInterim StatusType = "interim"
type SubUseEnumType ¶
type SubUseEnumType string
const SubUseEnumTypeLegacy SubUseEnumType = "legacy"
const SubUseEnumTypeTitle SubUseEnumType = "title"
const SubUseEnumTypeValue SubUseEnumType = "value"
type Tailoring ¶
type Tailoring struct { XMLName xml.Name `xml:"Tailoring"` Id TailoringIdType `xml:"id,attr"` Id2 string `xml:"Id,attr,omitempty"` Benchmark *TailoringBenchmarkReferenceType `xml:"benchmark"` Status []Status `xml:"status"` DcStatus []DcStatusType `xml:"dc-status"` Version TailoringVersionType `xml:"version"` Metadata []MetadataType `xml:"metadata"` Profile []ProfileType `xml:"Profile"` Signature *SignatureType `xml:"signature"` }
Element
type TailoringIdType ¶
type TailoringIdType string
type TailoringReferenceType ¶
type TailoringType ¶
type TailoringType struct { XMLName xml.Name Id TailoringIdType `xml:"id,attr"` Id2 string `xml:"Id,attr,omitempty"` Benchmark *TailoringBenchmarkReferenceType `xml:"benchmark"` Status []Status `xml:"status"` DcStatus []DcStatusType `xml:"dc-status"` Version TailoringVersionType `xml:"version"` Metadata []MetadataType `xml:"metadata"` Profile []ProfileType `xml:"Profile"` Signature *SignatureType `xml:"signature"` InnerXml string `xml:",innerxml"` }
type TailoringVersionType ¶
type TargetFactsType ¶
type TargetIdRefType ¶
type TestResult ¶
type TestResult struct { XMLName xml.Name `xml:"TestResult"` Id TestresultIdType `xml:"id,attr"` StartTime string `xml:"start-time,attr,omitempty"` EndTime string `xml:"end-time,attr"` TestSystem string `xml:"test-system,attr,omitempty"` Version string `xml:"version,attr,omitempty"` Id2 string `xml:"Id,attr,omitempty"` Benchmark *BenchmarkReferenceType `xml:"benchmark"` TailoringFile *TailoringReferenceType `xml:"tailoring-file"` Title []TextType `xml:"title"` Remark []TextType `xml:"remark"` Organization []string `xml:"organization"` Identity *IdentityType `xml:"identity"` Profile *IdrefType `xml:"profile"` Target []string `xml:"target"` TargetAddress []string `xml:"target-address"` TargetFacts *TargetFactsType `xml:"target-facts"` Platform []CPE2IdrefType `xml:"platform"` RuleResult []RuleResultType `xml:"rule-result"` Score []ScoreType `xml:"score"` Metadata []MetadataType `xml:"metadata"` Signature *SignatureType `xml:"signature"` TargetIdRef []TargetIdRefType `xml:"target-id-ref"` SetValue []ProfileSetValueType `xml:"set-value"` SetComplexValue []ProfileSetComplexValueType `xml:"set-complex-value"` }
Element
type TestResultType ¶
type TestResultType struct { XMLName xml.Name Id TestresultIdType `xml:"id,attr"` StartTime string `xml:"start-time,attr,omitempty"` EndTime string `xml:"end-time,attr"` TestSystem string `xml:"test-system,attr,omitempty"` Version string `xml:"version,attr,omitempty"` Id2 string `xml:"Id,attr,omitempty"` Benchmark *BenchmarkReferenceType `xml:"benchmark"` TailoringFile *TailoringReferenceType `xml:"tailoring-file"` Title []TextType `xml:"title"` Remark []TextType `xml:"remark"` Organization []string `xml:"organization"` Identity *IdentityType `xml:"identity"` Profile *IdrefType `xml:"profile"` Target []string `xml:"target"` TargetAddress []string `xml:"target-address"` TargetFacts *TargetFactsType `xml:"target-facts"` Platform []CPE2IdrefType `xml:"platform"` RuleResult []RuleResultType `xml:"rule-result"` Score []ScoreType `xml:"score"` Metadata []MetadataType `xml:"metadata"` Signature *SignatureType `xml:"signature"` TargetIdRef []TargetIdRefType `xml:"target-id-ref"` SetValue []ProfileSetValueType `xml:"set-value"` SetComplexValue []ProfileSetComplexValueType `xml:"set-complex-value"` InnerXml string `xml:",innerxml"` }
type TestresultIdType ¶
type TestresultIdType string
type TextWithSubType ¶
type UriRefType ¶
type Value ¶
type Value struct { XMLName xml.Name `xml:"Value"` Id string `xml:"id,attr"` Type string `xml:"type,attr,omitempty"` Operator string `xml:"operator,attr,omitempty"` Interactive string `xml:"interactive,attr,omitempty"` InterfaceHint string `xml:"interfaceHint,attr,omitempty"` Abstract bool `xml:"abstract,attr,omitempty"` ClusterId string `xml:"cluster-id,attr,omitempty"` Extends string `xml:"extends,attr,omitempty"` Hidden bool `xml:"hidden,attr,omitempty"` ProhibitChanges bool `xml:"prohibitChanges,attr,omitempty"` XmlLang string `xml:"lang,attr"` XmlBase string `xml:"base,attr"` Match []SelStringType `xml:"match"` LowerBound []SelNumType `xml:"lower-bound"` UpperBound []SelNumType `xml:"upper-bound"` Choices []SelChoicesType `xml:"choices"` Source []UriRefType `xml:"source"` Signature *SignatureType `xml:"signature"` Value []SelStringType `xml:"value"` ComplexValue []SelComplexValueType `xml:"complex-value"` Default []SelStringType `xml:"default"` ComplexDefault []SelComplexValueType `xml:"complex-default"` Status []Status `xml:"status"` DcStatus []DcStatusType `xml:"dc-status"` Version *VersionType `xml:"version"` Title []TextWithSubType `xml:"title"` Description []HtmlTextWithSubType `xml:"description"` Warning []WarningType `xml:"warning"` Question []TextType `xml:"question"` Reference []ReferenceType `xml:"reference"` Metadata []MetadataType `xml:"metadata"` }
Element
type ValueIdType ¶
type ValueIdType string
type ValueOperatorType ¶
type ValueOperatorType string
const ValueOperatorTypeEquals ValueOperatorType = "equals"
const ValueOperatorTypeGreaterThan ValueOperatorType = "greater than"
const ValueOperatorTypeGreaterThanOrEqual ValueOperatorType = "greater than or equal"
const ValueOperatorTypeLessThan ValueOperatorType = "less than"
const ValueOperatorTypeLessThanOrEqual ValueOperatorType = "less than or equal"
const ValueOperatorTypeNotEqual ValueOperatorType = "not equal"
const ValueOperatorTypePatternMatch ValueOperatorType = "pattern match"
type ValueType ¶
type ValueType struct { XMLName xml.Name Id string `xml:"id,attr"` Type string `xml:"type,attr,omitempty"` Operator string `xml:"operator,attr,omitempty"` Interactive string `xml:"interactive,attr,omitempty"` InterfaceHint string `xml:"interfaceHint,attr,omitempty"` Abstract bool `xml:"abstract,attr,omitempty"` ClusterId string `xml:"cluster-id,attr,omitempty"` Extends string `xml:"extends,attr,omitempty"` Hidden bool `xml:"hidden,attr,omitempty"` ProhibitChanges bool `xml:"prohibitChanges,attr,omitempty"` XmlLang string `xml:"lang,attr"` XmlBase string `xml:"base,attr"` Match []SelStringType `xml:"match"` LowerBound []SelNumType `xml:"lower-bound"` UpperBound []SelNumType `xml:"upper-bound"` Choices []SelChoicesType `xml:"choices"` Source []UriRefType `xml:"source"` Signature *SignatureType `xml:"signature"` Value []SelStringType `xml:"value"` ComplexValue []SelComplexValueType `xml:"complex-value"` Default []SelStringType `xml:"default"` ComplexDefault []SelComplexValueType `xml:"complex-default"` Status []Status `xml:"status"` DcStatus []DcStatusType `xml:"dc-status"` Version *VersionType `xml:"version"` Title []TextWithSubType `xml:"title"` Description []HtmlTextWithSubType `xml:"description"` Warning []WarningType `xml:"warning"` Question []TextType `xml:"question"` Reference []ReferenceType `xml:"reference"` Metadata []MetadataType `xml:"metadata"` InnerXml string `xml:",innerxml"` }
type ValueTypeType ¶
type ValueTypeType string
const ValueTypeTypeBoolean ValueTypeType = "boolean"
const ValueTypeTypeNumber ValueTypeType = "number"
const ValueTypeTypeString ValueTypeType = "string"
type VersionType ¶
type WarningCategoryEnumType ¶
type WarningCategoryEnumType string
const WarningCategoryEnumTypeAudit WarningCategoryEnumType = "audit"
const WarningCategoryEnumTypeDependency WarningCategoryEnumType = "dependency"
const WarningCategoryEnumTypeFunctionality WarningCategoryEnumType = "functionality"
const WarningCategoryEnumTypeGeneral WarningCategoryEnumType = "general"
const WarningCategoryEnumTypeHardware WarningCategoryEnumType = "hardware"
const WarningCategoryEnumTypeLegal WarningCategoryEnumType = "legal"
const WarningCategoryEnumTypeManagement WarningCategoryEnumType = "management"
const WarningCategoryEnumTypePerformance WarningCategoryEnumType = "performance"
const WarningCategoryEnumTypeRegulatory WarningCategoryEnumType = "regulatory"
type WarningType ¶
type WeightType ¶
type WeightType float64
Click to show internal directories.
Click to hide internal directories.