| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| 3 |
xmlns:cdf="http://checklists.nist.gov/xccdf/1.2" xmlns:cpe2="http://cpe.mitre.org/language/2.0" |
| 4 |
targetNamespace="http://checklists.nist.gov/xccdf/1.2" elementFormDefault="qualified" |
| 5 |
attributeFormDefault="unqualified" version="1.2.1"> |
| 6 |
|
| 7 |
<xsd:annotation> |
| 8 |
<xsd:documentation xml:lang="en"> This schema defines the Extensible Configuration Checklist |
| 9 |
Description Format (XCCDF), a data format for defining security benchmarks and |
| 10 |
checklists, and for recording the results of applying such benchmarks. For more |
| 11 |
information, consult the specification document, NIST Interagency Report 7275 Revision |
| 12 |
4, "Specification for the Extensible Configuration Checklist Description Format Version |
| 13 |
1.2". This schema was developed by Neal Ziring, with ideas and assistance from David |
| 14 |
Waltermire. The following helpful individuals also contributed ideas to the definition |
| 15 |
of this schema: David Proulx, Andrew Buttner, Ryan Wilson, Matthew Kerr, and Stephen |
| 16 |
Quinn. Ian Crawford found numerous discrepancies between this schema and the spec |
| 17 |
document. Peter Mell and his colleagues also made many suggestions. </xsd:documentation> |
| 18 |
<xsd:appinfo> |
| 19 |
<schema>XCCDF Language</schema> |
| 20 |
<author>Neal Ziring</author> |
| 21 |
<version>1.2</version> |
| 22 |
<date>2012-02-23</date> |
| 23 |
</xsd:appinfo> |
| 24 |
</xsd:annotation> |
| 25 |
|
| 26 |
|
| 27 |
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="../../common/xml.xsd"> |
| 28 |
<xsd:annotation> |
| 29 |
<xsd:documentation xml:lang="en"> Import the XML namespace because this schema uses the |
| 30 |
@xml:lang and @xml:base attributes. </xsd:documentation> |
| 31 |
</xsd:annotation> |
| 32 |
</xsd:import> |
| 33 |
|
| 34 |
|
| 35 |
<xsd:import namespace="http://cpe.mitre.org/language/2.0" schemaLocation="cpe-language_2.3.xsd"> |
| 36 |
<xsd:annotation> |
| 37 |
<xsd:documentation xml:lang="en"> Import the Common Platform Enumeration language |
| 38 |
schema, which can be used for defining compound CPE tests for complex IT platforms |
| 39 |
in the <xccdf:Benchmark>. For more info see NIST IRs 7695-7698, the |
| 40 |
specification documents for CPE version 2.3. </xsd:documentation> |
| 41 |
</xsd:annotation> |
| 42 |
</xsd:import> |
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
<xsd:element name="Benchmark"> |
| 48 |
<xsd:annotation> |
| 49 |
<xsd:documentation xml:lang="en"> This is the root element of the XCCDF document; it |
| 50 |
must appear exactly once. It encloses the entire benchmark, and contains both |
| 51 |
descriptive information and structural information. Note that the order of |
| 52 |
<xccdf:Group> and <xccdf:Rule> child elements may matter for the |
| 53 |
appearance of a generated document. <xccdf:Group> and <xccdf:Rule> |
| 54 |
children may be freely intermingled, but they must appear after any |
| 55 |
<xccdf:Value> children. All the other children must appear in the order |
| 56 |
shown.</xsd:documentation> |
| 57 |
</xsd:annotation> |
| 58 |
<xsd:complexType> |
| 59 |
<xsd:sequence> |
| 60 |
<xsd:element ref="cdf:status" minOccurs="1" maxOccurs="unbounded"> |
| 61 |
<xsd:annotation> |
| 62 |
<xsd:documentation xml:lang="en">Status of the <xccdf:Benchmark> |
| 63 |
indicating its level of maturity or consensus. If more than one |
| 64 |
<xccdf:status> element appears, the element's @date attribute |
| 65 |
should be included.</xsd:documentation> |
| 66 |
</xsd:annotation> |
| 67 |
</xsd:element> |
| 68 |
<xsd:element name="dc-status" minOccurs="0" maxOccurs="unbounded" |
| 69 |
type="cdf:dc-statusType"> |
| 70 |
<xsd:annotation> |
| 71 |
<xsd:documentation xml:lang="en">Holds additional status information using |
| 72 |
the Dublin Core format.</xsd:documentation> |
| 73 |
</xsd:annotation> |
| 74 |
</xsd:element> |
| 75 |
<xsd:element name="title" type="cdf:textType" minOccurs="0" maxOccurs="unbounded"> |
| 76 |
<xsd:annotation> |
| 77 |
<xsd:documentation xml:lang="en">Title of the <xccdf:Benchmark>; an |
| 78 |
<xccdf:Benchmark> should have an |
| 79 |
<xccdf:title>.</xsd:documentation> |
| 80 |
</xsd:annotation> |
| 81 |
</xsd:element> |
| 82 |
<xsd:element name="description" type="cdf:htmlTextWithSubType" minOccurs="0" |
| 83 |
maxOccurs="unbounded"> |
| 84 |
<xsd:annotation> |
| 85 |
<xsd:documentation xml:lang="en">Text that describes the |
| 86 |
<xccdf:Benchmark>; an <xccdf:Benchmark> should have an |
| 87 |
<xccdf:description>.</xsd:documentation> |
| 88 |
</xsd:annotation> |
| 89 |
</xsd:element> |
| 90 |
<xsd:element name="notice" type="cdf:noticeType" minOccurs="0" maxOccurs="unbounded"> |
| 91 |
<xsd:annotation> |
| 92 |
<xsd:documentation xml:lang="en">Legal notices (licensing information, terms |
| 93 |
of use, etc.), copyright statements, warnings, and other advisory |
| 94 |
notices about this <xccdf:Benchmark> and its |
| 95 |
use.</xsd:documentation> |
| 96 |
</xsd:annotation> |
| 97 |
</xsd:element> |
| 98 |
<xsd:element name="front-matter" type="cdf:htmlTextWithSubType" minOccurs="0" |
| 99 |
maxOccurs="unbounded"> |
| 100 |
<xsd:annotation> |
| 101 |
<xsd:documentation xml:lang="en">Introductory matter for the beginning of |
| 102 |
the <xccdf:Benchmark> document; intended for use during Document |
| 103 |
Generation.</xsd:documentation> |
| 104 |
</xsd:annotation> |
| 105 |
</xsd:element> |
| 106 |
<xsd:element name="rear-matter" type="cdf:htmlTextWithSubType" minOccurs="0" |
| 107 |
maxOccurs="unbounded"> |
| 108 |
<xsd:annotation> |
| 109 |
<xsd:documentation xml:lang="en">Concluding material for the end of the |
| 110 |
<xccdf:Benchmark> document; intended for use during Document |
| 111 |
Generation.</xsd:documentation> |
| 112 |
</xsd:annotation> |
| 113 |
</xsd:element> |
| 114 |
<xsd:element name="reference" type="cdf:referenceType" minOccurs="0" |
| 115 |
maxOccurs="unbounded"> |
| 116 |
<xsd:annotation> |
| 117 |
<xsd:documentation xml:lang="en">Supporting references for the |
| 118 |
<xccdf:Benchmark> document.</xsd:documentation> |
| 119 |
</xsd:annotation> |
| 120 |
</xsd:element> |
| 121 |
<xsd:element name="plain-text" type="cdf:plainTextType" minOccurs="0" |
| 122 |
maxOccurs="unbounded"> |
| 123 |
<xsd:annotation> |
| 124 |
<xsd:documentation xml:lang="en">Definitions for reusable text blocks, each |
| 125 |
with a unique identifier.</xsd:documentation> |
| 126 |
</xsd:annotation> |
| 127 |
</xsd:element> |
| 128 |
<xsd:element ref="cpe2:platform-specification" minOccurs="0" maxOccurs="1"> |
| 129 |
<xsd:annotation> |
| 130 |
<xsd:documentation xml:lang="en">A list of identifiers for complex platform |
| 131 |
definitions, written in CPE applicability language format. Authors may |
| 132 |
define complex platforms within this element, and then use their locally |
| 133 |
unique identifiers anywhere in the <xccdf:Benchmark> element in |
| 134 |
place of a CPE name.</xsd:documentation> |
| 135 |
</xsd:annotation> |
| 136 |
</xsd:element> |
| 137 |
<xsd:element name="platform" type="cdf:CPE2idrefType" minOccurs="0" |
| 138 |
maxOccurs="unbounded"> |
| 139 |
<xsd:annotation> |
| 140 |
<xsd:documentation xml:lang="en">Applicable platforms for this |
| 141 |
<xccdf:Benchmark>. Authors should use the element to identify the |
| 142 |
systems or products to which the <xccdf:Benchmark> |
| 143 |
applies.</xsd:documentation> |
| 144 |
</xsd:annotation> |
| 145 |
</xsd:element> |
| 146 |
<xsd:element name="version" type="cdf:versionType" minOccurs="1" maxOccurs="1"> |
| 147 |
<xsd:annotation> |
| 148 |
<xsd:documentation xml:lang="en">Version number of the |
| 149 |
<xccdf:Benchmark>.</xsd:documentation> |
| 150 |
</xsd:annotation> |
| 151 |
</xsd:element> |
| 152 |
<xsd:element name="metadata" type="cdf:metadataType" minOccurs="0" |
| 153 |
maxOccurs="unbounded"> |
| 154 |
<xsd:annotation> |
| 155 |
<xsd:documentation xml:lang="en">XML metadata for the |
| 156 |
<xccdf:Benchmark>. Metadata allows many additional pieces of |
| 157 |
information, including authorship, publisher, support, and other similar |
| 158 |
details, to be embedded in an |
| 159 |
<xccdf:Benchmark>.</xsd:documentation> |
| 160 |
</xsd:annotation> |
| 161 |
</xsd:element> |
| 162 |
<xsd:element ref="cdf:model" minOccurs="0" maxOccurs="unbounded"> |
| 163 |
<xsd:annotation> |
| 164 |
<xsd:documentation xml:lang="en">URIs of suggested scoring models to be used |
| 165 |
when computing a score for this <xccdf:Benchmark>. A suggested |
| 166 |
list of scoring models and their URIs is provided in the XCCDF |
| 167 |
specification.</xsd:documentation> |
| 168 |
</xsd:annotation> |
| 169 |
</xsd:element> |
| 170 |
<xsd:element ref="cdf:Profile" minOccurs="0" maxOccurs="unbounded"> |
| 171 |
<xsd:annotation> |
| 172 |
<xsd:documentation xml:lang="en"><xccdf:Profile> elements that |
| 173 |
reference and customize sets of items in the |
| 174 |
<xccdf:Benchmark>.</xsd:documentation> |
| 175 |
</xsd:annotation> |
| 176 |
</xsd:element> |
| 177 |
<xsd:element ref="cdf:Value" minOccurs="0" maxOccurs="unbounded"> |
| 178 |
<xsd:annotation> |
| 179 |
<xsd:documentation xml:lang="en">Parameter <xccdf:Value> elements that |
| 180 |
support <xccdf:Rule> elements and descriptions in the |
| 181 |
<xccdf:Benchmark>. </xsd:documentation> |
| 182 |
</xsd:annotation> |
| 183 |
</xsd:element> |
| 184 |
<xsd:choice minOccurs="0" maxOccurs="unbounded"> |
| 185 |
<xsd:element ref="cdf:Group"> |
| 186 |
<xsd:annotation> |
| 187 |
<xsd:documentation xml:lang="en"><xccdf:Group> elements that |
| 188 |
comprise the <xccdf:Benchmark>; each may contain additional |
| 189 |
<xccdf:Value>, <xccdf:Rule>, and other |
| 190 |
<xccdf:Group> elements. </xsd:documentation> |
| 191 |
</xsd:annotation> |
| 192 |
</xsd:element> |
| 193 |
<xsd:element ref="cdf:Rule"> |
| 194 |
<xsd:annotation> |
| 195 |
<xsd:documentation xml:lang="en"><xccdf:Rule> elements that |
| 196 |
comprise the <xccdf:Benchmark>.</xsd:documentation> |
| 197 |
</xsd:annotation> |
| 198 |
</xsd:element> |
| 199 |
</xsd:choice> |
| 200 |
<xsd:element ref="cdf:TestResult" minOccurs="0" maxOccurs="unbounded"> |
| 201 |
<xsd:annotation> |
| 202 |
<xsd:documentation xml:lang="en"><xccdf:Benchmark> test result records |
| 203 |
(one per <xccdf:Benchmark> run).</xsd:documentation> |
| 204 |
</xsd:annotation> |
| 205 |
</xsd:element> |
| 206 |
<xsd:element name="signature" type="cdf:signatureType" minOccurs="0" maxOccurs="1"> |
| 207 |
<xsd:annotation> |
| 208 |
<xsd:documentation xml:lang="en">A digital signature asserting authorship |
| 209 |
and allowing verification of the integrity of the |
| 210 |
<xccdf:Benchmark>.</xsd:documentation> |
| 211 |
</xsd:annotation> |
| 212 |
</xsd:element> |
| 213 |
</xsd:sequence> |
| 214 |
<xsd:attribute name="id" type="cdf:benchmarkIdType" use="required"> |
| 215 |
<xsd:annotation> |
| 216 |
<xsd:documentation>Unique <xccdf:Benchmark> |
| 217 |
identifier.</xsd:documentation> |
| 218 |
</xsd:annotation> |
| 219 |
</xsd:attribute> |
| 220 |
<xsd:attribute name="Id" type="xsd:ID" use="optional"> |
| 221 |
<xsd:annotation> |
| 222 |
<xsd:documentation xml:lang="en">An identifier used for referencing elements |
| 223 |
included in an XML signature.</xsd:documentation> |
| 224 |
</xsd:annotation> |
| 225 |
</xsd:attribute> |
| 226 |
<xsd:attribute name="resolved" type="xsd:boolean" default="false" use="optional"> |
| 227 |
<xsd:annotation> |
| 228 |
<xsd:documentation xml:lang="en">True if <xccdf:Benchmark> has already |
| 229 |
undergone the resolution process.</xsd:documentation> |
| 230 |
</xsd:annotation> |
| 231 |
</xsd:attribute> |
| 232 |
<xsd:attribute name="style" type="xsd:string" use="optional"> |
| 233 |
<xsd:annotation> |
| 234 |
<xsd:documentation xml:lang="en">Name of an <xccdf:Benchmark> authoring |
| 235 |
style or set of conventions or constraints to which this |
| 236 |
<xccdf:Benchmark> conforms (e.g., “SCAP 1.2”).</xsd:documentation> |
| 237 |
</xsd:annotation> |
| 238 |
</xsd:attribute> |
| 239 |
<xsd:attribute name="style-href" type="xsd:anyURI" use="optional"> |
| 240 |
<xsd:annotation> |
| 241 |
<xsd:documentation xml:lang="en">URL of a supplementary stylesheet or schema |
| 242 |
extension that can be used to verify conformance to the named |
| 243 |
style.</xsd:documentation> |
| 244 |
</xsd:annotation> |
| 245 |
</xsd:attribute> |
| 246 |
<xsd:attribute ref="xml:lang"/> |
| 247 |
</xsd:complexType> |
| 248 |
|
| 249 |
<xsd:unique name="noticeIdUnique"> |
| 250 |
<xsd:annotation> |
| 251 |
<xsd:documentation xml:lang="en"> Legal notices must have unique id values. |
| 252 |
</xsd:documentation> |
| 253 |
</xsd:annotation> |
| 254 |
<xsd:selector xpath="cdf:notice"/> |
| 255 |
<xsd:field xpath="@id"/> |
| 256 |
</xsd:unique> |
| 257 |
|
| 258 |
<xsd:key name="itemIdKey"> |
| 259 |
<xsd:annotation> |
| 260 |
<xsd:documentation xml:lang="en"> Items must have unique id values, and also they |
| 261 |
must not collide. </xsd:documentation> |
| 262 |
</xsd:annotation> |
| 263 |
<xsd:selector xpath=".//cdf:Value|.//cdf:Group|.//cdf:Rule|./cdf:plain-text"/> |
| 264 |
<xsd:field xpath="@id"/> |
| 265 |
</xsd:key> |
| 266 |
|
| 267 |
<xsd:key name="modelSystemKey"> |
| 268 |
<xsd:annotation> |
| 269 |
<xsd:documentation xml:lang="en"> Model system attributes must be unique. |
| 270 |
</xsd:documentation> |
| 271 |
</xsd:annotation> |
| 272 |
<xsd:selector xpath="./cdf:model"/> |
| 273 |
<xsd:field xpath="@system"/> |
| 274 |
</xsd:key> |
| 275 |
|
| 276 |
<xsd:key name="valueIdKey"> |
| 277 |
<xsd:annotation> |
| 278 |
<xsd:documentation xml:lang="en"> <xccdf:Value> item ids are special keys, |
| 279 |
need this for the valueIdKeyRef and valueExtIdKeyRef keyrefs below. |
| 280 |
</xsd:documentation> |
| 281 |
</xsd:annotation> |
| 282 |
<xsd:selector xpath=".//cdf:Value"/> |
| 283 |
<xsd:field xpath="@id"/> |
| 284 |
</xsd:key> |
| 285 |
|
| 286 |
<xsd:key name="groupIdKey"> |
| 287 |
<xsd:annotation> |
| 288 |
<xsd:documentation xml:lang="en"> <xccdf:Group> item ids are special keys, |
| 289 |
need this for the groupIdKeyRef keyref below. </xsd:documentation> |
| 290 |
</xsd:annotation> |
| 291 |
<xsd:selector xpath=".//cdf:Group"/> |
| 292 |
<xsd:field xpath="@id"/> |
| 293 |
</xsd:key> |
| 294 |
|
| 295 |
<xsd:key name="ruleIdKey"> |
| 296 |
<xsd:annotation> |
| 297 |
<xsd:documentation xml:lang="en"> <xccdf:Rule> items have a unique key, we |
| 298 |
need this for the ruleIdKeyRef keyref below. (<xccdf:Rule> key refs are |
| 299 |
used by <xccdf:rule-result> elements.) </xsd:documentation> |
| 300 |
</xsd:annotation> |
| 301 |
<xsd:selector xpath=".//cdf:Rule"/> |
| 302 |
<xsd:field xpath="@id"/> |
| 303 |
</xsd:key> |
| 304 |
|
| 305 |
<xsd:key name="selectableItemIdKey"> |
| 306 |
<xsd:annotation> |
| 307 |
<xsd:documentation xml:lang="en"> <xccdf:Group> and <xccdf:Rule> item |
| 308 |
ids are special keys, we need this for the requiresIdKeyRef keyref below. |
| 309 |
</xsd:documentation> |
| 310 |
</xsd:annotation> |
| 311 |
<xsd:selector xpath=".//cdf:Group | .//cdf:Rule"/> |
| 312 |
<xsd:field xpath="@id"/> |
| 313 |
</xsd:key> |
| 314 |
|
| 315 |
<xsd:key name="plainTextValueIdKey"> |
| 316 |
<xsd:annotation> |
| 317 |
<xsd:documentation xml:lang="en"> <xccdf:plain-text> objects and |
| 318 |
<xccdf:Value> objects each have an id, and they must be unique and not |
| 319 |
overlap. </xsd:documentation> |
| 320 |
</xsd:annotation> |
| 321 |
<xsd:selector xpath="./cdf:plain-text | .//cdf:Value"/> |
| 322 |
<xsd:field xpath="@id"/> |
| 323 |
</xsd:key> |
| 324 |
|
| 325 |
<xsd:key name="profileIdKey"> |
| 326 |
<xsd:annotation> |
| 327 |
<xsd:documentation xml:lang="en"> <xccdf:Profile> objects have a unique id, it |
| 328 |
is used for extension, too. </xsd:documentation> |
| 329 |
</xsd:annotation> |
| 330 |
<xsd:selector xpath="./cdf:Profile"/> |
| 331 |
<xsd:field xpath="@id"/> |
| 332 |
</xsd:key> |
| 333 |
|
| 334 |
<xsd:keyref name="valueExtIdKeyRef" refer="cdf:valueIdKey"> |
| 335 |
<xsd:annotation> |
| 336 |
<xsd:documentation xml:lang="en"> An @extends attribute on <xccdf:Value> |
| 337 |
object must reference an existing <xccdf:Value>. </xsd:documentation> |
| 338 |
</xsd:annotation> |
| 339 |
<xsd:selector xpath=".//cdf:Value"/> |
| 340 |
<xsd:field xpath="@extends"/> |
| 341 |
</xsd:keyref> |
| 342 |
|
| 343 |
<xsd:keyref name="groupExtIdKeyRef" refer="cdf:groupIdKey"> |
| 344 |
<xsd:annotation> |
| 345 |
<xsd:documentation xml:lang="en"> An @extends attribute on <xccdf:Group> |
| 346 |
objects must reference an existing <xccdf:Group>. NOTE: |
| 347 |
<xccdf:Group> extension is now deprecated and should be avoided. |
| 348 |
</xsd:documentation> |
| 349 |
</xsd:annotation> |
| 350 |
<xsd:selector xpath=".//cdf:Group"/> |
| 351 |
<xsd:field xpath="@extends"/> |
| 352 |
</xsd:keyref> |
| 353 |
|
| 354 |
<xsd:keyref name="ruleExtIdKeyRef" refer="cdf:ruleIdKey"> |
| 355 |
<xsd:annotation> |
| 356 |
<xsd:documentation xml:lang="en"> An @extends attribute on an <xccdf:Rule> |
| 357 |
object must reference an existing <xccdf:Rule>. </xsd:documentation> |
| 358 |
</xsd:annotation> |
| 359 |
<xsd:selector xpath=".//cdf:Rule"/> |
| 360 |
<xsd:field xpath="@extends"/> |
| 361 |
</xsd:keyref> |
| 362 |
|
| 363 |
<xsd:keyref name="profileExtIdKeyRef" refer="cdf:profileIdKey"> |
| 364 |
<xsd:annotation> |
| 365 |
<xsd:documentation xml:lang="en"> An @extends attribute on <xccdf:Profile> |
| 366 |
object must reference an existing <xccdf:Profile>. </xsd:documentation> |
| 367 |
</xsd:annotation> |
| 368 |
<xsd:selector xpath="./cdf:Profile"/> |
| 369 |
<xsd:field xpath="@extends"/> |
| 370 |
</xsd:keyref> |
| 371 |
|
| 372 |
<xsd:keyref name="valueIdKeyRef" refer="cdf:valueIdKey"> |
| 373 |
<xsd:annotation> |
| 374 |
<xsd:documentation xml:lang="en"> <xccdf:check-export> elements must reference |
| 375 |
existing <xccdf:Value> elements. </xsd:documentation> |
| 376 |
</xsd:annotation> |
| 377 |
<xsd:selector xpath=".//cdf:check/cdf:check-export"/> |
| 378 |
<xsd:field xpath="@value-id"/> |
| 379 |
</xsd:keyref> |
| 380 |
|
| 381 |
<xsd:keyref name="subValueKeyRef" refer="cdf:plainTextValueIdKey"> |
| 382 |
<xsd:annotation> |
| 383 |
<xsd:documentation xml:lang="en"> <xccdf:sub> elements must reference existing |
| 384 |
<xccdf:Value> or <xccdf:plain-text> ids. </xsd:documentation> |
| 385 |
</xsd:annotation> |
| 386 |
<xsd:selector xpath=".//cdf:sub"/> |
| 387 |
<xsd:field xpath="@idref"/> |
| 388 |
</xsd:keyref> |
| 389 |
|
| 390 |
<xsd:keyref name="ruleIdKeyRef" refer="cdf:ruleIdKey"> |
| 391 |
<xsd:annotation> |
| 392 |
<xsd:documentation xml:lang="en"> The <xccdf:rule-result> element @idref must |
| 393 |
refer to an existing <xccdf:Rule>. </xsd:documentation> |
| 394 |
</xsd:annotation> |
| 395 |
<xsd:selector xpath="./cdf:TestResult/cdf:rule-result"/> |
| 396 |
<xsd:field xpath="@idref"/> |
| 397 |
</xsd:keyref> |
| 398 |
|
| 399 |
</xsd:element> |
| 400 |
|
| 401 |
<xsd:complexType name="noticeType" mixed="true"> |
| 402 |
<xsd:annotation> |
| 403 |
<xsd:documentation xml:lang="en">Data type for an <xccdf:notice> element. |
| 404 |
<xccdf:notice> elements are used to include legal notices (licensing |
| 405 |
information, terms of use, etc.), copyright statements, warnings, and other advisory |
| 406 |
notices about this <xccdf:Benchmark> and its use. This information may be |
| 407 |
expressed using XHTML or may be a simply text expression. Each <xccdf:notice> |
| 408 |
element must have a unique identifier. </xsd:documentation> |
| 409 |
</xsd:annotation> |
| 410 |
<xsd:sequence> |
| 411 |
<xsd:any namespace="http://www.w3.org/1999/xhtml" minOccurs="0" maxOccurs="unbounded" |
| 412 |
processContents="skip"/> |
| 413 |
</xsd:sequence> |
| 414 |
<xsd:attribute name="id" type="xsd:NCName"> |
| 415 |
<xsd:annotation> |
| 416 |
<xsd:documentation xml:lang="en">The unique identifier for this |
| 417 |
<xccdf:notice>.</xsd:documentation> |
| 418 |
</xsd:annotation> |
| 419 |
</xsd:attribute> |
| 420 |
<xsd:attribute ref="xml:base"/> |
| 421 |
<xsd:attribute ref="xml:lang"/> |
| 422 |
</xsd:complexType> |
| 423 |
|
| 424 |
<xsd:complexType name="dc-statusType"> |
| 425 |
<xsd:annotation> |
| 426 |
<xsd:documentation>Data type element for the <xccdf:dc-status> element, which |
| 427 |
holds status information about its parent element using the Dublin Core format, |
| 428 |
expressed as elements of the DCMI Simple DC Element specification. |
| 429 |
</xsd:documentation> |
| 430 |
</xsd:annotation> |
| 431 |
<xsd:sequence> |
| 432 |
<xsd:any namespace="http://purl.org/dc/elements/1.1/" minOccurs="1" processContents="lax" |
| 433 |
maxOccurs="unbounded"/> |
| 434 |
</xsd:sequence> |
| 435 |
</xsd:complexType> |
| 436 |
|
| 437 |
<xsd:complexType name="plainTextType"> |
| 438 |
<xsd:annotation> |
| 439 |
<xsd:documentation xml:lang="en">The data type for an <xccdf:plain-text> element, |
| 440 |
which is a reusable text block for reference by the <xccdf:sub> element. This |
| 441 |
allows text to be defined once and then reused multiple times. Each |
| 442 |
<xccdf:plain-text> element mush have a unique id.</xsd:documentation> |
| 443 |
</xsd:annotation> |
| 444 |
<xsd:simpleContent> |
| 445 |
<xsd:extension base="xsd:string"> |
| 446 |
<xsd:attribute name="id" type="xsd:NCName" use="required"> |
| 447 |
<xsd:annotation> |
| 448 |
<xsd:documentation xml:lang="en">The unique identifier for this |
| 449 |
<xccdf:plain-text> element.</xsd:documentation> |
| 450 |
</xsd:annotation> |
| 451 |
</xsd:attribute> |
| 452 |
</xsd:extension> |
| 453 |
</xsd:simpleContent> |
| 454 |
</xsd:complexType> |
| 455 |
|
| 456 |
<xsd:complexType name="referenceType" mixed="true"> |
| 457 |
<xsd:annotation> |
| 458 |
<xsd:documentation xml:lang="en"> This element provides supplementary descriptive text |
| 459 |
for a XCCDF elements. When used, it has either a simple string value or a value |
| 460 |
consisting of simple Dublin Core elements. If a bare string appears, then it is |
| 461 |
taken to be the string content for a Dublin Core title element. Multiple |
| 462 |
<xccdf:reference> elements may appear; a document generation processing tool |
| 463 |
may concatenate them, or put them into a reference list, and may choose to number |
| 464 |
them. </xsd:documentation> |
| 465 |
</xsd:annotation> |
| 466 |
<xsd:sequence> |
| 467 |
<xsd:any namespace="http://purl.org/dc/elements/1.1/" processContents="lax" |
| 468 |
minOccurs="0" maxOccurs="unbounded"/> |
| 469 |
</xsd:sequence> |
| 470 |
<xsd:attribute name="href" type="xsd:anyURI"> |
| 471 |
<xsd:annotation> |
| 472 |
<xsd:documentation xml:lang="en">A URL pointing to the referenced |
| 473 |
resource.</xsd:documentation> |
| 474 |
</xsd:annotation> |
| 475 |
</xsd:attribute> |
| 476 |
<xsd:attribute name="override" type="xsd:boolean"> |
| 477 |
<xsd:annotation> |
| 478 |
<xsd:documentation xml:lang="en">Used to manage inheritance |
| 479 |
processing.</xsd:documentation> |
| 480 |
</xsd:annotation> |
| 481 |
</xsd:attribute> |
| 482 |
</xsd:complexType> |
| 483 |
|
| 484 |
<xsd:complexType name="signatureType"> |
| 485 |
<xsd:annotation> |
| 486 |
<xsd:documentation xml:lang="en"> The type of an <XMLDSig:signature> element, |
| 487 |
which holds an enveloped digital signature asserting authorship and allowing |
| 488 |
verification of the integrity of associated data (e.g., its parent element, other |
| 489 |
documents, portions of other documents). </xsd:documentation> |
| 490 |
</xsd:annotation> |
| 491 |
<xsd:sequence> |
| 492 |
<xsd:any namespace="http://www.w3.org/2000/09/xmldsig#" processContents="skip" |
| 493 |
minOccurs="1" maxOccurs="1"/> |
| 494 |
</xsd:sequence> |
| 495 |
</xsd:complexType> |
| 496 |
|
| 497 |
<xsd:complexType name="metadataType"> |
| 498 |
<xsd:annotation> |
| 499 |
<xsd:documentation xml:lang="en"> Data type that supports inclusion of metadata about a |
| 500 |
document or element. This is particularly useful for facilitating the discovery and |
| 501 |
retrieval of XCCDF checklists from public repositories. When used, the contents of |
| 502 |
the <xccdf:metadata> element are expressed in XML. The <xccdf:Benchmark> |
| 503 |
element's metadata should contain information formatted using the Dublin Core |
| 504 |
Metadata Initiative (DCMI) Simple DC Element specification, as described in [DCES] |
| 505 |
and [DCXML]. Benchmark consumers should be prepared to process Dublin Core metadata |
| 506 |
in the <xccdf:metadata> element. Other metadata schemes, including ad-hoc |
| 507 |
elements, are also allowed, both in the <xccdf:Benchmark> and in other |
| 508 |
elements.</xsd:documentation> |
| 509 |
</xsd:annotation> |
| 510 |
<xsd:sequence> |
| 511 |
<xsd:any minOccurs="1" maxOccurs="unbounded" processContents="lax" namespace="##other"/> |
| 512 |
</xsd:sequence> |
| 513 |
</xsd:complexType> |
| 514 |
|
| 515 |
|
| 516 |
|
| 517 |
|
| 518 |
<xsd:element name="status"> |
| 519 |
<xsd:annotation> |
| 520 |
<xsd:documentation xml:lang="en"> The acceptance status of an element with an optional |
| 521 |
date attribute, which signifies the date of the status change. If an element does |
| 522 |
not have its own <xccdf:status> element, its status is that of its parent |
| 523 |
element. If there is more than one <xccdf:status> for a single element, then |
| 524 |
every instance of the <xccdf:status> element must have a @date attribute, and |
| 525 |
the <xccdf:status> element with the latest date is considered the current |
| 526 |
status. </xsd:documentation> |
| 527 |
</xsd:annotation> |
| 528 |
<xsd:complexType> |
| 529 |
<xsd:simpleContent> |
| 530 |
<xsd:extension base="cdf:statusType"> |
| 531 |
<xsd:attribute name="date" type="xsd:date" use="optional"> |
| 532 |
<xsd:annotation> |
| 533 |
<xsd:documentation xml:lang="en">The date the parent element achieved |
| 534 |
the indicated status.</xsd:documentation> |
| 535 |
</xsd:annotation> |
| 536 |
</xsd:attribute> |
| 537 |
</xsd:extension> |
| 538 |
</xsd:simpleContent> |
| 539 |
</xsd:complexType> |
| 540 |
</xsd:element> |
| 541 |
|
| 542 |
<xsd:element name="model"> |
| 543 |
<xsd:annotation> |
| 544 |
<xsd:documentation xml:lang="en"> A suggested scoring model for an |
| 545 |
<xccdf:Benchmark>, also encapsulating any parameters needed by the model. |
| 546 |
Every model is designated with a URI, which appears here as the system attribute. |
| 547 |
See the XCCDF specification for a list of standard scoring models and their |
| 548 |
associated URIs. Vendors may define their own scoring models and provide additional |
| 549 |
URIs to designate them. Some models may need additional parameters; to support such |
| 550 |
a model, zero or more <xccdf:param> elements may appear as children of the |
| 551 |
<xccdf:model> element.</xsd:documentation> |
| 552 |
</xsd:annotation> |
| 553 |
<xsd:complexType> |
| 554 |
<xsd:sequence> |
| 555 |
<xsd:element name="param" type="cdf:paramType" minOccurs="0" maxOccurs="unbounded"> |
| 556 |
<xsd:annotation> |
| 557 |
<xsd:documentation xml:lang="en">Parameters provided as input to the |
| 558 |
designated scoring model.</xsd:documentation> |
| 559 |
</xsd:annotation> |
| 560 |
</xsd:element> |
| 561 |
</xsd:sequence> |
| 562 |
<xsd:attribute name="system" type="xsd:anyURI" use="required"> |
| 563 |
<xsd:annotation> |
| 564 |
<xsd:documentation xml:lang="en">A URI designating a scoring |
| 565 |
model.</xsd:documentation> |
| 566 |
</xsd:annotation> |
| 567 |
</xsd:attribute> |
| 568 |
</xsd:complexType> |
| 569 |
|
| 570 |
<xsd:key name="paramNameKey"> |
| 571 |
<xsd:annotation> |
| 572 |
<xsd:documentation xml:lang="en"> Parameter names must be unique. |
| 573 |
</xsd:documentation> |
| 574 |
</xsd:annotation> |
| 575 |
<xsd:selector xpath="./cdf:param"/> |
| 576 |
<xsd:field xpath="@name"/> |
| 577 |
</xsd:key> |
| 578 |
</xsd:element> |
| 579 |
|
| 580 |
<xsd:complexType name="paramType"> |
| 581 |
<xsd:annotation> |
| 582 |
<xsd:documentation xml:lang="en"> Type for a parameter used in the <xccdf:model> |
| 583 |
element, which records scoring model information. The contents of this type |
| 584 |
represent a name-value pair, where the name is recorded in the @name attribute and |
| 585 |
the value appears in the element body. <xccdf:param> elements with equal |
| 586 |
values for the @name attribute may not appear as children of the same |
| 587 |
<xccdf:model> element. </xsd:documentation> |
| 588 |
</xsd:annotation> |
| 589 |
<xsd:simpleContent> |
| 590 |
<xsd:extension base="xsd:string"> |
| 591 |
<xsd:attribute name="name" type="xsd:NCName" use="required"> |
| 592 |
<xsd:annotation> |
| 593 |
<xsd:documentation xml:lang="en">The name associated with the contained |
| 594 |
value.</xsd:documentation> |
| 595 |
</xsd:annotation> |
| 596 |
</xsd:attribute> |
| 597 |
</xsd:extension> |
| 598 |
</xsd:simpleContent> |
| 599 |
</xsd:complexType> |
| 600 |
|
| 601 |
|
| 602 |
<xsd:simpleType name="statusType"> |
| 603 |
<xsd:annotation> |
| 604 |
<xsd:documentation xml:lang="en"> The statusType represents the possible levels of |
| 605 |
maturity or consensus level for its parent element as recorded by an |
| 606 |
<xccdf:status> element. </xsd:documentation> |
| 607 |
</xsd:annotation> |
| 608 |
<xsd:restriction base="xsd:string"> |
| 609 |
<xsd:enumeration value="accepted"> |
| 610 |
<xsd:annotation> |
| 611 |
<xsd:documentation xml:lang="en">Released as final</xsd:documentation> |
| 612 |
</xsd:annotation> |
| 613 |
</xsd:enumeration> |
| 614 |
<xsd:enumeration value="deprecated"> |
| 615 |
<xsd:annotation> |
| 616 |
<xsd:documentation xml:lang="en">No longer needed</xsd:documentation> |
| 617 |
</xsd:annotation> |
| 618 |
</xsd:enumeration> |
| 619 |
<xsd:enumeration value="draft"> |
| 620 |
<xsd:annotation> |
| 621 |
<xsd:documentation xml:lang="en">Released in draft state</xsd:documentation> |
| 622 |
</xsd:annotation> |
| 623 |
</xsd:enumeration> |
| 624 |
<xsd:enumeration value="incomplete"> |
| 625 |
<xsd:annotation> |
| 626 |
<xsd:documentation xml:lang="en">Under initial development</xsd:documentation> |
| 627 |
</xsd:annotation> |
| 628 |
</xsd:enumeration> |
| 629 |
<xsd:enumeration value="interim"> |
| 630 |
<xsd:annotation> |
| 631 |
<xsd:documentation xml:lang="en">Revised and in the process of being |
| 632 |
finalized</xsd:documentation> |
| 633 |
</xsd:annotation> |
| 634 |
</xsd:enumeration> |
| 635 |
</xsd:restriction> |
| 636 |
</xsd:simpleType> |
| 637 |
|
| 638 |
<xsd:complexType name="versionType"> |
| 639 |
<xsd:annotation> |
| 640 |
<xsd:documentation xml:lang="en"> Type for most <xccdf:version> elements. |
| 641 |
</xsd:documentation> |
| 642 |
</xsd:annotation> |
| 643 |
<xsd:simpleContent> |
| 644 |
<xsd:extension base="xsd:string"> |
| 645 |
<xsd:attribute name="time" type="xsd:dateTime" use="optional"> |
| 646 |
<xsd:annotation> |
| 647 |
<xsd:documentation xml:lang="en">The time that this version of the |
| 648 |
associated element was completed. </xsd:documentation> |
| 649 |
</xsd:annotation> |
| 650 |
</xsd:attribute> |
| 651 |
<xsd:attribute name="update" type="xsd:anyURI" use="optional"> |
| 652 |
<xsd:annotation> |
| 653 |
<xsd:documentation xml:lang="en">A URI indicating a location where updates |
| 654 |
to the associated element may be obtained. </xsd:documentation> |
| 655 |
</xsd:annotation> |
| 656 |
</xsd:attribute> |
| 657 |
</xsd:extension> |
| 658 |
</xsd:simpleContent> |
| 659 |
</xsd:complexType> |
| 660 |
|
| 661 |
|
| 662 |
|
| 663 |
|
| 664 |
<xsd:complexType name="textType"> |
| 665 |
<xsd:annotation> |
| 666 |
<xsd:documentation xml:lang="en">Type for a simple text string with an @override |
| 667 |
attribute for controlling inheritance. </xsd:documentation> |
| 668 |
</xsd:annotation> |
| 669 |
<xsd:simpleContent> |
| 670 |
<xsd:extension base="xsd:string"> |
| 671 |
<xsd:attribute ref="xml:lang"/> |
| 672 |
<xsd:attribute name="override" type="xsd:boolean" use="optional" default="0"> |
| 673 |
<xsd:annotation> |
| 674 |
<xsd:documentation xml:lang="en">Used to manage inheritance. |
| 675 |
</xsd:documentation> |
| 676 |
</xsd:annotation> |
| 677 |
</xsd:attribute> |
| 678 |
</xsd:extension> |
| 679 |
</xsd:simpleContent> |
| 680 |
</xsd:complexType> |
| 681 |
|
| 682 |
<xsd:complexType name="htmlTextType" mixed="true"> |
| 683 |
<xsd:annotation> |
| 684 |
<xsd:documentation xml:lang="en"> The type for a string with optional XHTML elements and |
| 685 |
an @xml:lang attribute. </xsd:documentation> |
| 686 |
</xsd:annotation> |
| 687 |
<xsd:sequence> |
| 688 |
<xsd:any namespace="http://www.w3.org/1999/xhtml" minOccurs="0" maxOccurs="unbounded" |
| 689 |
processContents="skip"/> |
| 690 |
</xsd:sequence> |
| 691 |
<xsd:attribute ref="xml:lang"/> |
| 692 |
<xsd:attribute name="override" type="xsd:boolean" use="optional" default="0"> |
| 693 |
<xsd:annotation> |
| 694 |
<xsd:documentation xml:lang="en">Used to manage inheritance. </xsd:documentation> |
| 695 |
</xsd:annotation> |
| 696 |
</xsd:attribute> |
| 697 |
</xsd:complexType> |
| 698 |
|
| 699 |
<xsd:complexType name="htmlTextWithSubType" mixed="true"> |
| 700 |
<xsd:annotation> |
| 701 |
<xsd:documentation xml:lang="en"> The type for a string with optional XHTML elements, |
| 702 |
and an @xml:lang attribute. </xsd:documentation> |
| 703 |
</xsd:annotation> |
| 704 |
<xsd:choice minOccurs="0" maxOccurs="unbounded"> |
| 705 |
<xsd:element name="sub" type="cdf:subType"> |
| 706 |
<xsd:annotation> |
| 707 |
<xsd:documentation xml:lang="en">Specifies an <xccdf:Value> or |
| 708 |
<xccdf:plain-text> element to be used for text |
| 709 |
substitution</xsd:documentation> |
| 710 |
</xsd:annotation> |
| 711 |
</xsd:element> |
| 712 |
<xsd:any namespace="http://www.w3.org/1999/xhtml" processContents="skip"/> |
| 713 |
</xsd:choice> |
| 714 |
<xsd:attribute ref="xml:lang"/> |
| 715 |
<xsd:attribute name="override" type="xsd:boolean" use="optional" default="0"> |
| 716 |
<xsd:annotation> |
| 717 |
<xsd:documentation xml:lang="en">Used to manage inheritance. </xsd:documentation> |
| 718 |
</xsd:annotation> |
| 719 |
</xsd:attribute> |
| 720 |
</xsd:complexType> |
| 721 |
|
| 722 |
<xsd:complexType name="profileNoteType" mixed="true"> |
| 723 |
<xsd:annotation> |
| 724 |
<xsd:documentation xml:lang="en"> Type for an <xccdf:profile-note> within an |
| 725 |
<xccdf:Rule>. This element contains text that describes special aspects of an |
| 726 |
<xccdf:Rule> relative to one or more <xccdf:Profile> elements. This |
| 727 |
allows an author to document things within <xccdf:Rule> elements that are |
| 728 |
specific to a given <xccdf:Profile>. This information might then be displayed |
| 729 |
to a reader based on the selection of a particular <xccdf:Profile>. The body |
| 730 |
text may include XHTML mark-up as well as <xccdf:sub> elements. |
| 731 |
</xsd:documentation> |
| 732 |
</xsd:annotation> |
| 733 |
<xsd:choice minOccurs="0" maxOccurs="unbounded"> |
| 734 |
<xsd:element name="sub" type="cdf:subType"> |
| 735 |
<xsd:annotation> |
| 736 |
<xsd:documentation xml:lang="en">Specifies an <xccdf:Value> or |
| 737 |
<xccdf:plain-text> element to be used for text |
| 738 |
substitution</xsd:documentation> |
| 739 |
</xsd:annotation> |
| 740 |
</xsd:element> |
| 741 |
<xsd:any namespace="http://www.w3.org/1999/xhtml" processContents="skip"/> |
| 742 |
</xsd:choice> |
| 743 |
<xsd:attribute ref="xml:lang"/> |
| 744 |
<xsd:attribute name="tag" type="xsd:NCName" use="required"> |
| 745 |
<xsd:annotation> |
| 746 |
<xsd:documentation xml:lang="en">The identifier of this note. </xsd:documentation> |
| 747 |
</xsd:annotation> |
| 748 |
</xsd:attribute> |
| 749 |
</xsd:complexType> |
| 750 |
|
| 751 |
<xsd:complexType name="textWithSubType" mixed="true"> |
| 752 |
<xsd:annotation> |
| 753 |
<xsd:documentation xml:lang="en"> Type for a string with embedded <xccdf:Value> |
| 754 |
substitutions and an @override attribute to help manage inheritance. |
| 755 |
</xsd:documentation> |
| 756 |
</xsd:annotation> |
| 757 |
<xsd:sequence> |
| 758 |
<xsd:element name="sub" type="cdf:subType" minOccurs="0" maxOccurs="unbounded"> |
| 759 |
<xsd:annotation> |
| 760 |
<xsd:documentation xml:lang="en">Specifies an <xccdf:Value> or |
| 761 |
<xccdf:plain-text> element to be used for text substitution. |
| 762 |
</xsd:documentation> |
| 763 |
</xsd:annotation> |
| 764 |
</xsd:element> |
| 765 |
</xsd:sequence> |
| 766 |
<xsd:attribute ref="xml:lang"/> |
| 767 |
<xsd:attribute name="override" type="xsd:boolean" use="optional" default="0"> |
| 768 |
<xsd:annotation> |
| 769 |
<xsd:documentation xml:lang="en">Used to manage inheritance. </xsd:documentation> |
| 770 |
</xsd:annotation> |
| 771 |
</xsd:attribute> |
| 772 |
</xsd:complexType> |
| 773 |
|
| 774 |
<xsd:complexType name="subType"> |
| 775 |
<xsd:annotation> |
| 776 |
<xsd:documentation xml:lang="en">The type used for <xccdf:sub> elements. The |
| 777 |
<xccdf:sub> element identifies replacement content that should appear in place |
| 778 |
of the <xccdf:sub> element during text substitution. The subType consists of a |
| 779 |
regular idrefType with an additional @use attribute to dictate the behavior of the |
| 780 |
<xccdf:sub> element under substitution. When the @idref is to an |
| 781 |
<xccdf:Value>, the @use attribute indicates whether the <xccdf:Value> |
| 782 |
element's title or value should replace the <xccdf:sub> element. The @use |
| 783 |
attribute is ignored when the @idref is to an <xccdf:plain-text> element; the |
| 784 |
body of the <xccdf:plain-text> element is always used to replace the |
| 785 |
<xccdf:sub> element.</xsd:documentation> |
| 786 |
</xsd:annotation> |
| 787 |
<xsd:complexContent> |
| 788 |
<xsd:extension base="cdf:idrefType"> |
| 789 |
<xsd:attribute name="use" use="optional" default="value" type="cdf:subUseEnumType"> |
| 790 |
<xsd:annotation> |
| 791 |
<xsd:documentation xml:lang="en">Dictates the nature of the content inserted |
| 792 |
under text substitution processing. </xsd:documentation> |
| 793 |
</xsd:annotation> |
| 794 |
</xsd:attribute> |
| 795 |
</xsd:extension> |
| 796 |
</xsd:complexContent> |
| 797 |
</xsd:complexType> |
| 798 |
|
| 799 |
<xsd:simpleType name="benchmarkIdType"> |
| 800 |
<xsd:annotation> |
| 801 |
<xsd:documentation xml:lang="en"> The format required for the @id property of |
| 802 |
<xccdf:Benchmark> elements. xccdf_N_benchmark_S, where N is a reverse-DNS |
| 803 |
style namespace and S is an NCName-compatible string. </xsd:documentation> |
| 804 |
</xsd:annotation> |
| 805 |
<xsd:restriction base="xsd:NCName"> |
| 806 |
<xsd:pattern value="xccdf_[^_]+_benchmark_.+"/> |
| 807 |
</xsd:restriction> |
| 808 |
</xsd:simpleType> |
| 809 |
|
| 810 |
<xsd:simpleType name="ruleIdType"> |
| 811 |
<xsd:annotation> |
| 812 |
<xsd:documentation xml:lang="en"> The format required for the @id property of |
| 813 |
<xccdf:Rule> elements. xccdf_N_rule_S, where N is a reverse-DNS style |
| 814 |
namespace and S is an NCName-compatible string. </xsd:documentation> |
| 815 |
</xsd:annotation> |
| 816 |
<xsd:restriction base="xsd:NCName"> |
| 817 |
<xsd:pattern value="xccdf_[^_]+_rule_.+"/> |
| 818 |
</xsd:restriction> |
| 819 |
</xsd:simpleType> |
| 820 |
|
| 821 |
<xsd:simpleType name="groupIdType"> |
| 822 |
<xsd:annotation> |
| 823 |
<xsd:documentation xml:lang="en"> The format required for the @id property of |
| 824 |
<xccdf:Group> elements. xccdf_N_group_S, where N is a reverse-DNS style |
| 825 |
namespace and S is an NCName-compatible string. </xsd:documentation> |
| 826 |
</xsd:annotation> |
| 827 |
<xsd:restriction base="xsd:NCName"> |
| 828 |
<xsd:pattern value="xccdf_[^_]+_group_.+"/> |
| 829 |
</xsd:restriction> |
| 830 |
</xsd:simpleType> |
| 831 |
|
| 832 |
<xsd:simpleType name="valueIdType"> |
| 833 |
<xsd:annotation> |
| 834 |
<xsd:documentation xml:lang="en"> The format required for the @id property of |
| 835 |
<xccdf:Value> elements. xccdf_N_value_S, where N is a reverse-DNS style |
| 836 |
namespace and S is an NCName-compatible string. </xsd:documentation> |
| 837 |
</xsd:annotation> |
| 838 |
<xsd:restriction base="xsd:NCName"> |
| 839 |
<xsd:pattern value="xccdf_[^_]+_value_.+"/> |
| 840 |
</xsd:restriction> |
| 841 |
</xsd:simpleType> |
| 842 |
|
| 843 |
<xsd:simpleType name="profileIdType"> |
| 844 |
<xsd:annotation> |
| 845 |
<xsd:documentation xml:lang="en"> The format required for the @id property of |
| 846 |
<xccdf:Profile> elements. xccdf_N_profile_S, where N is a reverse-DNS style |
| 847 |
namespace and S is an NCName-compatible string. </xsd:documentation> |
| 848 |
</xsd:annotation> |
| 849 |
<xsd:restriction base="xsd:NCName"> |
| 850 |
<xsd:pattern value="xccdf_[^_]+_profile_.+"/> |
| 851 |
</xsd:restriction> |
| 852 |
</xsd:simpleType> |
| 853 |
|
| 854 |
<xsd:simpleType name="testresultIdType"> |
| 855 |
<xsd:annotation> |
| 856 |
<xsd:documentation xml:lang="en"> The format required for the @id property of |
| 857 |
<xccdf:TestResult> elements. xccdf_N_testresult_S, where N is a reverse-DNS |
| 858 |
style namespace and S is an NCName-compatible string. </xsd:documentation> |
| 859 |
</xsd:annotation> |
| 860 |
<xsd:restriction base="xsd:NCName"> |
| 861 |
<xsd:pattern value="xccdf_[^_]+_testresult_.+"/> |
| 862 |
</xsd:restriction> |
| 863 |
</xsd:simpleType> |
| 864 |
|
| 865 |
<xsd:simpleType name="tailoringIdType"> |
| 866 |
<xsd:annotation> |
| 867 |
<xsd:documentation xml:lang="en"> The format required for the @id property of |
| 868 |
<xccdf:Tailoring> elements. xccdf_N_tailoring_S, where N is a reverse-DNS |
| 869 |
style namespace and S is an NCName-compatible string. </xsd:documentation> |
| 870 |
</xsd:annotation> |
| 871 |
<xsd:restriction base="xsd:NCName"> |
| 872 |
<xsd:pattern value="xccdf_[^_]+_tailoring_.+"/> |
| 873 |
</xsd:restriction> |
| 874 |
</xsd:simpleType> |
| 875 |
|
| 876 |
<xsd:complexType name="idrefType"> |
| 877 |
<xsd:annotation> |
| 878 |
<xsd:documentation xml:lang="en"> Data type for elements that contain a reference to |
| 879 |
another XCCDF element </xsd:documentation> |
| 880 |
</xsd:annotation> |
| 881 |
<xsd:attribute name="idref" type="xsd:NCName" use="required"> |
| 882 |
<xsd:annotation> |
| 883 |
<xsd:documentation xml:lang="en">The id value of another XCCDF |
| 884 |
element</xsd:documentation> |
| 885 |
</xsd:annotation> |
| 886 |
</xsd:attribute> |
| 887 |
</xsd:complexType> |
| 888 |
|
| 889 |
<xsd:complexType name="idrefListType"> |
| 890 |
<xsd:annotation> |
| 891 |
<xsd:documentation xml:lang="en"> Data type for elements contain list of references to |
| 892 |
other XCCDF elements </xsd:documentation> |
| 893 |
</xsd:annotation> |
| 894 |
<xsd:attribute name="idref" type="xsd:NMTOKENS" use="required"> |
| 895 |
<xsd:annotation> |
| 896 |
<xsd:documentation xml:lang="en">A space-separated list of id values from other |
| 897 |
XCCDF elements</xsd:documentation> |
| 898 |
</xsd:annotation> |
| 899 |
</xsd:attribute> |
| 900 |
</xsd:complexType> |
| 901 |
|
| 902 |
<xsd:complexType name="CPE2idrefType"> |
| 903 |
<xsd:annotation> |
| 904 |
<xsd:documentation xml:lang="en"> Data type for <xccdf:platform> elements that do |
| 905 |
not need @override attributes. (I.e., <xccdf:platform> elements that are in |
| 906 |
structures that cannot be extended, such as <xccdf:TestResult> and |
| 907 |
<xccdf:Benchmark> elements.) This is used to identify the applicable target |
| 908 |
platform for its respective parent elements. </xsd:documentation> |
| 909 |
</xsd:annotation> |
| 910 |
<xsd:attribute name="idref" type="xsd:string" use="required"> |
| 911 |
<xsd:annotation> |
| 912 |
<xsd:documentation xml:lang="en">Should be a CPE 2.3 Applicability Language |
| 913 |
identifier using the Formatted String binding or the value of a |
| 914 |
<cpe:platform-specification> element's @id attribute, the latter acting as |
| 915 |
a reference to some expression defined using the CPE schema in the |
| 916 |
<xccdf:Benchmark> element's <cpe:platform-specification> element. |
| 917 |
The @idref may be a CPE Applicability Language identifier using the URI binding, |
| 918 |
although this is less preferred.</xsd:documentation> |
| 919 |
</xsd:annotation> |
| 920 |
</xsd:attribute> |
| 921 |
</xsd:complexType> |
| 922 |
|
| 923 |
<xsd:complexType name="overrideableCPE2idrefType"> |
| 924 |
<xsd:annotation> |
| 925 |
<xsd:documentation xml:lang="en">Data type for <xccdf:platform> elements that need |
| 926 |
@override attributes. (I.e., <xccdf:platform> elements that are in structures |
| 927 |
that can be extended, such as Items and <xccdf:Profile> elements.) This is |
| 928 |
used to identify the applicable target platform for its respective parent elements. |
| 929 |
</xsd:documentation> |
| 930 |
</xsd:annotation> |
| 931 |
<xsd:complexContent> |
| 932 |
<xsd:extension base="cdf:CPE2idrefType"> |
| 933 |
<xsd:attribute name="override" type="xsd:boolean" use="optional" default="0"> |
| 934 |
<xsd:annotation> |
| 935 |
<xsd:documentation xml:lang="en">Used to manage inheritance. |
| 936 |
</xsd:documentation> |
| 937 |
</xsd:annotation> |
| 938 |
</xsd:attribute> |
| 939 |
</xsd:extension> |
| 940 |
</xsd:complexContent> |
| 941 |
</xsd:complexType> |
| 942 |
|
| 943 |
|
| 944 |
|
| 945 |
|
| 946 |
|
| 947 |
<xsd:element name="Item" type="cdf:itemType"> |
| 948 |
<xsd:annotation> |
| 949 |
<xsd:documentation xml:lang="en"> An item is a named constituent of an |
| 950 |
<xccdf:Benchmark>. There are three types of items: <xccdf:Group>, |
| 951 |
<xccdf:Rule> and <xccdf:Value>. The <xccdf:Item> element type |
| 952 |
imposes constraints shared by all <xccdf:Group>, <xccdf:Rule> and |
| 953 |
<xccdf:Value> elements. The itemType is abstract, so the element |
| 954 |
<xccdf:Item> can never appear in a valid XCCDF document.</xsd:documentation> |
| 955 |
</xsd:annotation> |
| 956 |
</xsd:element> |
| 957 |
|
| 958 |
<xsd:complexType name="itemType" abstract="1"> |
| 959 |
<xsd:annotation> |
| 960 |
<xsd:documentation xml:lang="en"> This abstract itemType represents the basic data |
| 961 |
shared by all <xccdf:Group>, <xccdf:Rule> and <xccdf:Value> |
| 962 |
elements. All elements in an itemType are optional, although each element that |
| 963 |
builds on the itemType may add its own elements, some of which will be required for |
| 964 |
that element. </xsd:documentation> |
| 965 |
</xsd:annotation> |
| 966 |
<xsd:sequence> |
| 967 |
<xsd:element ref="cdf:status" minOccurs="0" maxOccurs="unbounded"> |
| 968 |
<xsd:annotation> |
| 969 |
<xsd:documentation xml:lang="en">Status of the item and date at which it |
| 970 |
attained that status. <xccdf:Benchmark> authors may use this element |
| 971 |
to record the maturity or consensus level for elements in the |
| 972 |
<xccdf:Benchmark>. If an item does not have an explicit |
| 973 |
<xccdf:status> given, then its status is that of its |
| 974 |
parent.</xsd:documentation> |
| 975 |
</xsd:annotation> |
| 976 |
</xsd:element> |
| 977 |
<xsd:element name="dc-status" minOccurs="0" maxOccurs="unbounded" |
| 978 |
type="cdf:dc-statusType"> |
| 979 |
<xsd:annotation> |
| 980 |
<xsd:documentation xml:lang="en">Holds additional status information using the |
| 981 |
Dublin Core format.</xsd:documentation> |
| 982 |
</xsd:annotation> |
| 983 |
</xsd:element> |
| 984 |
<xsd:element name="version" type="cdf:versionType" minOccurs="0" maxOccurs="1"> |
| 985 |
<xsd:annotation> |
| 986 |
<xsd:documentation xml:lang="en">Version information about this item. |
| 987 |
</xsd:documentation> |
| 988 |
</xsd:annotation> |
| 989 |
</xsd:element> |
| 990 |
<xsd:element name="title" type="cdf:textWithSubType" minOccurs="0" maxOccurs="unbounded"> |
| 991 |
<xsd:annotation> |
| 992 |
<xsd:documentation xml:lang="en">Title of the item. Every item should have an |
| 993 |
<xccdf:title>, because this helps people understand the purpose of the |
| 994 |
item. </xsd:documentation> |
| 995 |
</xsd:annotation> |
| 996 |
</xsd:element> |
| 997 |
<xsd:element name="description" type="cdf:htmlTextWithSubType" minOccurs="0" |
| 998 |
maxOccurs="unbounded"> |
| 999 |
<xsd:annotation> |
| 1000 |
<xsd:documentation xml:lang="en">Text that describes the item. |
| 1001 |
</xsd:documentation> |
| 1002 |
</xsd:annotation> |
| 1003 |
</xsd:element> |
| 1004 |
<xsd:element name="warning" type="cdf:warningType" minOccurs="0" maxOccurs="unbounded"> |
| 1005 |
<xsd:annotation> |
| 1006 |
<xsd:documentation xml:lang="en">A note or caveat about the item intended to |
| 1007 |
convey important cautionary information for the <xccdf:Benchmark> user |
| 1008 |
(e.g., “Complying with this rule will cause the system to reject all IP |
| 1009 |
packets”). If multiple <xccdf:warning> elements appear, benchmark |
| 1010 |
consumers should concatenate them for generating reports or documents. |
| 1011 |
Benchmark consumers may present this information in a special manner in |
| 1012 |
generated documents.</xsd:documentation> |
| 1013 |
</xsd:annotation> |
| 1014 |
</xsd:element> |
| 1015 |
<xsd:element name="question" type="cdf:textType" minOccurs="0" maxOccurs="unbounded"> |
| 1016 |
<xsd:annotation> |
| 1017 |
<xsd:documentation xml:lang="en">Interrogative text to present to the user |
| 1018 |
during tailoring. It may also be included into a generated document. For |
| 1019 |
<xccdf:Rule> and <xccdf:Group> elements, the |
| 1020 |
<xccdf:question> text should be a simple binary (yes/no) question |
| 1021 |
because it is supporting the selection aspect of tailoring. For |
| 1022 |
<xccdf:Value> elements, the <xccdf:question> should solicit the |
| 1023 |
user to provide a specific value. Tools may also display constraints on |
| 1024 |
values and any defaults as specified by the other <xccdf:Value> |
| 1025 |
properties.</xsd:documentation> |
| 1026 |
</xsd:annotation> |
| 1027 |
</xsd:element> |
| 1028 |
<xsd:element name="reference" type="cdf:referenceType" minOccurs="0" |
| 1029 |
maxOccurs="unbounded"> |
| 1030 |
<xsd:annotation> |
| 1031 |
<xsd:documentation xml:lang="en">References where the user can learn more about |
| 1032 |
the subject of this item. </xsd:documentation> |
| 1033 |
</xsd:annotation> |
| 1034 |
</xsd:element> |
| 1035 |
<xsd:element name="metadata" type="cdf:metadataType" minOccurs="0" maxOccurs="unbounded"> |
| 1036 |
<xsd:annotation> |
| 1037 |
<xsd:documentation xml:lang="en">XML metadata associated with this item, such as |
| 1038 |
sources, special information, or other details. </xsd:documentation> |
| 1039 |
</xsd:annotation> |
| 1040 |
</xsd:element> |
| 1041 |
</xsd:sequence> |
| 1042 |
<xsd:attribute name="abstract" type="xsd:boolean" default="false" use="optional"> |
| 1043 |
<xsd:annotation> |
| 1044 |
<xsd:documentation xml:lang="en">If true, then this item is abstract and exists only |
| 1045 |
to be extended. The use of this attribute for <xccdf:Group> elements is |
| 1046 |
deprecated and should be avoided. </xsd:documentation> |
| 1047 |
</xsd:annotation> |
| 1048 |
</xsd:attribute> |
| 1049 |
<xsd:attribute name="cluster-id" type="xsd:NCName" use="optional"> |
| 1050 |
<xsd:annotation> |
| 1051 |
<xsd:documentation xml:lang="en">An identifier to be used as a means to identify |
| 1052 |
(refer to) related items. It designates membership in a cluster of items, which |
| 1053 |
are used for controlling items via <xccdf:Profile> elements. All the items |
| 1054 |
with the same cluster identifier belong to the same cluster. A selector in an |
| 1055 |
<xccdf:Profile> may refer to a cluster, thus making it easier for authors |
| 1056 |
to create and maintain <xccdf:Profile> elements in a complex |
| 1057 |
<xccdf:Benchmark>.</xsd:documentation> |
| 1058 |
</xsd:annotation> |
| 1059 |
</xsd:attribute> |
| 1060 |
<xsd:attribute name="extends" type="xsd:NCName" use="optional"> |
| 1061 |
<xsd:annotation> |
| 1062 |
<xsd:documentation xml:lang="en">The identifier of an item on which to base this |
| 1063 |
item. If present, it must have a value equal to the @id attribute of another |
| 1064 |
item. The use of this attribute for <xccdf:Group> elements is deprecated |
| 1065 |
and should be avoided. </xsd:documentation> |
| 1066 |
</xsd:annotation> |
| 1067 |
</xsd:attribute> |
| 1068 |
<xsd:attribute name="hidden" type="xsd:boolean" default="false" use="optional"> |
| 1069 |
<xsd:annotation> |
| 1070 |
<xsd:documentation xml:lang="en">If this item should be excluded from any generated |
| 1071 |
documents although it may still be used during assessments. </xsd:documentation> |
| 1072 |
</xsd:annotation> |
| 1073 |
</xsd:attribute> |
| 1074 |
<xsd:attribute name="prohibitChanges" type="xsd:boolean" default="false" use="optional"> |
| 1075 |
<xsd:annotation> |
| 1076 |
<xsd:documentation xml:lang="en">If benchmark producers should prohibit changes to |
| 1077 |
this item during tailoring. An author should use this when they do not want to |
| 1078 |
allow end users to change the item. </xsd:documentation> |
| 1079 |
</xsd:annotation> |
| 1080 |
</xsd:attribute> |
| 1081 |
<xsd:attribute ref="xml:lang"/> |
| 1082 |
<xsd:attribute ref="xml:base"/> |
| 1083 |
<xsd:attribute name="Id" type="xsd:ID" use="optional"> |
| 1084 |
<xsd:annotation> |
| 1085 |
<xsd:documentation xml:lang="en">An identifier used for referencing elements |
| 1086 |
included in an XML signature</xsd:documentation> |
| 1087 |
</xsd:annotation> |
| 1088 |
</xsd:attribute> |
| 1089 |
</xsd:complexType> |
| 1090 |
|
| 1091 |
|
| 1092 |
|
| 1093 |
|
| 1094 |
|
| 1095 |
<xsd:complexType name="selectableItemType" abstract="true"> |
| 1096 |
<xsd:annotation> |
| 1097 |
<xsd:documentation xml:lang="en"> This abstract item type represents the basic data |
| 1098 |
shared by all <xccdf:Group> and <xccdf:Rule> elements. |
| 1099 |
</xsd:documentation> |
| 1100 |
</xsd:annotation> |
| 1101 |
<xsd:complexContent> |
| 1102 |
<xsd:extension base="cdf:itemType"> |
| 1103 |
<xsd:sequence> |
| 1104 |
<xsd:element name="rationale" type="cdf:htmlTextWithSubType" minOccurs="0" |
| 1105 |
maxOccurs="unbounded"> |
| 1106 |
<xsd:annotation> |
| 1107 |
<xsd:documentation xml:lang="en">Descriptive text giving rationale or |
| 1108 |
motivations for abiding by this |
| 1109 |
<xccdf:Group>/<xccdf:Rule> (i.e., why it is important to |
| 1110 |
the security of the target platform).</xsd:documentation> |
| 1111 |
</xsd:annotation> |
| 1112 |
</xsd:element> |
| 1113 |
<xsd:element name="platform" type="cdf:overrideableCPE2idrefType" minOccurs="0" |
| 1114 |
maxOccurs="unbounded"> |
| 1115 |
<xsd:annotation> |
| 1116 |
<xsd:documentation xml:lang="en">Platforms to which this |
| 1117 |
<xccdf:Group>/<xccdf:Rule> applies.</xsd:documentation> |
| 1118 |
</xsd:annotation> |
| 1119 |
</xsd:element> |
| 1120 |
<xsd:element name="requires" type="cdf:idrefListType" minOccurs="0" |
| 1121 |
maxOccurs="unbounded"> |
| 1122 |
<xsd:annotation> |
| 1123 |
<xsd:documentation xml:lang="en">The identifiers of other |
| 1124 |
<xccdf:Group> or <xccdf:Rule> elements that must be |
| 1125 |
selected for this <xccdf:Group>/<xccdf:Rule> to be |
| 1126 |
evaluated and scored properly. Each <xccdf:requires> element |
| 1127 |
specifies a list of one or more required items by their identifiers. |
| 1128 |
If at least one of the specified <xccdf:Group> or |
| 1129 |
<xccdf:Rule> elements is selected, the requirement is met. |
| 1130 |
</xsd:documentation> |
| 1131 |
</xsd:annotation> |
| 1132 |
</xsd:element> |
| 1133 |
<xsd:element name="conflicts" type="cdf:idrefType" minOccurs="0" |
| 1134 |
maxOccurs="unbounded"> |
| 1135 |
<xsd:annotation> |
| 1136 |
<xsd:documentation xml:lang="en">The identifier of another |
| 1137 |
<xccdf:Group> or <xccdf:Rule> that must be unselected |
| 1138 |
for this <xccdf:Group>/<xccdf:Rule> to be evaluated and |
| 1139 |
scored properly. Each <xccdf:conflicts> element specifies a |
| 1140 |
single conflicting item using its idref attribute. If the specified |
| 1141 |
<xccdf:Group> or <xccdf:Rule> element is not selected, |
| 1142 |
the requirement is met.</xsd:documentation> |
| 1143 |
</xsd:annotation> |
| 1144 |
</xsd:element> |
| 1145 |
</xsd:sequence> |
| 1146 |
<xsd:attribute name="selected" type="xsd:boolean" default="true" use="optional"> |
| 1147 |
<xsd:annotation> |
| 1148 |
<xsd:documentation xml:lang="en">If true, this |
| 1149 |
<xccdf:Group>/<xccdf:Rule> is selected to be processed as |
| 1150 |
part of the <xccdf:Benchmark> when it is applied to a target |
| 1151 |
system. An unselected <xccdf:Group> does not get processed, and |
| 1152 |
its contents are not processed either (i.e., all descendants of an |
| 1153 |
unselected <xccdf:Group> are implicitly unselected). An unselected |
| 1154 |
<xccdf:Rule> is not checked and does not contribute to scoring. |
| 1155 |
</xsd:documentation> |
| 1156 |
</xsd:annotation> |
| 1157 |
</xsd:attribute> |
| 1158 |
<xsd:attribute name="weight" type="cdf:weightType" default="1.0" use="optional"> |
| 1159 |
<xsd:annotation> |
| 1160 |
<xsd:documentation xml:lang="en">The relative scoring weight of this |
| 1161 |
<xccdf:Group>/<xccdf:Rule>, for computing a score, expressed |
| 1162 |
as a non-negative real number. It denotes the importance of an |
| 1163 |
<xccdf:Group>/<xccdf:Rule>. Under some scoring models, |
| 1164 |
scoring is computed independently for each collection of sibling |
| 1165 |
<xccdf:Group> and <xccdf:Rule> elements, then normalized as |
| 1166 |
part of the overall scoring process.</xsd:documentation> |
| 1167 |
</xsd:annotation> |
| 1168 |
</xsd:attribute> |
| 1169 |
</xsd:extension> |
| 1170 |
</xsd:complexContent> |
| 1171 |
</xsd:complexType> |
| 1172 |
|
| 1173 |
|
| 1174 |
|
| 1175 |
|
| 1176 |
<xsd:element name="Group" type="cdf:groupType"> |
| 1177 |
<xsd:annotation> |
| 1178 |
<xsd:documentation xml:lang="en">An item that can hold other items. It allows an author |
| 1179 |
to collect related items into a common structure and provide descriptive text and |
| 1180 |
references about them.</xsd:documentation> |
| 1181 |
</xsd:annotation> |
| 1182 |
</xsd:element> |
| 1183 |
|
| 1184 |
<xsd:complexType name="groupType"> |
| 1185 |
<xsd:annotation> |
| 1186 |
<xsd:documentation xml:lang="en"> Data type for the <xccdf:Group> element. A |
| 1187 |
<xccdf:Group> element contains descriptive information about a portion of an |
| 1188 |
<xccdf:Benchmark>, as well as <xccdf:Rule>, <xccdf:Value>, and/or |
| 1189 |
other <xccdf:Group> elements</xsd:documentation> |
| 1190 |
</xsd:annotation> |
| 1191 |
<xsd:complexContent> |
| 1192 |
<xsd:extension base="cdf:selectableItemType"> |
| 1193 |
<xsd:sequence> |
| 1194 |
<xsd:element ref="cdf:Value" minOccurs="0" maxOccurs="unbounded"> |
| 1195 |
<xsd:annotation> |
| 1196 |
<xsd:documentation xml:lang="en"><xccdf:Value> elements that |
| 1197 |
belong to this <xccdf:Group>. </xsd:documentation> |
| 1198 |
</xsd:annotation> |
| 1199 |
</xsd:element> |
| 1200 |
<xsd:choice minOccurs="0" maxOccurs="unbounded"> |
| 1201 |
<xsd:element ref="cdf:Group"> |
| 1202 |
<xsd:annotation> |
| 1203 |
<xsd:documentation xml:lang="en">Sub-<xccdf:Groups> under this |
| 1204 |
<xccdf:Group>. </xsd:documentation> |
| 1205 |
</xsd:annotation> |
| 1206 |
</xsd:element> |
| 1207 |
<xsd:element ref="cdf:Rule"> |
| 1208 |
<xsd:annotation> |
| 1209 |
<xsd:documentation xml:lang="en"><xccdf:Rule> elements that |
| 1210 |
belong to this <xccdf:Group>. </xsd:documentation> |
| 1211 |
</xsd:annotation> |
| 1212 |
</xsd:element> |
| 1213 |
</xsd:choice> |
| 1214 |
<xsd:element name="signature" type="cdf:signatureType" minOccurs="0" |
| 1215 |
maxOccurs="1"> |
| 1216 |
<xsd:annotation> |
| 1217 |
<xsd:documentation xml:lang="en">A digital signature asserting |
| 1218 |
authorship and allowing verification of the integrity of the |
| 1219 |
<xccdf:Group>. </xsd:documentation> |
| 1220 |
</xsd:annotation> |
| 1221 |
</xsd:element> |
| 1222 |
</xsd:sequence> |
| 1223 |
<xsd:attribute name="id" type="cdf:groupIdType" use="required"> |
| 1224 |
<xsd:annotation> |
| 1225 |
<xsd:documentation xml:lang="en">Unique element identifier; used by other |
| 1226 |
elements to refer to this element. </xsd:documentation> |
| 1227 |
</xsd:annotation> |
| 1228 |
</xsd:attribute> |
| 1229 |
</xsd:extension> |
| 1230 |
</xsd:complexContent> |
| 1231 |
</xsd:complexType> |
| 1232 |
|
| 1233 |
|
| 1234 |
|
| 1235 |
|
| 1236 |
|
| 1237 |
<xsd:element name="Rule" type="cdf:ruleType"> |
| 1238 |
<xsd:annotation> |
| 1239 |
<xsd:documentation xml:lang="en"> The <xccdf:Rule> element contains the |
| 1240 |
description for a single item of guidance or constraint. <xccdf:Rule> elements |
| 1241 |
form the basis for testing a target platform for compliance with an |
| 1242 |
<xccdf:Benchmark>, for scoring, and for conveying descriptive prose, |
| 1243 |
identifiers, references, and remediation information. </xsd:documentation> |
| 1244 |
</xsd:annotation> |
| 1245 |
<xsd:unique name="ruleCheckSelectorKey"> |
| 1246 |
<xsd:selector xpath="./cdf:check"/> |
| 1247 |
<xsd:field xpath="@selector"/> |
| 1248 |
<xsd:field xpath="@system"/> |
| 1249 |
</xsd:unique> |
| 1250 |
<xsd:unique name="ruleCheckIdKey"> |
| 1251 |
<xsd:selector xpath=".//cdf:check"/> |
| 1252 |
<xsd:field xpath="@id"/> |
| 1253 |
</xsd:unique> |
| 1254 |
</xsd:element> |
| 1255 |
|
| 1256 |
<xsd:complexType name="ruleType"> |
| 1257 |
<xsd:annotation> |
| 1258 |
<xsd:documentation xml:lang="en"> Data type for the <xccdf:Rule> element that |
| 1259 |
represents a specific <xccdf:Benchmark> test. </xsd:documentation> |
| 1260 |
</xsd:annotation> |
| 1261 |
<xsd:complexContent> |
| 1262 |
<xsd:extension base="cdf:selectableItemType"> |
| 1263 |
<xsd:sequence> |
| 1264 |
<xsd:element name="ident" type="cdf:identType" minOccurs="0" |
| 1265 |
maxOccurs="unbounded"> |
| 1266 |
<xsd:annotation> |
| 1267 |
<xsd:documentation xml:lang="en">A globally meaningful identifier for |
| 1268 |
this <xccdf:Rule>. This may be the name or identifier of a |
| 1269 |
security configuration issue or vulnerability that the |
| 1270 |
<xccdf:Rule> assesses.</xsd:documentation> |
| 1271 |
</xsd:annotation> |
| 1272 |
</xsd:element> |
| 1273 |
<xsd:element name="impact-metric" type="xsd:string" minOccurs="0" maxOccurs="1"> |
| 1274 |
<xsd:annotation> |
| 1275 |
<xsd:documentation xml:lang="en">The potential impact of failure to |
| 1276 |
conform to the <xccdf:Rule>, expressed as a CVSS 2.0 base |
| 1277 |
vector. </xsd:documentation> |
| 1278 |
<xsd:appinfo> |
| 1279 |
<deprecated_info> |
| 1280 |
<version>1.2</version> |
| 1281 |
<reason>The <xccdf:impact-metric> property was found to be |
| 1282 |
of little use in the anticipated XCCDF use-cases.</reason> |
| 1283 |
<comment>While there is no direct replacement for this property, |
| 1284 |
authors seeking to include equivalent information can use an |
| 1285 |
<xccdf:Rule> element's <xccdf:metadata> property |
| 1286 |
to hold this information.</comment> |
| 1287 |
</deprecated_info> |
| 1288 |
</xsd:appinfo> |
| 1289 |
</xsd:annotation> |
| 1290 |
</xsd:element> |
| 1291 |
<xsd:element name="profile-note" minOccurs="0" type="cdf:profileNoteType" |
| 1292 |
maxOccurs="unbounded"> |
| 1293 |
<xsd:annotation> |
| 1294 |
<xsd:documentation xml:lang="en">Text that describes special aspects of |
| 1295 |
the <xccdf:Rule> related to one or more <xccdf:Profile> |
| 1296 |
elements. This allows an author to document things within |
| 1297 |
<xccdf:Rule> elements that are specific to a given |
| 1298 |
<xccdf:Profile>, and then select the appropriate text based on |
| 1299 |
the selected <xccdf:Profile> and display it to the |
| 1300 |
reader.</xsd:documentation> |
| 1301 |
</xsd:annotation> |
| 1302 |
</xsd:element> |
| 1303 |
<xsd:element name="fixtext" type="cdf:fixTextType" minOccurs="0" |
| 1304 |
maxOccurs="unbounded"> |
| 1305 |
<xsd:annotation> |
| 1306 |
<xsd:documentation xml:lang="en">Data that describes how to bring a |
| 1307 |
target system into compliance with this |
| 1308 |
<xccdf:Rule>.</xsd:documentation> |
| 1309 |
</xsd:annotation> |
| 1310 |
</xsd:element> |
| 1311 |
<xsd:element name="fix" type="cdf:fixType" minOccurs="0" maxOccurs="unbounded"> |
| 1312 |
<xsd:annotation> |
| 1313 |
<xsd:documentation xml:lang="en">A command string, script, or other |
| 1314 |
system modification statement that, if executed on the target |
| 1315 |
system, can bring it into full, or at least better, compliance with |
| 1316 |
this <xccdf:Rule>.</xsd:documentation> |
| 1317 |
</xsd:annotation> |
| 1318 |
</xsd:element> |
| 1319 |
<xsd:choice> |
| 1320 |
<xsd:element name="check" type="cdf:checkType" minOccurs="0" |
| 1321 |
maxOccurs="unbounded"> |
| 1322 |
<xsd:annotation> |
| 1323 |
<xsd:documentation xml:lang="en">The definition of, or a reference |
| 1324 |
to, the target system check needed to test compliance with this |
| 1325 |
<xccdf:Rule>. Sibling <xccdf:check> elements must |
| 1326 |
have different values for the combination of their @selector and |
| 1327 |
@system attributes, and must have different values for their @id |
| 1328 |
attribute (if any).</xsd:documentation> |
| 1329 |
</xsd:annotation> |
| 1330 |
</xsd:element> |
| 1331 |
<xsd:element name="complex-check" minOccurs="0" type="cdf:complexCheckType" |
| 1332 |
maxOccurs="1"> |
| 1333 |
<xsd:annotation> |
| 1334 |
<xsd:documentation xml:lang="en">A boolean expression composed of |
| 1335 |
operators (and, or, not) and individual |
| 1336 |
checks.</xsd:documentation> |
| 1337 |
</xsd:annotation> |
| 1338 |
</xsd:element> |
| 1339 |
</xsd:choice> |
| 1340 |
<xsd:element name="signature" type="cdf:signatureType" minOccurs="0" |
| 1341 |
maxOccurs="1"> |
| 1342 |
<xsd:annotation> |
| 1343 |
<xsd:documentation xml:lang="en">A digital signature asserting |
| 1344 |
authorship and allowing verification of the integrity of the |
| 1345 |
<xccdf:Rule>.</xsd:documentation> |
| 1346 |
</xsd:annotation> |
| 1347 |
</xsd:element> |
| 1348 |
</xsd:sequence> |
| 1349 |
<xsd:attribute name="id" type="cdf:ruleIdType" use="required"> |
| 1350 |
<xsd:annotation> |
| 1351 |
<xsd:documentation xml:lang="en">Unique element identifier used by other |
| 1352 |
elements to refer to this element.</xsd:documentation> |
| 1353 |
</xsd:annotation> |
| 1354 |
</xsd:attribute> |
| 1355 |
<xsd:attribute name="role" type="cdf:roleEnumType" use="optional" default="full"> |
| 1356 |
<xsd:annotation> |
| 1357 |
<xsd:documentation xml:lang="en">The <xccdf:Rule> element’s role in |
| 1358 |
scoring and reporting.</xsd:documentation> |
| 1359 |
</xsd:annotation> |
| 1360 |
</xsd:attribute> |
| 1361 |
<xsd:attribute name="severity" type="cdf:severityEnumType" default="unknown" |
| 1362 |
use="optional"> |
| 1363 |
<xsd:annotation> |
| 1364 |
<xsd:documentation xml:lang="en">Severity level code to be used for metrics |
| 1365 |
and tracking.</xsd:documentation> |
| 1366 |
</xsd:annotation> |
| 1367 |
</xsd:attribute> |
| 1368 |
<xsd:attribute name="multiple" type="xsd:boolean" use="optional" default="false"> |
| 1369 |
<xsd:annotation> |
| 1370 |
<xsd:documentation xml:lang="en">Applicable in cases where there are |
| 1371 |
multiple instances of a target. For example, an <xccdf:Rule> may |
| 1372 |
provide a recommendation about the configuration of application user |
| 1373 |
accounts, but an application may have many user accounts. Each account |
| 1374 |
would be considered an instance of the broader assessment target of user |
| 1375 |
accounts. If the @multiple attribute is set to true, each instance of |
| 1376 |
the target to which the <xccdf:Rule> can apply should be tested |
| 1377 |
separately and the results should be recorded separately. If @multiple |
| 1378 |
is set to false, the test results of such instances should be combined. |
| 1379 |
If the checking system does not combine these results automatically, the |
| 1380 |
results of each instance should be ANDed together to produce a single |
| 1381 |
result. If the benchmark consumer cannot perform multiple instantiation, |
| 1382 |
or if multiple instantiation of the <xccdf:Rule> is not applicable |
| 1383 |
for the target system, then the benchmark consumer may ignore this |
| 1384 |
attribute.</xsd:documentation> |
| 1385 |
</xsd:annotation> |
| 1386 |
</xsd:attribute> |
| 1387 |
</xsd:extension> |
| 1388 |
</xsd:complexContent> |
| 1389 |
</xsd:complexType> |
| 1390 |
|
| 1391 |
|
| 1392 |
|
| 1393 |
|
| 1394 |
|
| 1395 |
<xsd:complexType name="identType"> |
| 1396 |
<xsd:annotation> |
| 1397 |
<xsd:documentation xml:lang="en"> Data type for the <xccdf:ident> element, a |
| 1398 |
globally meaningful identifier for an <xccdf:Rule>. The body of |
| 1399 |
<xccdf:ident> element is the name or identifier of a security configuration |
| 1400 |
issue or vulnerability that the <xccdf:Rule> addresses. It has an associated |
| 1401 |
URI that denotes the organization or naming scheme that assigned the name. By |
| 1402 |
setting an <xccdf:ident> element on an <xccdf:Rule>, the |
| 1403 |
<xccdf:Benchmark> author effectively declares that the <xccdf:Rule> |
| 1404 |
instantiates, implements, or remediates the issue for which the name was assigned. |
| 1405 |
</xsd:documentation> |
| 1406 |
</xsd:annotation> |
| 1407 |
<xsd:simpleContent> |
| 1408 |
<xsd:extension base="xsd:string"> |
| 1409 |
<xsd:attribute name="system" type="xsd:anyURI" use="required"> |
| 1410 |
<xsd:annotation> |
| 1411 |
<xsd:documentation xml:lang="en">Denotes the organization or naming scheme |
| 1412 |
that assigned the identifier. </xsd:documentation> |
| 1413 |
</xsd:annotation> |
| 1414 |
</xsd:attribute> |
| 1415 |
<xsd:anyAttribute namespace="##other" processContents="lax"> |
| 1416 |
<xsd:annotation> |
| 1417 |
<xsd:documentation xml:lang="en">May also have other attributes from other |
| 1418 |
namespaces in order to provide additional metadata for the given |
| 1419 |
identifier. </xsd:documentation> |
| 1420 |
</xsd:annotation> |
| 1421 |
</xsd:anyAttribute> |
| 1422 |
</xsd:extension> |
| 1423 |
</xsd:simpleContent> |
| 1424 |
</xsd:complexType> |
| 1425 |
|
| 1426 |
<xsd:complexType name="warningType" mixed="true"> |
| 1427 |
<xsd:annotation> |
| 1428 |
<xsd:documentation xml:lang="en"> Data type for the <xccdf:warning> element under |
| 1429 |
the <xccdf:Rule> element. This element holds a note or caveat about the item |
| 1430 |
intended to convey important cautionary information for the <xccdf:Benchmark> |
| 1431 |
user. </xsd:documentation> |
| 1432 |
</xsd:annotation> |
| 1433 |
<xsd:complexContent> |
| 1434 |
<xsd:extension base="cdf:htmlTextWithSubType"> |
| 1435 |
<xsd:attribute name="category" type="cdf:warningCategoryEnumType" use="optional" |
| 1436 |
default="general"> |
| 1437 |
<xsd:annotation> |
| 1438 |
<xsd:documentation xml:lang="en">A hint as to the nature of the |
| 1439 |
warning.</xsd:documentation> |
| 1440 |
</xsd:annotation> |
| 1441 |
</xsd:attribute> |
| 1442 |
</xsd:extension> |
| 1443 |
</xsd:complexContent> |
| 1444 |
</xsd:complexType> |
| 1445 |
|
| 1446 |
<xsd:simpleType name="warningCategoryEnumType"> |
| 1447 |
<xsd:annotation> |
| 1448 |
<xsd:documentation xml:lang="en"> Allowed warning category keywords for the |
| 1449 |
<xccdf:warning> element used in <xccdf:Rule> elements. |
| 1450 |
</xsd:documentation> |
| 1451 |
</xsd:annotation> |
| 1452 |
<xsd:restriction base="xsd:string"> |
| 1453 |
<xsd:enumeration value="general"> |
| 1454 |
<xsd:annotation> |
| 1455 |
<xsd:documentation xml:lang="en">Broad or general-purpose warning |
| 1456 |
(default)</xsd:documentation> |
| 1457 |
</xsd:annotation> |
| 1458 |
</xsd:enumeration> |
| 1459 |
<xsd:enumeration value="functionality"> |
| 1460 |
<xsd:annotation> |
| 1461 |
<xsd:documentation xml:lang="en">Warning about possible impacts to functionality |
| 1462 |
or operational features</xsd:documentation> |
| 1463 |
</xsd:annotation> |
| 1464 |
</xsd:enumeration> |
| 1465 |
<xsd:enumeration value="performance"> |
| 1466 |
<xsd:annotation> |
| 1467 |
<xsd:documentation xml:lang="en">Warning about changes to target system |
| 1468 |
performance or throughput</xsd:documentation> |
| 1469 |
</xsd:annotation> |
| 1470 |
</xsd:enumeration> |
| 1471 |
<xsd:enumeration value="hardware"> |
| 1472 |
<xsd:annotation> |
| 1473 |
<xsd:documentation xml:lang="en">Warning about hardware restrictions or possible |
| 1474 |
impacts to hardware</xsd:documentation> |
| 1475 |
</xsd:annotation> |
| 1476 |
</xsd:enumeration> |
| 1477 |
<xsd:enumeration value="legal"> |
| 1478 |
<xsd:annotation> |
| 1479 |
<xsd:documentation xml:lang="en">Warning about legal |
| 1480 |
implications</xsd:documentation> |
| 1481 |
</xsd:annotation> |
| 1482 |
</xsd:enumeration> |
| 1483 |
<xsd:enumeration value="regulatory"> |
| 1484 |
<xsd:annotation> |
| 1485 |
<xsd:documentation xml:lang="en">Warning about regulatory obligations or |
| 1486 |
compliance implications</xsd:documentation> |
| 1487 |
</xsd:annotation> |
| 1488 |
</xsd:enumeration> |
| 1489 |
<xsd:enumeration value="management"> |
| 1490 |
<xsd:annotation> |
| 1491 |
<xsd:documentation xml:lang="en">Warning about impacts to the management or |
| 1492 |
administration of the target system</xsd:documentation> |
| 1493 |
</xsd:annotation> |
| 1494 |
</xsd:enumeration> |
| 1495 |
<xsd:enumeration value="audit"> |
| 1496 |
<xsd:annotation> |
| 1497 |
<xsd:documentation xml:lang="en">Warning about impacts to audit or |
| 1498 |
logging</xsd:documentation> |
| 1499 |
</xsd:annotation> |
| 1500 |
</xsd:enumeration> |
| 1501 |
<xsd:enumeration value="dependency"> |
| 1502 |
<xsd:annotation> |
| 1503 |
<xsd:documentation xml:lang="en">Warning about dependencies between this element |
| 1504 |
and other parts of the target system, or version |
| 1505 |
dependencies</xsd:documentation> |
| 1506 |
</xsd:annotation> |
| 1507 |
</xsd:enumeration> |
| 1508 |
</xsd:restriction> |
| 1509 |
</xsd:simpleType> |
| 1510 |
|
| 1511 |
|
| 1512 |
<xsd:complexType name="fixTextType" mixed="true"> |
| 1513 |
<xsd:annotation> |
| 1514 |
<xsd:documentation xml:lang="en"> Data type for the <xccdf:fixtext> element, which |
| 1515 |
contains data that describes how to bring a target system into compliance with an |
| 1516 |
<xccdf:Rule>. Each <xccdf:fixtext> element may be associated with one or |
| 1517 |
more <xccdf:fix> elements through the @fixref attribute. The body holds |
| 1518 |
explanatory text about the fix procedures.</xsd:documentation> |
| 1519 |
</xsd:annotation> |
| 1520 |
<xsd:complexContent> |
| 1521 |
<xsd:extension base="cdf:htmlTextWithSubType"> |
| 1522 |
<xsd:attribute name="fixref" type="xsd:NCName" use="optional"> |
| 1523 |
<xsd:annotation> |
| 1524 |
<xsd:documentation xml:lang="en">A reference to the @id of an |
| 1525 |
<xccdf:fix> element. </xsd:documentation> |
| 1526 |
</xsd:annotation> |
| 1527 |
</xsd:attribute> |
| 1528 |
<xsd:attribute name="reboot" type="xsd:boolean" use="optional" default="0"> |
| 1529 |
<xsd:annotation> |
| 1530 |
<xsd:documentation xml:lang="en">True if a reboot is known to be required |
| 1531 |
and false otherwise. </xsd:documentation> |
| 1532 |
</xsd:annotation> |
| 1533 |
</xsd:attribute> |
| 1534 |
<xsd:attribute name="strategy" type="cdf:fixStrategyEnumType" use="optional" |
| 1535 |
default="unknown"> |
| 1536 |
<xsd:annotation> |
| 1537 |
<xsd:documentation xml:lang="en">The method or approach for making the |
| 1538 |
described fix. </xsd:documentation> |
| 1539 |
</xsd:annotation> |
| 1540 |
</xsd:attribute> |
| 1541 |
<xsd:attribute name="disruption" type="cdf:ratingEnumType" use="optional" |
| 1542 |
default="unknown"> |
| 1543 |
<xsd:annotation> |
| 1544 |
<xsd:documentation xml:lang="en">An estimate of the potential for disruption |
| 1545 |
or operational degradation that the application of this fix will impose |
| 1546 |
on the target. </xsd:documentation> |
| 1547 |
</xsd:annotation> |
| 1548 |
</xsd:attribute> |
| 1549 |
<xsd:attribute name="complexity" type="cdf:ratingEnumType" use="optional" |
| 1550 |
default="unknown"> |
| 1551 |
<xsd:annotation> |
| 1552 |
<xsd:documentation xml:lang="en">The estimated complexity or difficulty of |
| 1553 |
applying the fix to the target. </xsd:documentation> |
| 1554 |
</xsd:annotation> |
| 1555 |
</xsd:attribute> |
| 1556 |
</xsd:extension> |
| 1557 |
</xsd:complexContent> |
| 1558 |
</xsd:complexType> |
| 1559 |
|
| 1560 |
<xsd:complexType name="fixType" mixed="true"> |
| 1561 |
<xsd:annotation> |
| 1562 |
<xsd:documentation xml:lang="en"> Data type for the <xccdf:fix> element. The body |
| 1563 |
of this element contains a command string, script, or other system modification |
| 1564 |
statement that, if executed on the target system, can bring it into full, or at |
| 1565 |
least better, compliance with this <xccdf:Rule>. </xsd:documentation> |
| 1566 |
</xsd:annotation> |
| 1567 |
<xsd:choice minOccurs="0" maxOccurs="unbounded"> |
| 1568 |
<xsd:element name="sub" type="cdf:subType"> |
| 1569 |
<xsd:annotation> |
| 1570 |
<xsd:documentation xml:lang="en">Specifies an <xccdf:Value> or |
| 1571 |
<xccdf:plain-text> element to be used for text substitution |
| 1572 |
</xsd:documentation> |
| 1573 |
</xsd:annotation> |
| 1574 |
</xsd:element> |
| 1575 |
<xsd:element name="instance" type="cdf:instanceFixType"> |
| 1576 |
<xsd:annotation> |
| 1577 |
<xsd:documentation xml:lang="en">Designates a spot where the name of the |
| 1578 |
instance should be substituted into the fix template to generate the final |
| 1579 |
fix data. If the @context attribute is omitted, the value of the @context |
| 1580 |
defaults to “undefined”.</xsd:documentation> |
| 1581 |
</xsd:annotation> |
| 1582 |
</xsd:element> |
| 1583 |
</xsd:choice> |
| 1584 |
<xsd:attribute name="id" type="xsd:NCName" use="optional"> |
| 1585 |
<xsd:annotation> |
| 1586 |
<xsd:documentation xml:lang="en">A local identifier for the element. It is optional |
| 1587 |
for the @id to be unique; multiple <xccdf:fix> elements may have the same |
| 1588 |
@id but different values for their other attributes. It is used primarily to |
| 1589 |
allow <xccdf:fixtext> elements to be associated with one or more |
| 1590 |
<xccdf:fix> elements </xsd:documentation> |
| 1591 |
</xsd:annotation> |
| 1592 |
</xsd:attribute> |
| 1593 |
<xsd:attribute name="reboot" type="xsd:boolean" use="optional" default="0"> |
| 1594 |
<xsd:annotation> |
| 1595 |
<xsd:documentation xml:lang="en">True if a reboot is known to be required and false |
| 1596 |
otherwise. </xsd:documentation> |
| 1597 |
</xsd:annotation> |
| 1598 |
</xsd:attribute> |
| 1599 |
<xsd:attribute name="strategy" type="cdf:fixStrategyEnumType" use="optional" |
| 1600 |
default="unknown"> |
| 1601 |
<xsd:annotation> |
| 1602 |
<xsd:documentation xml:lang="en">The method or approach for making the described |
| 1603 |
fix. </xsd:documentation> |
| 1604 |
</xsd:annotation> |
| 1605 |
</xsd:attribute> |
| 1606 |
<xsd:attribute name="disruption" type="cdf:ratingEnumType" use="optional" default="unknown"> |
| 1607 |
<xsd:annotation> |
| 1608 |
<xsd:documentation xml:lang="en">An estimate of the potential for disruption or |
| 1609 |
operational degradation that the application of this fix will impose on the |
| 1610 |
target. </xsd:documentation> |
| 1611 |
</xsd:annotation> |
| 1612 |
</xsd:attribute> |
| 1613 |
<xsd:attribute name="complexity" type="cdf:ratingEnumType" use="optional" default="unknown"> |
| 1614 |
<xsd:annotation> |
| 1615 |
<xsd:documentation xml:lang="en">The estimated complexity or difficulty of applying |
| 1616 |
the fix to the target. </xsd:documentation> |
| 1617 |
</xsd:annotation> |
| 1618 |
</xsd:attribute> |
| 1619 |
<xsd:attribute name="system" type="xsd:anyURI" use="optional"> |
| 1620 |
<xsd:annotation> |
| 1621 |
<xsd:documentation xml:lang="en">A URI that identifies the scheme, language, engine, |
| 1622 |
or process for which the fix contents are written. Table 17 in the XCCDF |
| 1623 |
specification defines several general-purpose URNs that may be used for this, |
| 1624 |
and tool vendors and system providers may define and use target-specific |
| 1625 |
URNs.</xsd:documentation> |
| 1626 |
</xsd:annotation> |
| 1627 |
</xsd:attribute> |
| 1628 |
<xsd:attribute name="platform" type="xsd:anyURI" use="optional"> |
| 1629 |
<xsd:annotation> |
| 1630 |
<xsd:documentation xml:lang="en">In case different fix scripts or procedures are |
| 1631 |
required for different target platform types (e.g., different patches for |
| 1632 |
Windows Vista and Windows 7), this attribute allows a CPE name or CPE |
| 1633 |
applicability language expression to be associated with an <xccdf:fix> |
| 1634 |
element. This should appear on an <xccdf:fix> when the content applies to |
| 1635 |
only one platform out of several to which the <xccdf:Rule> could apply. |
| 1636 |
</xsd:documentation> |
| 1637 |
</xsd:annotation> |
| 1638 |
</xsd:attribute> |
| 1639 |
</xsd:complexType> |
| 1640 |
|
| 1641 |
<xsd:simpleType name="fixStrategyEnumType"> |
| 1642 |
<xsd:annotation> |
| 1643 |
<xsd:documentation xml:lang="en"> Allowed @strategy keyword values for an |
| 1644 |
<xccdf:Rule> element's <xccdf:fix> or <xccdf:fixtext> elements. |
| 1645 |
The values indicate the method or approach for fixing non-compliance with a |
| 1646 |
particular <xccdf:Rule>. </xsd:documentation> |
| 1647 |
</xsd:annotation> |
| 1648 |
<xsd:restriction base="xsd:string"> |
| 1649 |
<xsd:enumeration value="unknown"> |
| 1650 |
<xsd:annotation> |
| 1651 |
<xsd:documentation xml:lang="en">Strategy not defined |
| 1652 |
(default)</xsd:documentation> |
| 1653 |
</xsd:annotation> |
| 1654 |
</xsd:enumeration> |
| 1655 |
<xsd:enumeration value="configure"> |
| 1656 |
<xsd:annotation> |
| 1657 |
<xsd:documentation xml:lang="en">Adjust target |
| 1658 |
configuration/settings</xsd:documentation> |
| 1659 |
</xsd:annotation> |
| 1660 |
</xsd:enumeration> |
| 1661 |
<xsd:enumeration value="combination"> |
| 1662 |
<xsd:annotation> |
| 1663 |
<xsd:documentation xml:lang="en">Combination of two or more |
| 1664 |
approaches</xsd:documentation> |
| 1665 |
</xsd:annotation> |
| 1666 |
</xsd:enumeration> |
| 1667 |
<xsd:enumeration value="disable"> |
| 1668 |
<xsd:annotation> |
| 1669 |
<xsd:documentation xml:lang="en">Turn off or uninstall a target component |
| 1670 |
</xsd:documentation> |
| 1671 |
</xsd:annotation> |
| 1672 |
</xsd:enumeration> |
| 1673 |
<xsd:enumeration value="enable"> |
| 1674 |
<xsd:annotation> |
| 1675 |
<xsd:documentation xml:lang="en">Turn on or install a target |
| 1676 |
component</xsd:documentation> |
| 1677 |
</xsd:annotation> |
| 1678 |
</xsd:enumeration> |
| 1679 |
<xsd:enumeration value="patch"> |
| 1680 |
<xsd:annotation> |
| 1681 |
<xsd:documentation xml:lang="en">Apply a patch, hotfix, update, |
| 1682 |
etc.</xsd:documentation> |
| 1683 |
</xsd:annotation> |
| 1684 |
</xsd:enumeration> |
| 1685 |
<xsd:enumeration value="policy"> |
| 1686 |
<xsd:annotation> |
| 1687 |
<xsd:documentation xml:lang="en">Remediation requires out-of-band adjustments to |
| 1688 |
policies or procedures</xsd:documentation> |
| 1689 |
</xsd:annotation> |
| 1690 |
</xsd:enumeration> |
| 1691 |
<xsd:enumeration value="restrict"> |
| 1692 |
<xsd:annotation> |
| 1693 |
<xsd:documentation xml:lang="en">Adjust permissions, access rights, filters, or |
| 1694 |
other access restrictions</xsd:documentation> |
| 1695 |
</xsd:annotation> |
| 1696 |
</xsd:enumeration> |
| 1697 |
<xsd:enumeration value="update"> |
| 1698 |
<xsd:annotation> |
| 1699 |
<xsd:documentation xml:lang="en">Install, upgrade or update the |
| 1700 |
system</xsd:documentation> |
| 1701 |
</xsd:annotation> |
| 1702 |
</xsd:enumeration> |
| 1703 |
</xsd:restriction> |
| 1704 |
</xsd:simpleType> |
| 1705 |
|
| 1706 |
<xsd:simpleType name="ratingEnumType"> |
| 1707 |
<xsd:annotation> |
| 1708 |
<xsd:documentation xml:lang="en"> This type enumerates allowed rating values the |
| 1709 |
disruption and complexity properties of an <xccdf:Rule> element's |
| 1710 |
<xccdf:fix> or <xccdf:fixtext> elements. </xsd:documentation> |
| 1711 |
</xsd:annotation> |
| 1712 |
<xsd:restriction base="xsd:string"> |
| 1713 |
<xsd:enumeration value="unknown"> |
| 1714 |
<xsd:annotation> |
| 1715 |
<xsd:documentation xml:lang="en">Rating unknown or impossible to estimate |
| 1716 |
(default)</xsd:documentation> |
| 1717 |
</xsd:annotation> |
| 1718 |
</xsd:enumeration> |
| 1719 |
<xsd:enumeration value="low"> |
| 1720 |
<xsd:annotation> |
| 1721 |
<xsd:documentation xml:lang="en">Little or no potential for disruption, very |
| 1722 |
modest complexity</xsd:documentation> |
| 1723 |
</xsd:annotation> |
| 1724 |
</xsd:enumeration> |
| 1725 |
<xsd:enumeration value="medium"> |
| 1726 |
<xsd:annotation> |
| 1727 |
<xsd:documentation xml:lang="en">Some chance of minor disruption, substantial |
| 1728 |
complexity</xsd:documentation> |
| 1729 |
</xsd:annotation> |
| 1730 |
</xsd:enumeration> |
| 1731 |
<xsd:enumeration value="high"> |
| 1732 |
<xsd:annotation> |
| 1733 |
<xsd:documentation xml:lang="en">Likely to cause serious disruption, very |
| 1734 |
complex</xsd:documentation> |
| 1735 |
</xsd:annotation> |
| 1736 |
</xsd:enumeration> |
| 1737 |
</xsd:restriction> |
| 1738 |
</xsd:simpleType> |
| 1739 |
|
| 1740 |
<xsd:complexType name="instanceFixType"> |
| 1741 |
<xsd:annotation> |
| 1742 |
<xsd:documentation xml:lang="en"> Type for an <xccdf:instance> element which may |
| 1743 |
appear in an <xccdf:fix> element. The <xccdf:instance> element inside an |
| 1744 |
<xccdf:fix> element designates a spot where the name of the instance should be |
| 1745 |
substituted into the fix template to generate the final fix data. |
| 1746 |
</xsd:documentation> |
| 1747 |
</xsd:annotation> |
| 1748 |
<xsd:attribute name="context" type="xsd:string" default="undefined" use="optional"> |
| 1749 |
<xsd:annotation> |
| 1750 |
<xsd:documentation xml:lang="en">Describes the scope or significance of the instance |
| 1751 |
content. The context attribute is intended to be informative and does not affect |
| 1752 |
basic processing. </xsd:documentation> |
| 1753 |
</xsd:annotation> |
| 1754 |
</xsd:attribute> |
| 1755 |
</xsd:complexType> |
| 1756 |
|
| 1757 |
<xsd:complexType name="complexCheckType"> |
| 1758 |
<xsd:annotation> |
| 1759 |
<xsd:documentation xml:lang="en"> The type for an element that contains a boolean |
| 1760 |
combination of <xccdf:checks>. This element can have only |
| 1761 |
<xccdf:complex-check> and <xccdf:check> elements as children. Child |
| 1762 |
elements may appear in any order but at least one child element must be present. It |
| 1763 |
has two attributes, @operator and @negate, which dictate how <xccdf:check> or |
| 1764 |
<xccdf:complex-check> child elements are to be combined. Truth tables for |
| 1765 |
these operations appear below. </xsd:documentation> |
| 1766 |
<xsd:appinfo> |
| 1767 |
<evaluation_documentation>The two axes represent a pairwise combination of results. |
| 1768 |
Order of evaluation will not matter. Possible results are abbreviated as |
| 1769 |
follows: P = Pass, F = Fail, U = Unknown, E = Error, N = Not Applicable, K = Not |
| 1770 |
Checked, S = Not Selected, I = Informational. </evaluation_documentation> |
| 1771 |
<evaluation_chart xml:space="preserve"> |
| 1772 |
AND || P | F | U | E | N | K | S | I || |
| 1773 |
-------------------||-------------------------------|| |
| 1774 |
Pass (P) || P | F | U | E | P | P | P | P || |
| 1775 |
Fail (F) || F | F | F | F | F | F | F | F || |
| 1776 |
Unknown (U) || U | F | U | U | U | U | U | U || |
| 1777 |
Error (E) || E | F | U | E | E | E | E | E || |
| 1778 |
Notapplicable (N) || P | F | U | E | N | N | N | N || |
| 1779 |
Notchecked (K) || P | F | U | E | N | K | K | K || |
| 1780 |
Notselected (S) || P | F | U | E | N | K | S | S || |
| 1781 |
Informational (I) || P | F | U | E | N | K | S | I || |
| 1782 |
------------------------------------------------------ </evaluation_chart> |
| 1783 |
<evaluation_chart xml:space="preserve"> |
| 1784 |
OR || P | F | U | E | N | K | S | I || |
| 1785 |
-------------------||-------------------------------|| |
| 1786 |
Pass (P) || P | P | P | P | P | P | P | P || |
| 1787 |
Fail (F) || P | F | U | E | F | F | F | F || |
| 1788 |
Unknown (U) || P | U | U | U | U | U | U | U || |
| 1789 |
Error (E) || P | E | U | E | E | E | E | E || |
| 1790 |
Notapplicable (N) || P | F | U | E | N | N | N | N || |
| 1791 |
Notchecked (K) || P | F | U | E | N | K | K | K || |
| 1792 |
Notselected (S) || P | F | U | E | N | K | S | S || |
| 1793 |
Informational (I) || P | F | U | E | N | K | S | I || |
| 1794 |
------------------------------------------------------ </evaluation_chart> |
| 1795 |
<evaluation_chart xml:space="preserve"> |
| 1796 |
NOT || P | F | U | E | N | K | S | I || |
| 1797 |
----||-------------------------------|| |
| 1798 |
|| F | P | U | E | N | K | S | I || |
| 1799 |
---------------------------------------</evaluation_chart> |
| 1800 |
</xsd:appinfo> |
| 1801 |
|
| 1802 |
</xsd:annotation> |
| 1803 |
<xsd:choice minOccurs="1" maxOccurs="unbounded"> |
| 1804 |
<xsd:element name="check" type="cdf:checkType"> |
| 1805 |
<xsd:annotation> |
| 1806 |
<xsd:documentation xml:lang="en">Instructions for a single |
| 1807 |
test.</xsd:documentation> |
| 1808 |
</xsd:annotation> |
| 1809 |
</xsd:element> |
| 1810 |
<xsd:element name="complex-check" type="cdf:complexCheckType"> |
| 1811 |
<xsd:annotation> |
| 1812 |
<xsd:documentation xml:lang="en">A child <xccdf:complex-check>, allowing |
| 1813 |
another level of logic in combining component checks.</xsd:documentation> |
| 1814 |
</xsd:annotation> |
| 1815 |
</xsd:element> |
| 1816 |
</xsd:choice> |
| 1817 |
<xsd:attribute name="operator" type="cdf:ccOperatorEnumType" use="required"> |
| 1818 |
<xsd:annotation> |
| 1819 |
<xsd:documentation xml:lang="en">Indicates whether the child <xccdf:check> |
| 1820 |
and/or <xccdf:complex-check> elements of this <xccdf:complex-check> |
| 1821 |
should be combined using an AND or OR operation </xsd:documentation> |
| 1822 |
</xsd:annotation> |
| 1823 |
</xsd:attribute> |
| 1824 |
<xsd:attribute name="negate" default="0" type="xsd:boolean" use="optional"> |
| 1825 |
<xsd:annotation> |
| 1826 |
<xsd:documentation xml:lang="en">If true, negate the final result of this |
| 1827 |
<xccdf:complex-check> after the child elements are combined using the |
| 1828 |
identified operator.</xsd:documentation> |
| 1829 |
</xsd:annotation> |
| 1830 |
</xsd:attribute> |
| 1831 |
</xsd:complexType> |
| 1832 |
|
| 1833 |
<xsd:simpleType name="ccOperatorEnumType"> |
| 1834 |
<xsd:annotation> |
| 1835 |
<xsd:documentation xml:lang="en"> The type for the allowed @operator names for the |
| 1836 |
<xccdf:complex-check> operator attribute. Only AND and OR operators are |
| 1837 |
supported. (The <xccdf:complex-check> has a separate mechanism for negation.) |
| 1838 |
</xsd:documentation> |
| 1839 |
</xsd:annotation> |
| 1840 |
<xsd:restriction base="xsd:string"> |
| 1841 |
<xsd:enumeration value="OR"> |
| 1842 |
<xsd:annotation> |
| 1843 |
<xsd:documentation xml:lang="en">The logical OR of the component terms |
| 1844 |
</xsd:documentation> |
| 1845 |
</xsd:annotation> |
| 1846 |
</xsd:enumeration> |
| 1847 |
<xsd:enumeration value="AND"> |
| 1848 |
<xsd:annotation> |
| 1849 |
<xsd:documentation xml:lang="en">The logical AND of the component |
| 1850 |
terms</xsd:documentation> |
| 1851 |
</xsd:annotation> |
| 1852 |
</xsd:enumeration> |
| 1853 |
</xsd:restriction> |
| 1854 |
</xsd:simpleType> |
| 1855 |
|
| 1856 |
<xsd:complexType name="checkType"> |
| 1857 |
<xsd:annotation> |
| 1858 |
<xsd:documentation xml:lang="en"> Data type for the <xccdf:check> element. The |
| 1859 |
<xccdf:check> element identifies instructions for tests to determine |
| 1860 |
compliance with the <xccdf:Rule> as well as parameters controlling the |
| 1861 |
reporting of those test results. The <xccdf:check> element must have at least |
| 1862 |
one child element. </xsd:documentation> |
| 1863 |
<xsd:appinfo> |
| 1864 |
<evaluation_documentation>The two axes represent a pairwise combination of results. |
| 1865 |
Order of evaluation will not matter. Possible results are abbreviated as |
| 1866 |
follows: P = Pass, F = Fail, U = Unknown, E = Error, N = Not Applicable, K = Not |
| 1867 |
Checked, S = Not Selected, I = Informational. </evaluation_documentation> |
| 1868 |
<evaluation_chart xml:space="preserve"> |
| 1869 |
AND || P | F | U | E | N | K | S | I || |
| 1870 |
-------------------||-------------------------------|| |
| 1871 |
Pass (P) || P | F | U | E | P | P | P | P || |
| 1872 |
Fail (F) || F | F | F | F | F | F | F | F || |
| 1873 |
Unknown (U) || U | F | U | U | U | U | U | U || |
| 1874 |
Error (E) || E | F | U | E | E | E | E | E || |
| 1875 |
Notapplicable (N) || P | F | U | E | N | N | N | N || |
| 1876 |
Notchecked (K) || P | F | U | E | N | K | K | K || |
| 1877 |
Notselected (S) || P | F | U | E | N | K | S | S || |
| 1878 |
Informational (I) || P | F | U | E | N | K | S | I || |
| 1879 |
------------------------------------------------------</evaluation_chart> |
| 1880 |
<evaluation_chart xml:space="preserve"> |
| 1881 |
NOT || P | F | U | E | N | K | S | I || |
| 1882 |
----||-------------------------------|| |
| 1883 |
|| F | P | U | E | N | K | S | I || |
| 1884 |
---------------------------------------</evaluation_chart> |
| 1885 |
</xsd:appinfo> |
| 1886 |
</xsd:annotation> |
| 1887 |
<xsd:sequence> |
| 1888 |
<xsd:element name="check-import" type="cdf:checkImportType" minOccurs="0" |
| 1889 |
maxOccurs="unbounded"> |
| 1890 |
<xsd:annotation> |
| 1891 |
<xsd:documentation xml:lang="en">Identifies a value to be retrieved from the |
| 1892 |
checking system during testing of a target system. This element's body must |
| 1893 |
be empty within an <xccdf:check>. After the associated check results |
| 1894 |
have been collected, the result structure returned by the checking engine is |
| 1895 |
processed to collect the named information. This information is then |
| 1896 |
recorded in the check-import element in the corresponding |
| 1897 |
<xccdf:rule-result>.</xsd:documentation> |
| 1898 |
</xsd:annotation> |
| 1899 |
</xsd:element> |
| 1900 |
<xsd:element name="check-export" type="cdf:checkExportType" minOccurs="0" |
| 1901 |
maxOccurs="unbounded"> |
| 1902 |
<xsd:annotation> |
| 1903 |
<xsd:documentation xml:lang="en">A mapping from an <xccdf:Value> element |
| 1904 |
to a checking system variable (i.e., external name or id for use by the |
| 1905 |
checking system). This supports export of tailoring values from the XCCDF |
| 1906 |
processing environment to the checking system.</xsd:documentation> |
| 1907 |
</xsd:annotation> |
| 1908 |
</xsd:element> |
| 1909 |
<xsd:element name="check-content-ref" minOccurs="0" maxOccurs="unbounded" |
| 1910 |
type="cdf:checkContentRefType"> |
| 1911 |
<xsd:annotation> |
| 1912 |
<xsd:documentation xml:lang="en">Points to code for a detached check in another |
| 1913 |
location that uses the language or system specified by the |
| 1914 |
<xccdf:check> element’s @system attribute. If multiple |
| 1915 |
<xccdf:check-content-ref> elements appear, they represent alternative |
| 1916 |
locations from which a benchmark consumer may obtain the check content. |
| 1917 |
Benchmark consumers should process the alternatives in the order in which |
| 1918 |
they appear in the XML. The first <xccdf:check-content-ref> from which |
| 1919 |
content can be successfully retrieved should be used.</xsd:documentation> |
| 1920 |
</xsd:annotation> |
| 1921 |
</xsd:element> |
| 1922 |
<xsd:element name="check-content" minOccurs="0" maxOccurs="1" |
| 1923 |
type="cdf:checkContentType"> |
| 1924 |
<xsd:annotation> |
| 1925 |
<xsd:documentation xml:lang="en">Holds the actual code of a check, in the |
| 1926 |
language or system specified by the <xccdf:check> element’s @system |
| 1927 |
attribute. If both <xccdf:check-content-ref> and |
| 1928 |
<xccdf:check-content> elements appear in a single <xccdf:check> |
| 1929 |
element, benchmark consumers should use the <xccdf:check-content> |
| 1930 |
element only if none of the references can be resolved to provide |
| 1931 |
content.</xsd:documentation> |
| 1932 |
</xsd:annotation> |
| 1933 |
</xsd:element> |
| 1934 |
</xsd:sequence> |
| 1935 |
<xsd:attribute name="system" type="xsd:anyURI" use="required"> |
| 1936 |
<xsd:annotation> |
| 1937 |
<xsd:documentation xml:lang="en">The URI for a checking system. If the checking |
| 1938 |
system uses XML namespaces, then the system attribute for the system should be |
| 1939 |
its namespace. </xsd:documentation> |
| 1940 |
</xsd:annotation> |
| 1941 |
</xsd:attribute> |
| 1942 |
<xsd:attribute name="negate" type="xsd:boolean" use="optional" default="false"> |
| 1943 |
<xsd:annotation> |
| 1944 |
<xsd:documentation xml:lang="en">If set to true, the final result of the |
| 1945 |
<xccdf:check> is negated according to the truth table given below. |
| 1946 |
</xsd:documentation> |
| 1947 |
</xsd:annotation> |
| 1948 |
</xsd:attribute> |
| 1949 |
<xsd:attribute name="id" type="xsd:NCName" use="optional"> |
| 1950 |
<xsd:annotation> |
| 1951 |
<xsd:documentation xml:lang="en">Unique identifier for this element. Optional, but |
| 1952 |
must be globally unique if present.</xsd:documentation> |
| 1953 |
</xsd:annotation> |
| 1954 |
</xsd:attribute> |
| 1955 |
<xsd:attribute name="selector" default="" type="xsd:string" use="optional"> |
| 1956 |
<xsd:annotation> |
| 1957 |
<xsd:documentation xml:lang="en">This may be referenced from <xccdf:Profile> |
| 1958 |
selection elements or used during manual tailoring to refine the application of |
| 1959 |
the <xccdf:Rule>. If no selector values are specified for a given |
| 1960 |
<xccdf:Rule> by <xccdf:Profile> elements or manual tailoring, all |
| 1961 |
<xccdf:check> elements with non-empty @selector attributes are ignored. If |
| 1962 |
an <xccdf:Rule> has multiple <xccdf:check> elements with the same |
| 1963 |
@selector attribute, each must employ a different checking system, as identified |
| 1964 |
by the @system attribute of the <xccdf:check> element.</xsd:documentation> |
| 1965 |
</xsd:annotation> |
| 1966 |
</xsd:attribute> |
| 1967 |
<xsd:attribute name="multi-check" type="xsd:boolean" use="optional" default="false"> |
| 1968 |
<xsd:annotation> |
| 1969 |
<xsd:documentation xml:lang="en">Applicable in cases where multiple checks are |
| 1970 |
executed to determine compliance with a single <xccdf:Rule>. This |
| 1971 |
situation can arise when an <xccdf:check> includes an |
| 1972 |
<xccdf:check-content-ref> element that does not include a @name attribute. |
| 1973 |
The default behavior of a nameless <xccdf:check-content-ref> is to execute |
| 1974 |
all checks in the referenced check content location and AND their results |
| 1975 |
together into a single <xccdf:rule-result> using the AND truth table |
| 1976 |
below. This corresponds to a @multi-check attribute value of “false”. If, |
| 1977 |
however, the @multi-check attribute is set to "true" and a nameless |
| 1978 |
<xccdf:check-content-ref> is used, the <xccdf:Rule> produces a |
| 1979 |
separate <xccdf:rule-result> for each check.</xsd:documentation> |
| 1980 |
</xsd:annotation> |
| 1981 |
</xsd:attribute> |
| 1982 |
<xsd:attribute ref="xml:base"/> |
| 1983 |
</xsd:complexType> |
| 1984 |
|
| 1985 |
<xsd:complexType name="checkImportType" mixed="true"> |
| 1986 |
<xsd:annotation> |
| 1987 |
<xsd:documentation xml:lang="en"> Data type for the <xccdf:check-import> element, |
| 1988 |
which specifies a value that the <xccdf:Benchmark> author wishes to retrieve |
| 1989 |
from the checking system during testing of a target system. The @import-name |
| 1990 |
attribute identifies some structure in the checking system that is then retrieved. |
| 1991 |
The mapping from the values of this attribute to specific checking system structures |
| 1992 |
is beyond the scope of the XCCDF specification. When the <xccdf:check-import> |
| 1993 |
element appears in the context of an <xccdf:Rule>, then it should be empty and |
| 1994 |
any content must be ignored. When the <xccdf:check-import> element appears in |
| 1995 |
the context of an <xccdf:rule-result>, then its body holds the imported value. |
| 1996 |
</xsd:documentation> |
| 1997 |
</xsd:annotation> |
| 1998 |
<xsd:sequence> |
| 1999 |
<xsd:any processContents="skip" minOccurs="0"/> |
| 2000 |
</xsd:sequence> |
| 2001 |
<xsd:attribute name="import-name" type="xsd:string" use="required"> |
| 2002 |
<xsd:annotation> |
| 2003 |
<xsd:documentation xml:lang="en">An identifier indicating some structure in the |
| 2004 |
checking system to be collected. </xsd:documentation> |
| 2005 |
</xsd:annotation> |
| 2006 |
</xsd:attribute> |
| 2007 |
<xsd:attribute name="import-xpath" type="xsd:string" use="optional"> |
| 2008 |
<xsd:annotation> |
| 2009 |
<xsd:documentation xml:lang="en">An XPath that is used to select specific values or |
| 2010 |
structures from the imported structure. This allows further refinement of the |
| 2011 |
collected data if the imported value takes the form of XML structures. |
| 2012 |
</xsd:documentation> |
| 2013 |
</xsd:annotation> |
| 2014 |
</xsd:attribute> |
| 2015 |
</xsd:complexType> |
| 2016 |
|
| 2017 |
<xsd:complexType name="checkExportType"> |
| 2018 |
<xsd:annotation> |
| 2019 |
<xsd:documentation xml:lang="en"> Data type for the <xccdf:check-export> element, |
| 2020 |
which specifies a mapping from an <xccdf:Value> element to a checking system |
| 2021 |
variable (i.e., external name or id for use by the checking system). This supports |
| 2022 |
export of tailoring <xccdf:Value> elements from the XCCDF processing |
| 2023 |
environment to the checking system. The interface between the XCCDF benchmark |
| 2024 |
consumer and the checking system should support, at a minimum, passing the |
| 2025 |
<xccdf:value> property of the <xccdf:Value> element, but may also |
| 2026 |
support passing the <xccdf:Value> element's @type and @operator |
| 2027 |
properties.</xsd:documentation> |
| 2028 |
</xsd:annotation> |
| 2029 |
<xsd:attribute name="value-id" type="xsd:NCName" use="required"> |
| 2030 |
<xsd:annotation> |
| 2031 |
<xsd:documentation xml:lang="en">The id of the <xccdf:Value> element to |
| 2032 |
export. </xsd:documentation> |
| 2033 |
</xsd:annotation> |
| 2034 |
</xsd:attribute> |
| 2035 |
<xsd:attribute name="export-name" type="xsd:string" use="required"> |
| 2036 |
<xsd:annotation> |
| 2037 |
<xsd:documentation xml:lang="en">An identifier indicating some structure in the |
| 2038 |
checking system into which the identified <xccdf:Value> element's |
| 2039 |
properties will be mapped. </xsd:documentation> |
| 2040 |
</xsd:annotation> |
| 2041 |
</xsd:attribute> |
| 2042 |
</xsd:complexType> |
| 2043 |
|
| 2044 |
<xsd:complexType name="checkContentRefType"> |
| 2045 |
<xsd:annotation> |
| 2046 |
<xsd:documentation xml:lang="en"> Data type for the <xccdf:check-content-ref> |
| 2047 |
element, which points to the code for a detached check in another file. This element |
| 2048 |
has no body, just a couple of attributes: @href and @name. The @name is optional, if |
| 2049 |
it does not appear then this reference is to the entire document. |
| 2050 |
</xsd:documentation> |
| 2051 |
</xsd:annotation> |
| 2052 |
<xsd:attribute name="href" type="xsd:anyURI" use="required"> |
| 2053 |
<xsd:annotation> |
| 2054 |
<xsd:documentation xml:lang="en">Identifies the referenced document containing |
| 2055 |
checking instructions. </xsd:documentation> |
| 2056 |
</xsd:annotation> |
| 2057 |
</xsd:attribute> |
| 2058 |
<xsd:attribute name="name" type="xsd:string"> |
| 2059 |
<xsd:annotation> |
| 2060 |
<xsd:documentation xml:lang="en">Identifies a particular part or element of the |
| 2061 |
referenced check document. </xsd:documentation> |
| 2062 |
</xsd:annotation> |
| 2063 |
</xsd:attribute> |
| 2064 |
</xsd:complexType> |
| 2065 |
|
| 2066 |
<xsd:complexType name="checkContentType" mixed="true"> |
| 2067 |
<xsd:annotation> |
| 2068 |
<xsd:documentation xml:lang="en"> Data type for the <xccdf:check-content> element. |
| 2069 |
The body of this element holds the actual code of a check, in the language or system |
| 2070 |
specified by the <xccdf:check> element’s @system attribute. The body of this |
| 2071 |
element may be any XML, but cannot contain any XCCDF elements. XCCDF tools do not |
| 2072 |
process its content directly but instead pass the content directly to checking |
| 2073 |
engines. </xsd:documentation> |
| 2074 |
</xsd:annotation> |
| 2075 |
<xsd:choice minOccurs="0" maxOccurs="unbounded"> |
| 2076 |
<xsd:any namespace="##other" processContents="skip"/> |
| 2077 |
</xsd:choice> |
| 2078 |
</xsd:complexType> |
| 2079 |
|
| 2080 |
<xsd:simpleType name="weightType"> |
| 2081 |
<xsd:annotation> |
| 2082 |
<xsd:documentation xml:lang="en"> Data type for an <xccdf:Rule> element's weight, |
| 2083 |
a non-negative real number. </xsd:documentation> |
| 2084 |
</xsd:annotation> |
| 2085 |
<xsd:restriction base="xsd:decimal"> |
| 2086 |
<xsd:minInclusive value="0.0"/> |
| 2087 |
<xsd:totalDigits value="3"/> |
| 2088 |
</xsd:restriction> |
| 2089 |
</xsd:simpleType> |
| 2090 |
|
| 2091 |
|
| 2092 |
|
| 2093 |
|
| 2094 |
<xsd:element name="Value" type="cdf:valueType"> |
| 2095 |
<xsd:annotation> |
| 2096 |
<xsd:documentation xml:lang="en">The <xccdf:Value> element is a named parameter |
| 2097 |
that can be substituted into properties of other elements within the |
| 2098 |
<xccdf:Benchmark>, including the interior of structured check specifications |
| 2099 |
and fix scripts.</xsd:documentation> |
| 2100 |
</xsd:annotation> |
| 2101 |
<xsd:unique name="valueSelectorKey"> |
| 2102 |
<xsd:selector xpath="./cdf:value|cdf:complex-value"/> |
| 2103 |
<xsd:field xpath="@selector"/> |
| 2104 |
</xsd:unique> |
| 2105 |
<xsd:unique name="defaultSelectorKey"> |
| 2106 |
<xsd:selector xpath="./cdf:default|cdf:complex-default"/> |
| 2107 |
<xsd:field xpath="@selector"/> |
| 2108 |
</xsd:unique> |
| 2109 |
<xsd:unique name="matchSelectorKey"> |
| 2110 |
<xsd:selector xpath="./cdf:match"/> |
| 2111 |
<xsd:field xpath="@selector"/> |
| 2112 |
</xsd:unique> |
| 2113 |
<xsd:unique name="lower-boundSelectorKey"> |
| 2114 |
<xsd:selector xpath="./cdf:lower-bound"/> |
| 2115 |
<xsd:field xpath="@selector"/> |
| 2116 |
</xsd:unique> |
| 2117 |
<xsd:unique name="upper-boundSelectorKey"> |
| 2118 |
<xsd:selector xpath="./cdf:upper-bound"/> |
| 2119 |
<xsd:field xpath="@selector"/> |
| 2120 |
</xsd:unique> |
| 2121 |
<xsd:unique name="choicesSelectorKey"> |
| 2122 |
<xsd:selector xpath="./cdf:choices"/> |
| 2123 |
<xsd:field xpath="@selector"/> |
| 2124 |
</xsd:unique> |
| 2125 |
</xsd:element> |
| 2126 |
|
| 2127 |
<xsd:complexType name="valueType"> |
| 2128 |
<xsd:annotation> |
| 2129 |
<xsd:documentation xml:lang="en"> Data type for the <xccdf:Value> element, which |
| 2130 |
is a named parameter that can be substituted into properties of other elements |
| 2131 |
within the <xccdf:Benchmark>, including the interior of structured check |
| 2132 |
specifications and fix scripts. </xsd:documentation> |
| 2133 |
</xsd:annotation> |
| 2134 |
<xsd:complexContent> |
| 2135 |
<xsd:extension base="cdf:itemType"> |
| 2136 |
<xsd:sequence> |
| 2137 |
<xsd:choice minOccurs="1" maxOccurs="unbounded"> |
| 2138 |
<xsd:element name="value" type="cdf:selStringType" minOccurs="1" |
| 2139 |
maxOccurs="1"> |
| 2140 |
<xsd:annotation> |
| 2141 |
<xsd:documentation xml:lang="en">A simple (number, string, or |
| 2142 |
boolean) value associated with this <xccdf:Value>. At any |
| 2143 |
time an <xccdf:Value> has one active (simple or complex) |
| 2144 |
value. If a selector value has been provided under |
| 2145 |
<xccdf:Profile> selection or tailoring then the active |
| 2146 |
<xccdf:value>/<xccdf:complex-value> is the one with |
| 2147 |
a matching @selector. If there is no provided selector or if the |
| 2148 |
provided selector does not match the @selector attribute of any |
| 2149 |
<xccdf:value> or <xccdf:complex-value>, the active |
| 2150 |
<xccdf:value>/<xccdf:complex-value> is the one with |
| 2151 |
an empty or absent @selector or, failing that, the first |
| 2152 |
<xccdf:value> or <xccdf:complex-value> in the XML. |
| 2153 |
When an <xccdf:Value> is exported or used in text |
| 2154 |
substitution, it is the currently active <xccdf:value> or |
| 2155 |
<xccdf:complex-value> that is actually used. If there are |
| 2156 |
multiple <xccdf:value> and/or <xccdf:complex-value> |
| 2157 |
elements, only one may omit a @selector attribute and no two may |
| 2158 |
have the same @selector value.</xsd:documentation> |
| 2159 |
</xsd:annotation> |
| 2160 |
</xsd:element> |
| 2161 |
<xsd:element name="complex-value" type="cdf:selComplexValueType" |
| 2162 |
minOccurs="1" maxOccurs="1"> |
| 2163 |
<xsd:annotation> |
| 2164 |
<xsd:documentation xml:lang="en">A complex (list) value associated |
| 2165 |
with this <xccdf:Value>. See the description of the |
| 2166 |
<xccdf:value> property for <xccdf:Rule> elements |
| 2167 |
regarding activation of an <xccdf:complex-value>. |
| 2168 |
</xsd:documentation> |
| 2169 |
</xsd:annotation> |
| 2170 |
</xsd:element> |
| 2171 |
</xsd:choice> |
| 2172 |
<xsd:choice minOccurs="0" maxOccurs="unbounded"> |
| 2173 |
<xsd:element name="default" type="cdf:selStringType" minOccurs="1" |
| 2174 |
maxOccurs="1"> |
| 2175 |
<xsd:annotation> |
| 2176 |
<xsd:documentation xml:lang="en">The default value displayed to the |
| 2177 |
user as a suggestion by benchmark producers during tailoring of |
| 2178 |
this <xccdf:Value> element. (This is not the default value |
| 2179 |
of an <xccdf:Value>; it is just the default display.) If |
| 2180 |
there are multiple <xccdf:default> and/or |
| 2181 |
<xccdf:complex-default> elements, only one may omit a |
| 2182 |
@selector attribute and no two may have the same @selector |
| 2183 |
value. </xsd:documentation> |
| 2184 |
</xsd:annotation> |
| 2185 |
</xsd:element> |
| 2186 |
<xsd:element name="complex-default" type="cdf:selComplexValueType" |
| 2187 |
minOccurs="1" maxOccurs="1"> |
| 2188 |
<xsd:annotation> |
| 2189 |
<xsd:documentation xml:lang="en">The default |
| 2190 |
<xccdf:complex-value> displayed to the user as a |
| 2191 |
suggestion by benchmark producers during tailoring of this |
| 2192 |
<xccdf:Value> element. (This is not the default value of |
| 2193 |
an <xccdf:Value>; it is just the default display.) If |
| 2194 |
there are multiple <xccdf:default> and |
| 2195 |
<xccdf:complex-default> elements, only one may omit a |
| 2196 |
@selector attribute and no two may have the same @selector |
| 2197 |
value. </xsd:documentation> |
| 2198 |
</xsd:annotation> |
| 2199 |
</xsd:element> |
| 2200 |
</xsd:choice> |
| 2201 |
<xsd:element name="match" type="cdf:selStringType" minOccurs="0" |
| 2202 |
maxOccurs="unbounded"> |
| 2203 |
<xsd:annotation> |
| 2204 |
<xsd:documentation xml:lang="en">A Perl Compatible Regular Expression |
| 2205 |
that a benchmark producer may apply during tailoring to validate a |
| 2206 |
user’s input for the <xccdf:Value>. It uses implicit |
| 2207 |
anchoring. It applies only when the @type property is “string” or |
| 2208 |
“number” or a list of strings and/or numbers.</xsd:documentation> |
| 2209 |
</xsd:annotation> |
| 2210 |
</xsd:element> |
| 2211 |
<xsd:element name="lower-bound" type="cdf:selNumType" minOccurs="0" |
| 2212 |
maxOccurs="unbounded"> |
| 2213 |
<xsd:annotation> |
| 2214 |
<xsd:documentation xml:lang="en">Minimum legal value for this |
| 2215 |
<xccdf:Value>. It is used to constrain value input during |
| 2216 |
tailoring, when the @type property is “number”. Values supplied by |
| 2217 |
the user for tailoring the <xccdf:Benchmark> must be equal to |
| 2218 |
or greater than this number. </xsd:documentation> |
| 2219 |
</xsd:annotation> |
| 2220 |
</xsd:element> |
| 2221 |
<xsd:element name="upper-bound" type="cdf:selNumType" minOccurs="0" |
| 2222 |
maxOccurs="unbounded"> |
| 2223 |
<xsd:annotation> |
| 2224 |
<xsd:documentation xml:lang="en">Maximum legal value for this |
| 2225 |
<xccdf:Value>. It is used to constrain value input during |
| 2226 |
tailoring, when the @type is “number”. Values supplied by the user |
| 2227 |
for tailoring the <xccdf:Benchmark> must be less than or equal |
| 2228 |
to than this number. </xsd:documentation> |
| 2229 |
</xsd:annotation> |
| 2230 |
</xsd:element> |
| 2231 |
<xsd:element name="choices" type="cdf:selChoicesType" minOccurs="0" |
| 2232 |
maxOccurs="unbounded"> |
| 2233 |
<xsd:annotation> |
| 2234 |
<xsd:documentation xml:lang="en">A list of legal or suggested choices |
| 2235 |
(values) for an <xccdf:Value> element, to be used during |
| 2236 |
tailoring and document generation. </xsd:documentation> |
| 2237 |
</xsd:annotation> |
| 2238 |
</xsd:element> |
| 2239 |
<xsd:element name="source" type="cdf:uriRefType" minOccurs="0" |
| 2240 |
maxOccurs="unbounded"> |
| 2241 |
<xsd:annotation> |
| 2242 |
<xsd:documentation xml:lang="en">URI indicating where the tool may |
| 2243 |
acquire values, value bounds, or value choices for this |
| 2244 |
<xccdf:Value> element. XCCDF does not attach any meaning to |
| 2245 |
the URI; it may be an arbitrary community or tool-specific value, or |
| 2246 |
a pointer directly to a resource. If several instances of the |
| 2247 |
<xccdf:source> property appear, then they represent |
| 2248 |
alternative means or locations for obtaining the value in descending |
| 2249 |
order of preference (i.e., most preferred first). |
| 2250 |
</xsd:documentation> |
| 2251 |
</xsd:annotation> |
| 2252 |
</xsd:element> |
| 2253 |
<xsd:element name="signature" type="cdf:signatureType" minOccurs="0" |
| 2254 |
maxOccurs="1"> |
| 2255 |
<xsd:annotation> |
| 2256 |
<xsd:documentation xml:lang="en">A digital signature asserting |
| 2257 |
authorship and allowing verification of the integrity of the |
| 2258 |
<xccdf:Value>. </xsd:documentation> |
| 2259 |
</xsd:annotation> |
| 2260 |
</xsd:element> |
| 2261 |
</xsd:sequence> |
| 2262 |
<xsd:attribute name="id" type="cdf:valueIdType" use="required"> |
| 2263 |
<xsd:annotation> |
| 2264 |
<xsd:documentation xml:lang="en">The unique identifier for this element. |
| 2265 |
</xsd:documentation> |
| 2266 |
</xsd:annotation> |
| 2267 |
</xsd:attribute> |
| 2268 |
<xsd:attribute name="type" type="cdf:valueTypeType" default="string" use="optional"> |
| 2269 |
<xsd:annotation> |
| 2270 |
<xsd:documentation xml:lang="en">The data type of the <xccdf:Value>. A |
| 2271 |
tool may choose any convenient form to store an <xccdf:Value> |
| 2272 |
element’s <xccdf:value> element, but the @type attribute conveys |
| 2273 |
how the <xccdf:Value> should be treated for user input validation |
| 2274 |
purposes during tailoring processing. The @type attribute may also be |
| 2275 |
used to give additional guidance to the user or to validate the user’s |
| 2276 |
input. In the case of a list of values, the @type attribute, if present, |
| 2277 |
applies to all elements of the list individually.</xsd:documentation> |
| 2278 |
</xsd:annotation> |
| 2279 |
</xsd:attribute> |
| 2280 |
<xsd:attribute name="operator" type="cdf:valueOperatorType" default="equals" |
| 2281 |
use="optional"> |
| 2282 |
<xsd:annotation> |
| 2283 |
<xsd:documentation xml:lang="en">The operator to be used for comparing this |
| 2284 |
<xccdf:Value> to some part of the test system’s configuration |
| 2285 |
during <xccdf:Rule> checking. </xsd:documentation> |
| 2286 |
</xsd:annotation> |
| 2287 |
</xsd:attribute> |
| 2288 |
<xsd:attribute name="interactive" type="xsd:boolean" default="0" use="optional"> |
| 2289 |
<xsd:annotation> |
| 2290 |
<xsd:documentation xml:lang="en">Whether tailoring for this |
| 2291 |
<xccdf:Value> should be performed during <xccdf:Benchmark> |
| 2292 |
application. The benchmark consumer may ignore the attribute if asking |
| 2293 |
the user is not feasible or not supported.</xsd:documentation> |
| 2294 |
</xsd:annotation> |
| 2295 |
</xsd:attribute> |
| 2296 |
<xsd:attribute name="interfaceHint" use="optional" type="cdf:interfaceHintType"> |
| 2297 |
<xsd:annotation> |
| 2298 |
<xsd:documentation xml:lang="en">A hint or recommendation to a benchmark |
| 2299 |
consumer or producer about how the user might select or adjust the |
| 2300 |
<xccdf:Value>. </xsd:documentation> |
| 2301 |
</xsd:annotation> |
| 2302 |
</xsd:attribute> |
| 2303 |
</xsd:extension> |
| 2304 |
</xsd:complexContent> |
| 2305 |
</xsd:complexType> |
| 2306 |
|
| 2307 |
|
| 2308 |
|
| 2309 |
|
| 2310 |
|
| 2311 |
<xsd:complexType name="complexValueType"> |
| 2312 |
<xsd:annotation> |
| 2313 |
<xsd:documentation xml:lang="en">Data type that supports values that are lists of simple |
| 2314 |
types. Each element in the list is represented by an instance of the |
| 2315 |
<xccdf:item> child element. If there are no <xccdf:item> child elements |
| 2316 |
then this represents an empty list. </xsd:documentation> |
| 2317 |
</xsd:annotation> |
| 2318 |
<xsd:sequence> |
| 2319 |
<xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="xsd:string"> |
| 2320 |
<xsd:annotation> |
| 2321 |
<xsd:documentation xml:lang="en">A single item in the list of values. |
| 2322 |
</xsd:documentation> |
| 2323 |
</xsd:annotation> |
| 2324 |
</xsd:element> |
| 2325 |
</xsd:sequence> |
| 2326 |
</xsd:complexType> |
| 2327 |
|
| 2328 |
<xsd:complexType name="selComplexValueType"> |
| 2329 |
<xsd:annotation> |
| 2330 |
<xsd:documentation xml:lang="en"> Data type that supports values that are lists of |
| 2331 |
simple types with an associated @selector attribute used in tailoring. |
| 2332 |
</xsd:documentation> |
| 2333 |
</xsd:annotation> |
| 2334 |
<xsd:complexContent> |
| 2335 |
<xsd:extension base="cdf:complexValueType"> |
| 2336 |
<xsd:attribute name="selector" default="" type="xsd:string" use="optional"> |
| 2337 |
<xsd:annotation> |
| 2338 |
<xsd:documentation xml:lang="en">This may be referenced from |
| 2339 |
<xccdf:Profile> selection elements or used during manual tailoring |
| 2340 |
to refine the application of this property. If no selectors are |
| 2341 |
specified for a given item by <xccdf:Profile> elements or manual |
| 2342 |
tailoring, properties with empty or non-existent @selector attributes |
| 2343 |
are activated. If a selector is applied that does not match the |
| 2344 |
@selector attribute of any of a given type of property, then no |
| 2345 |
<xccdf:choices> element is considered activated. The only |
| 2346 |
exception is the <xccdf:value> and <xccdf:complex-value> |
| 2347 |
properties of an <xccdf:Value> element - if there is no |
| 2348 |
<xccdf:value> or <xccdf:complex-value> property with a |
| 2349 |
matching @selector value then the |
| 2350 |
<xccdf:value>/<xccdf:complex-value> property with an empty |
| 2351 |
or absent @selector attribute becomes active. If there is no such |
| 2352 |
<xccdf:value> or <xccdf:complex-value>, then the first |
| 2353 |
<xccdf:value> or <xccdf:complex-value> listed becomes |
| 2354 |
active. This reflects the fact that all <xccdf:Value> elements |
| 2355 |
require an active value property at all times.</xsd:documentation> |
| 2356 |
</xsd:annotation> |
| 2357 |
</xsd:attribute> |
| 2358 |
</xsd:extension> |
| 2359 |
</xsd:complexContent> |
| 2360 |
</xsd:complexType> |
| 2361 |
|
| 2362 |
<xsd:complexType name="selChoicesType"> |
| 2363 |
<xsd:annotation> |
| 2364 |
<xsd:documentation xml:lang="en"> The type of the <xccdf:choice> element, which |
| 2365 |
specifies a list of legal or suggested choices for an <xccdf:Value> object. |
| 2366 |
</xsd:documentation> |
| 2367 |
</xsd:annotation> |
| 2368 |
<xsd:choice minOccurs="1" maxOccurs="unbounded"> |
| 2369 |
<xsd:element name="choice" type="xsd:string" minOccurs="1" maxOccurs="1"> |
| 2370 |
<xsd:annotation> |
| 2371 |
<xsd:documentation xml:lang="en">A single choice holding a simple type. (I.e., |
| 2372 |
number, string, or boolean.) </xsd:documentation> |
| 2373 |
</xsd:annotation> |
| 2374 |
</xsd:element> |
| 2375 |
<xsd:element name="complex-choice" type="cdf:complexValueType" minOccurs="1" |
| 2376 |
maxOccurs="1"> |
| 2377 |
<xsd:annotation> |
| 2378 |
<xsd:documentation xml:lang="en">A single choice holding a list of simple |
| 2379 |
types.</xsd:documentation> |
| 2380 |
</xsd:annotation> |
| 2381 |
</xsd:element> |
| 2382 |
</xsd:choice> |
| 2383 |
<xsd:attribute name="mustMatch" type="xsd:boolean" use="optional"> |
| 2384 |
<xsd:annotation> |
| 2385 |
<xsd:documentation xml:lang="en">True if the listed choices are the only permissible |
| 2386 |
settings for the given <xccdf:Value>. False if choices not specified in |
| 2387 |
this <xccdf:choices> element are acceptable settings for this |
| 2388 |
<xccdf:Value>.</xsd:documentation> |
| 2389 |
</xsd:annotation> |
| 2390 |
</xsd:attribute> |
| 2391 |
<xsd:attribute name="selector" default="" type="xsd:string" use="optional"> |
| 2392 |
<xsd:annotation> |
| 2393 |
<xsd:documentation xml:lang="en">This may be referenced from <xccdf:Profile> |
| 2394 |
selection elements or used during manual tailoring to refine the application of |
| 2395 |
the <xccdf:Rule>. If no selectors are specified for a given |
| 2396 |
<xccdf:Value> by <xccdf:Profile> elements or manual tailoring, an |
| 2397 |
<xccdf:choice> element with an empty or non-existent @selector attribute |
| 2398 |
is activated. If a selector is applied that does not match the @selector |
| 2399 |
attribute of any <xccdf:choices> element, then no <xccdf:choices> |
| 2400 |
element is considered activated.</xsd:documentation> |
| 2401 |
</xsd:annotation> |
| 2402 |
</xsd:attribute> |
| 2403 |
</xsd:complexType> |
| 2404 |
|
| 2405 |
<xsd:complexType name="selStringType"> |
| 2406 |
<xsd:annotation> |
| 2407 |
<xsd:documentation xml:lang="en"> This type is for an element that has string content |
| 2408 |
and a @selector attribute for use in tailoring. </xsd:documentation> |
| 2409 |
</xsd:annotation> |
| 2410 |
<xsd:simpleContent> |
| 2411 |
<xsd:extension base="xsd:string"> |
| 2412 |
<xsd:attribute name="selector" default="" type="xsd:string" use="optional"> |
| 2413 |
<xsd:annotation> |
| 2414 |
<xsd:documentation xml:lang="en">This may be referenced from |
| 2415 |
<xccdf:Profile> selection elements or used during manual tailoring |
| 2416 |
to refine the application of this property. If no selectors are |
| 2417 |
specified for a given property by <xccdf:Profile> elements or |
| 2418 |
manual tailoring, properties with empty or non-existent @selector |
| 2419 |
attributes are activated. If a selector is applied that does not match |
| 2420 |
the @selector attribute of any of a given type of property, then no |
| 2421 |
property of that type is considered activated. The only exception is the |
| 2422 |
<xccdf:value> and <xccdf:complex-value> properties of an |
| 2423 |
<xccdf:Value> element - if there is no <xccdf:value> or |
| 2424 |
<xccdf:complex-value> property with a matching @selector value |
| 2425 |
then the <xccdf:value>/<xccdf:complex-value> property with |
| 2426 |
an empty or absent @selector attribute becomes active. If there is no |
| 2427 |
such <xccdf:value> or <xccdf:complex-value>, then the first |
| 2428 |
<xccdf:value> or <xccdf:complex-value> listed in the XML |
| 2429 |
becomes active. This reflects the fact that all <xccdf:Value> |
| 2430 |
elements require an active value property at all |
| 2431 |
times.</xsd:documentation> |
| 2432 |
</xsd:annotation> |
| 2433 |
</xsd:attribute> |
| 2434 |
</xsd:extension> |
| 2435 |
</xsd:simpleContent> |
| 2436 |
</xsd:complexType> |
| 2437 |
|
| 2438 |
<xsd:complexType name="selNumType"> |
| 2439 |
<xsd:annotation> |
| 2440 |
<xsd:documentation xml:lang="en"> This type is for an element that has numeric content |
| 2441 |
and a @selector attribute for use during tailoring. </xsd:documentation> |
| 2442 |
</xsd:annotation> |
| 2443 |
<xsd:simpleContent> |
| 2444 |
<xsd:extension base="xsd:decimal"> |
| 2445 |
<xsd:attribute name="selector" default="" type="xsd:string" use="optional"> |
| 2446 |
<xsd:annotation> |
| 2447 |
<xsd:documentation xml:lang="en">This may be referenced from |
| 2448 |
<xccdf:Profile> selection elements or used during manual tailoring |
| 2449 |
to refine the application of this property. If no selectors are |
| 2450 |
specified for a given property by <xccdf:Profile> elements or |
| 2451 |
manual tailoring, properties with empty or non-existent @selector |
| 2452 |
attributes are activated. If a selector is applied that does not match |
| 2453 |
the @selector attribute of any of a given type of property, then no |
| 2454 |
property of that type considered activated. </xsd:documentation> |
| 2455 |
</xsd:annotation> |
| 2456 |
</xsd:attribute> |
| 2457 |
</xsd:extension> |
| 2458 |
</xsd:simpleContent> |
| 2459 |
</xsd:complexType> |
| 2460 |
|
| 2461 |
<xsd:complexType name="uriRefType"> |
| 2462 |
<xsd:annotation> |
| 2463 |
<xsd:documentation xml:lang="en"> Data type for elements that have no content and a |
| 2464 |
single @uri attribute. </xsd:documentation> |
| 2465 |
</xsd:annotation> |
| 2466 |
<xsd:attribute name="uri" type="xsd:anyURI" use="required"> |
| 2467 |
<xsd:annotation> |
| 2468 |
<xsd:documentation xml:lang="en">A URI.</xsd:documentation> |
| 2469 |
</xsd:annotation> |
| 2470 |
</xsd:attribute> |
| 2471 |
</xsd:complexType> |
| 2472 |
|
| 2473 |
<xsd:simpleType name="valueTypeType"> |
| 2474 |
<xsd:annotation> |
| 2475 |
<xsd:documentation xml:lang="en">Allowed data types for <xccdf:Value> elements, |
| 2476 |
string, numeric, and boolean. A tool may choose any convenient form to store an |
| 2477 |
<xccdf:Value> element’s <xccdf:value> element, but the @type conveys how |
| 2478 |
the value should be treated for user input validation purposes during tailoring |
| 2479 |
processing. The @type may also be used to give additional guidance to the user or to |
| 2480 |
validate the user’s input. For example, if an <xccdf:value> element’s @type |
| 2481 |
attribute is “number”, then a tool might choose to reject user tailoring input that |
| 2482 |
is not composed of digits. In the case of a list of values, the @type applies to all |
| 2483 |
elements of the list individually. Note that checking systems may have their own |
| 2484 |
understanding of data types that may not be identical to the typing indicated in |
| 2485 |
XCCDF </xsd:documentation> |
| 2486 |
</xsd:annotation> |
| 2487 |
<xsd:restriction base="xsd:string"> |
| 2488 |
<xsd:enumeration value="number"> |
| 2489 |
<xsd:annotation> |
| 2490 |
<xsd:documentation xml:lang="en">A numeric value. This may be decimal or |
| 2491 |
integer.</xsd:documentation> |
| 2492 |
</xsd:annotation> |
| 2493 |
</xsd:enumeration> |
| 2494 |
<xsd:enumeration value="string"> |
| 2495 |
<xsd:annotation> |
| 2496 |
<xsd:documentation xml:lang="en">Any character data</xsd:documentation> |
| 2497 |
</xsd:annotation> |
| 2498 |
</xsd:enumeration> |
| 2499 |
<xsd:enumeration value="boolean"> |
| 2500 |
<xsd:annotation> |
| 2501 |
<xsd:documentation xml:lang="en">True/false</xsd:documentation> |
| 2502 |
</xsd:annotation> |
| 2503 |
</xsd:enumeration> |
| 2504 |
</xsd:restriction> |
| 2505 |
</xsd:simpleType> |
| 2506 |
|
| 2507 |
<xsd:simpleType name="valueOperatorType"> |
| 2508 |
<xsd:annotation> |
| 2509 |
<xsd:documentation xml:lang="en"> This type enumerates allowed values of the @operator |
| 2510 |
property of <xccdf:Value> elements. The specific interpretation of these |
| 2511 |
operators depends on the checking system used. </xsd:documentation> |
| 2512 |
</xsd:annotation> |
| 2513 |
<xsd:restriction base="xsd:string"> |
| 2514 |
<xsd:enumeration value="equals"/> |
| 2515 |
<xsd:enumeration value="not equal"/> |
| 2516 |
<xsd:enumeration value="greater than"/> |
| 2517 |
<xsd:enumeration value="less than"/> |
| 2518 |
<xsd:enumeration value="greater than or equal"/> |
| 2519 |
<xsd:enumeration value="less than or equal"/> |
| 2520 |
<xsd:enumeration value="pattern match"/> |
| 2521 |
</xsd:restriction> |
| 2522 |
</xsd:simpleType> |
| 2523 |
|
| 2524 |
<xsd:simpleType name="interfaceHintType"> |
| 2525 |
<xsd:annotation> |
| 2526 |
<xsd:documentation xml:lang="en"> Allowed interface hint values. <xccdf:Value> |
| 2527 |
elements may contain a hint or recommendation to a benchmark consumer or producer |
| 2528 |
about how the user might select or adjust the <xccdf:Value>. This type |
| 2529 |
enumerates the possible values of this hint.</xsd:documentation> |
| 2530 |
</xsd:annotation> |
| 2531 |
<xsd:restriction base="xsd:string"> |
| 2532 |
<xsd:enumeration value="choice"> |
| 2533 |
<xsd:annotation> |
| 2534 |
<xsd:documentation xml:lang="en">Multiple choice</xsd:documentation> |
| 2535 |
</xsd:annotation> |
| 2536 |
</xsd:enumeration> |
| 2537 |
<xsd:enumeration value="textline"> |
| 2538 |
<xsd:annotation> |
| 2539 |
<xsd:documentation xml:lang="en">Multiple lines of text</xsd:documentation> |
| 2540 |
</xsd:annotation> |
| 2541 |
</xsd:enumeration> |
| 2542 |
<xsd:enumeration value="text"> |
| 2543 |
<xsd:annotation> |
| 2544 |
<xsd:documentation xml:lang="en">Single line of text</xsd:documentation> |
| 2545 |
</xsd:annotation> |
| 2546 |
</xsd:enumeration> |
| 2547 |
<xsd:enumeration value="date"> |
| 2548 |
<xsd:annotation> |
| 2549 |
<xsd:documentation xml:lang="en">Date</xsd:documentation> |
| 2550 |
</xsd:annotation> |
| 2551 |
</xsd:enumeration> |
| 2552 |
<xsd:enumeration value="datetime"> |
| 2553 |
<xsd:annotation> |
| 2554 |
<xsd:documentation xml:lang="en">Date and time</xsd:documentation> |
| 2555 |
</xsd:annotation> |
| 2556 |
</xsd:enumeration> |
| 2557 |
</xsd:restriction> |
| 2558 |
</xsd:simpleType> |
| 2559 |
|
| 2560 |
|
| 2561 |
|
| 2562 |
|
| 2563 |
<xsd:element name="Profile" type="cdf:profileType"> |
| 2564 |
<xsd:annotation> |
| 2565 |
<xsd:documentation xml:lang="en">The <xccdf:Profile> element is a named tailoring |
| 2566 |
for an <xccdf:Benchmark>. While an <xccdf:Benchmark> can be tailored in |
| 2567 |
place by setting properties of various elements, <xccdf:Profile> elements |
| 2568 |
allow one <xccdf:Benchmark> document to hold several independent |
| 2569 |
tailorings.</xsd:documentation> |
| 2570 |
</xsd:annotation> |
| 2571 |
|
| 2572 |
<xsd:unique name="itemSelectKey"> |
| 2573 |
<xsd:selector xpath="./cdf:select"/> |
| 2574 |
<xsd:field xpath="@idref"/> |
| 2575 |
</xsd:unique> |
| 2576 |
<xsd:unique name="refineRuleKey"> |
| 2577 |
<xsd:selector xpath="./cdf:refine-rule"/> |
| 2578 |
<xsd:field xpath="@idref"/> |
| 2579 |
</xsd:unique> |
| 2580 |
<xsd:unique name="refineValueKey"> |
| 2581 |
<xsd:selector xpath="./cdf:refine-value"/> |
| 2582 |
<xsd:field xpath="@idref"/> |
| 2583 |
</xsd:unique> |
| 2584 |
<xsd:unique name="setValueKey"> |
| 2585 |
<xsd:selector xpath="./cdf:set-value"/> |
| 2586 |
<xsd:field xpath="@idref"/> |
| 2587 |
</xsd:unique> |
| 2588 |
</xsd:element> |
| 2589 |
|
| 2590 |
<xsd:complexType name="profileType"> |
| 2591 |
<xsd:annotation> |
| 2592 |
<xsd:documentation xml:lang="en"> Data type for the <xccdf:Profile> element, which |
| 2593 |
holds a specific tailoring of the <xccdf:Benchmark>. The main part of an |
| 2594 |
<xccdf:Profile> is the selectors: <xccdf:select>, |
| 2595 |
<xccdf:set-value>, <xccdf:set-complex-value>, <xccdf:refine-rule>, |
| 2596 |
and <xccdf:refine-value>. An <xccdf:Profile> may also be signed with an |
| 2597 |
XML-Signature. </xsd:documentation> |
| 2598 |
</xsd:annotation> |
| 2599 |
<xsd:sequence> |
| 2600 |
<xsd:element ref="cdf:status" minOccurs="0" maxOccurs="unbounded"> |
| 2601 |
<xsd:annotation> |
| 2602 |
<xsd:documentation xml:lang="en">Status of the <xccdf:Profile> and date at |
| 2603 |
which it attained that status. Authors may use this element to record the |
| 2604 |
maturity or consensus level of an <xccdf:Profile>. If the |
| 2605 |
<xccdf:status> is not given explicitly, then the <xccdf:Profile> |
| 2606 |
is taken to have the same status as its parent |
| 2607 |
<xccdf:Benchmark>.</xsd:documentation> |
| 2608 |
</xsd:annotation> |
| 2609 |
</xsd:element> |
| 2610 |
<xsd:element name="dc-status" minOccurs="0" maxOccurs="unbounded" |
| 2611 |
type="cdf:dc-statusType"> |
| 2612 |
<xsd:annotation> |
| 2613 |
<xsd:documentation xml:lang="en">Holds additional status information using the |
| 2614 |
Dublin Core format.</xsd:documentation> |
| 2615 |
</xsd:annotation> |
| 2616 |
</xsd:element> |
| 2617 |
<xsd:element name="version" type="cdf:versionType" minOccurs="0" maxOccurs="1"> |
| 2618 |
<xsd:annotation> |
| 2619 |
<xsd:documentation xml:lang="en">Version information about this |
| 2620 |
<xccdf:Profile>. </xsd:documentation> |
| 2621 |
</xsd:annotation> |
| 2622 |
</xsd:element> |
| 2623 |
<xsd:element name="title" type="cdf:textWithSubType" minOccurs="1" maxOccurs="unbounded"> |
| 2624 |
<xsd:annotation> |
| 2625 |
<xsd:documentation xml:lang="en">Title of the <xccdf:Profile>. |
| 2626 |
</xsd:documentation> |
| 2627 |
</xsd:annotation> |
| 2628 |
</xsd:element> |
| 2629 |
<xsd:element name="description" type="cdf:htmlTextWithSubType" minOccurs="0" |
| 2630 |
maxOccurs="unbounded"> |
| 2631 |
<xsd:annotation> |
| 2632 |
<xsd:documentation xml:lang="en">Text that describes the <xccdf:Profile>. |
| 2633 |
</xsd:documentation> |
| 2634 |
</xsd:annotation> |
| 2635 |
</xsd:element> |
| 2636 |
<xsd:element name="reference" type="cdf:referenceType" minOccurs="0" |
| 2637 |
maxOccurs="unbounded"> |
| 2638 |
<xsd:annotation> |
| 2639 |
<xsd:documentation xml:lang="en">A reference where the user can learn more about |
| 2640 |
the subject of this <xccdf:Profile>.</xsd:documentation> |
| 2641 |
</xsd:annotation> |
| 2642 |
</xsd:element> |
| 2643 |
<xsd:element name="platform" type="cdf:overrideableCPE2idrefType" minOccurs="0" |
| 2644 |
maxOccurs="unbounded"> |
| 2645 |
<xsd:annotation> |
| 2646 |
<xsd:documentation xml:lang="en">A target platform for this |
| 2647 |
<xccdf:Profile>. </xsd:documentation> |
| 2648 |
</xsd:annotation> |
| 2649 |
</xsd:element> |
| 2650 |
<xsd:choice minOccurs="0" maxOccurs="unbounded"> |
| 2651 |
<xsd:element name="select" minOccurs="0" type="cdf:profileSelectType"> |
| 2652 |
<xsd:annotation> |
| 2653 |
<xsd:documentation xml:lang="en">Select or deselect <xccdf:Group> and |
| 2654 |
<xccdf:Rule> elements. </xsd:documentation> |
| 2655 |
</xsd:annotation> |
| 2656 |
</xsd:element> |
| 2657 |
<xsd:element name="set-complex-value" minOccurs="0" |
| 2658 |
type="cdf:profileSetComplexValueType"> |
| 2659 |
<xsd:annotation> |
| 2660 |
<xsd:documentation xml:lang="en">Set the value of an <xccdf:Value> to |
| 2661 |
a list.</xsd:documentation> |
| 2662 |
</xsd:annotation> |
| 2663 |
</xsd:element> |
| 2664 |
<xsd:element name="set-value" minOccurs="0" type="cdf:profileSetValueType"> |
| 2665 |
<xsd:annotation> |
| 2666 |
<xsd:documentation xml:lang="en">Set the value of an <xccdf:Value> to |
| 2667 |
a simple data value.</xsd:documentation> |
| 2668 |
</xsd:annotation> |
| 2669 |
</xsd:element> |
| 2670 |
<xsd:element name="refine-value" minOccurs="0" type="cdf:profileRefineValueType"> |
| 2671 |
<xsd:annotation> |
| 2672 |
<xsd:documentation xml:lang="en">Customize the properties of an |
| 2673 |
<xccdf:Value>.</xsd:documentation> |
| 2674 |
</xsd:annotation> |
| 2675 |
</xsd:element> |
| 2676 |
<xsd:element name="refine-rule" minOccurs="0" type="cdf:profileRefineRuleType"> |
| 2677 |
<xsd:annotation> |
| 2678 |
<xsd:documentation xml:lang="en">Customize the properties of an |
| 2679 |
<xccdf:Rule> or <xccdf:Group>.</xsd:documentation> |
| 2680 |
</xsd:annotation> |
| 2681 |
</xsd:element> |
| 2682 |
</xsd:choice> |
| 2683 |
<xsd:element name="metadata" type="cdf:metadataType" minOccurs="0" maxOccurs="unbounded"> |
| 2684 |
<xsd:annotation> |
| 2685 |
<xsd:documentation xml:lang="en">Metadata associated with this |
| 2686 |
<xccdf:Profile>.</xsd:documentation> |
| 2687 |
</xsd:annotation> |
| 2688 |
</xsd:element> |
| 2689 |
<xsd:element name="signature" type="cdf:signatureType" minOccurs="0" maxOccurs="1"> |
| 2690 |
<xsd:annotation> |
| 2691 |
<xsd:documentation xml:lang="en">A digital signature asserting authorship and |
| 2692 |
allowing verification of the integrity of the |
| 2693 |
<xccdf:Profile>.</xsd:documentation> |
| 2694 |
</xsd:annotation> |
| 2695 |
</xsd:element> |
| 2696 |
</xsd:sequence> |
| 2697 |
<xsd:attribute name="id" type="cdf:profileIdType" use="required"> |
| 2698 |
<xsd:annotation> |
| 2699 |
<xsd:documentation xml:lang="en">Unique identifier for this |
| 2700 |
<xccdf:Profile>.</xsd:documentation> |
| 2701 |
</xsd:annotation> |
| 2702 |
</xsd:attribute> |
| 2703 |
<xsd:attribute name="prohibitChanges" type="xsd:boolean" default="false" use="optional"> |
| 2704 |
<xsd:annotation> |
| 2705 |
<xsd:documentation xml:lang="en">Whether or not products should prohibit changes to |
| 2706 |
this <xccdf:Profile>.</xsd:documentation> |
| 2707 |
</xsd:annotation> |
| 2708 |
</xsd:attribute> |
| 2709 |
<xsd:attribute name="abstract" type="xsd:boolean" default="false" use="optional"> |
| 2710 |
<xsd:annotation> |
| 2711 |
<xsd:documentation xml:lang="en">If true, then this <xccdf:Profile> exists |
| 2712 |
solely to be extended by other <xccdf:Profile> elements. |
| 2713 |
</xsd:documentation> |
| 2714 |
</xsd:annotation> |
| 2715 |
</xsd:attribute> |
| 2716 |
<xsd:attribute name="note-tag" type="xsd:NCName" use="optional"> |
| 2717 |
<xsd:annotation> |
| 2718 |
<xsd:documentation xml:lang="en">Tag identifier to specify which |
| 2719 |
<xccdf:profile-note> element from an <xccdf:Rule> should be |
| 2720 |
associated with this <xccdf:Profile>.</xsd:documentation> |
| 2721 |
</xsd:annotation> |
| 2722 |
</xsd:attribute> |
| 2723 |
<xsd:attribute name="extends" type="xsd:NCName" use="optional"> |
| 2724 |
<xsd:annotation> |
| 2725 |
<xsd:documentation xml:lang="en">The id of an <xccdf:Profile> on which to base |
| 2726 |
this <xccdf:Profile>.</xsd:documentation> |
| 2727 |
</xsd:annotation> |
| 2728 |
</xsd:attribute> |
| 2729 |
<xsd:attribute ref="xml:base"/> |
| 2730 |
<xsd:attribute name="Id" type="xsd:ID" use="optional"> |
| 2731 |
<xsd:annotation> |
| 2732 |
<xsd:documentation xml:lang="en">An identifier used for referencing elements |
| 2733 |
included in an XML signature.</xsd:documentation> |
| 2734 |
</xsd:annotation> |
| 2735 |
</xsd:attribute> |
| 2736 |
</xsd:complexType> |
| 2737 |
|
| 2738 |
|
| 2739 |
|
| 2740 |
|
| 2741 |
<xsd:complexType name="profileSelectType"> |
| 2742 |
<xsd:annotation> |
| 2743 |
<xsd:documentation xml:lang="en"> Type for the <xccdf:select> element in an |
| 2744 |
<xccdf:Profile>. This element designates an <xccdf:Rule>, |
| 2745 |
<xccdf:Group>, or cluster of <xccdf:Rule> and <xccdf:Group> |
| 2746 |
elements and overrides the @selected attribute on the designated items, providing a |
| 2747 |
means for including or excluding <xccdf:Rule> elements from an |
| 2748 |
assessment.</xsd:documentation> |
| 2749 |
</xsd:annotation> |
| 2750 |
<xsd:sequence> |
| 2751 |
<xsd:element name="remark" type="cdf:textType" minOccurs="0" maxOccurs="unbounded"> |
| 2752 |
<xsd:annotation> |
| 2753 |
<xsd:documentation xml:lang="en">Explanatory material or other |
| 2754 |
prose.</xsd:documentation> |
| 2755 |
</xsd:annotation> |
| 2756 |
</xsd:element> |
| 2757 |
</xsd:sequence> |
| 2758 |
<xsd:attribute name="idref" type="xsd:NCName" use="required"> |
| 2759 |
<xsd:annotation> |
| 2760 |
<xsd:documentation xml:lang="en">The @id value of an <xccdf:Rule> or |
| 2761 |
<xccdf:Group>, or the @cluster-id value of one or more <xccdf:Rule> |
| 2762 |
or <xccdf:Group> elements. </xsd:documentation> |
| 2763 |
</xsd:annotation> |
| 2764 |
</xsd:attribute> |
| 2765 |
<xsd:attribute name="selected" type="xsd:boolean" use="required"> |
| 2766 |
<xsd:annotation> |
| 2767 |
<xsd:documentation xml:lang="en">The new value for the indicated item's @selected |
| 2768 |
property. </xsd:documentation> |
| 2769 |
</xsd:annotation> |
| 2770 |
</xsd:attribute> |
| 2771 |
</xsd:complexType> |
| 2772 |
|
| 2773 |
<xsd:complexType name="profileSetValueType"> |
| 2774 |
<xsd:annotation> |
| 2775 |
<xsd:documentation xml:lang="en"> Type for the <xccdf:set-value> element in an |
| 2776 |
<xccdf:Profile>. This element upports the direct specification of simple value |
| 2777 |
types such as numbers, strings, and boolean values. This overrides the |
| 2778 |
<xccdf:value> and <xccdf:complex-value> element(s) of an |
| 2779 |
<xccdf:Value> element.</xsd:documentation> |
| 2780 |
</xsd:annotation> |
| 2781 |
<xsd:simpleContent> |
| 2782 |
<xsd:extension base="xsd:string"> |
| 2783 |
<xsd:attribute name="idref" type="xsd:NCName" use="required"> |
| 2784 |
<xsd:annotation> |
| 2785 |
<xsd:documentation xml:lang="en">The @id value of an <xccdf:Value> or |
| 2786 |
the @cluster-id value of one or more <xccdf:Value> elements |
| 2787 |
</xsd:documentation> |
| 2788 |
</xsd:annotation> |
| 2789 |
</xsd:attribute> |
| 2790 |
</xsd:extension> |
| 2791 |
</xsd:simpleContent> |
| 2792 |
</xsd:complexType> |
| 2793 |
|
| 2794 |
<xsd:complexType name="profileSetComplexValueType"> |
| 2795 |
<xsd:annotation> |
| 2796 |
<xsd:documentation xml:lang="en"> Type for the <xccdf:set-complex-value> element |
| 2797 |
in an <xccdf:Profile>. This element supports the direct specification of |
| 2798 |
complex value types such as lists. Zero or more <xccdf:item> elements may |
| 2799 |
appear as children of this element; if no child elements are present, this element |
| 2800 |
represents an empty list. This overrides the <xccdf:value> and |
| 2801 |
<xccdf:complex-value> element(s) of an <xccdf:Value> |
| 2802 |
element.</xsd:documentation> |
| 2803 |
</xsd:annotation> |
| 2804 |
<xsd:complexContent> |
| 2805 |
<xsd:extension base="cdf:complexValueType"> |
| 2806 |
<xsd:attribute name="idref" type="xsd:NCName" use="required"> |
| 2807 |
<xsd:annotation> |
| 2808 |
<xsd:documentation xml:lang="en">The @id value of an <xccdf:Value> or |
| 2809 |
the @cluster-id value of one or more <xccdf:Value> elements |
| 2810 |
</xsd:documentation> |
| 2811 |
</xsd:annotation> |
| 2812 |
</xsd:attribute> |
| 2813 |
</xsd:extension> |
| 2814 |
</xsd:complexContent> |
| 2815 |
</xsd:complexType> |
| 2816 |
|
| 2817 |
<xsd:complexType name="profileRefineValueType"> |
| 2818 |
<xsd:annotation> |
| 2819 |
<xsd:documentation xml:lang="en"> Type for the <xccdf:refine-value> element in an |
| 2820 |
<xccdf:Profile>. This element designates the <xccdf:Value> constraints |
| 2821 |
to be applied during tailoring for an <xccdf:Value> element or the |
| 2822 |
<xccdf:Value> members of a cluster. </xsd:documentation> |
| 2823 |
</xsd:annotation> |
| 2824 |
<xsd:sequence> |
| 2825 |
<xsd:element name="remark" type="cdf:textType" minOccurs="0" maxOccurs="unbounded"> |
| 2826 |
<xsd:annotation> |
| 2827 |
<xsd:documentation xml:lang="en">Explanatory material or other |
| 2828 |
prose.</xsd:documentation> |
| 2829 |
</xsd:annotation> |
| 2830 |
</xsd:element> |
| 2831 |
</xsd:sequence> |
| 2832 |
<xsd:attribute name="idref" type="xsd:NCName" use="required"> |
| 2833 |
<xsd:annotation> |
| 2834 |
<xsd:documentation xml:lang="en">The @id value of an <xccdf:Value> or the |
| 2835 |
@cluster-id value of one or more <xccdf:Value> elements |
| 2836 |
</xsd:documentation> |
| 2837 |
</xsd:annotation> |
| 2838 |
</xsd:attribute> |
| 2839 |
<xsd:attribute name="selector" type="xsd:string" use="optional"> |
| 2840 |
<xsd:annotation> |
| 2841 |
<xsd:documentation xml:lang="en">Holds a selector value corresponding to the value |
| 2842 |
of a @selector property in an <xccdf:Value> element's child properties. |
| 2843 |
Properties with a matching @selector are considered active and all other |
| 2844 |
properties are inactive. This may mean that, after selector application, some |
| 2845 |
classes of <xccdf:Value> properties will be completely inactive because |
| 2846 |
none of those properties had a matching @selector. The only exception is the |
| 2847 |
<xccdf:value> and <xccdf:complex-value> properties of an |
| 2848 |
<xccdf:Value> element - if there is no <xccdf:value> or |
| 2849 |
<xccdf:complex-value> property with a matching @selector value then the |
| 2850 |
<xccdf:value>/<xccdf:complex-value> property with an empty or absent |
| 2851 |
@selector attribute becomes active. If there is no such <xccdf:value> or |
| 2852 |
<xccdf:complex-value>, then the first <xccdf:value> or |
| 2853 |
<xccdf:complex-value> listed in the XML becomes active. This reflects the |
| 2854 |
fact that all <xccdf:Value> elements require an active value property at |
| 2855 |
all times. </xsd:documentation> |
| 2856 |
</xsd:annotation> |
| 2857 |
</xsd:attribute> |
| 2858 |
<xsd:attribute name="operator" type="cdf:valueOperatorType" use="optional"> |
| 2859 |
<xsd:annotation> |
| 2860 |
<xsd:documentation xml:lang="en">The new value for the identified |
| 2861 |
<xccdf:Value> element's @operator property. </xsd:documentation> |
| 2862 |
</xsd:annotation> |
| 2863 |
</xsd:attribute> |
| 2864 |
</xsd:complexType> |
| 2865 |
|
| 2866 |
<xsd:complexType name="profileRefineRuleType"> |
| 2867 |
<xsd:annotation> |
| 2868 |
<xsd:documentation xml:lang="en"> Type for the <xccdf:refine-rule> element in an |
| 2869 |
<xccdf:Profile>. A <xccdf:refine-rule> element allows the author to |
| 2870 |
select <xccdf:check> statements and override the @weight, @severity, and @role |
| 2871 |
of an <xccdf:Rule>, <xccdf:Group>, or cluster of <xccdf:Rule> and |
| 2872 |
<xccdf:Group> elements. Despite the name, this selector does apply for |
| 2873 |
<xccdf:Group> elements and for clusters that include <xccdf:Group> |
| 2874 |
elements, but it only affects their @weight attribute. </xsd:documentation> |
| 2875 |
</xsd:annotation> |
| 2876 |
<xsd:sequence> |
| 2877 |
<xsd:element name="remark" type="cdf:textType" minOccurs="0" maxOccurs="unbounded"> |
| 2878 |
<xsd:annotation> |
| 2879 |
<xsd:documentation xml:lang="en">Explanatory material or other |
| 2880 |
prose.</xsd:documentation> |
| 2881 |
</xsd:annotation> |
| 2882 |
</xsd:element> |
| 2883 |
</xsd:sequence> |
| 2884 |
<xsd:attribute name="idref" type="xsd:NCName" use="required"> |
| 2885 |
<xsd:annotation> |
| 2886 |
<xsd:documentation xml:lang="en">The @id value of an <xccdf:Rule> or |
| 2887 |
<xccdf:Group>, or the @cluster-id value of one or more <xccdf:Rule> |
| 2888 |
or <xccdf:Group> elements. </xsd:documentation> |
| 2889 |
</xsd:annotation> |
| 2890 |
</xsd:attribute> |
| 2891 |
<xsd:attribute name="weight" type="cdf:weightType" use="optional"> |
| 2892 |
<xsd:annotation> |
| 2893 |
<xsd:documentation xml:lang="en">The new value for the identified element's @weight |
| 2894 |
property. </xsd:documentation> |
| 2895 |
</xsd:annotation> |
| 2896 |
</xsd:attribute> |
| 2897 |
<xsd:attribute name="selector" type="xsd:string" use="optional"> |
| 2898 |
<xsd:annotation> |
| 2899 |
<xsd:documentation xml:lang="en">Holds a selector value corresponding to the value |
| 2900 |
of a @selector property in an <xccdf:Rule> element's <xccdf:check> |
| 2901 |
element. If the selector specified does not match any of the @selector |
| 2902 |
attributes specified on any of the <xccdf:check> children of an |
| 2903 |
<xccdf:Rule>, then the <xccdf:check> child element without a |
| 2904 |
@selector attribute is used. If there is no child without a @selector attribute, |
| 2905 |
then that Rule would have no effective <xccdf:check> |
| 2906 |
element.</xsd:documentation> |
| 2907 |
</xsd:annotation> |
| 2908 |
</xsd:attribute> |
| 2909 |
<xsd:attribute name="severity" type="cdf:severityEnumType" use="optional"> |
| 2910 |
<xsd:annotation> |
| 2911 |
<xsd:documentation xml:lang="en">The new value for the identified <xccdf:Rule> |
| 2912 |
element's @severity property. </xsd:documentation> |
| 2913 |
</xsd:annotation> |
| 2914 |
</xsd:attribute> |
| 2915 |
<xsd:attribute name="role" type="cdf:roleEnumType" use="optional"> |
| 2916 |
<xsd:annotation> |
| 2917 |
<xsd:documentation xml:lang="en">The new value for the identified <xccdf:Rule> |
| 2918 |
element's @role property. </xsd:documentation> |
| 2919 |
</xsd:annotation> |
| 2920 |
</xsd:attribute> |
| 2921 |
</xsd:complexType> |
| 2922 |
|
| 2923 |
|
| 2924 |
|
| 2925 |
|
| 2926 |
<xsd:element name="TestResult" type="cdf:testResultType"> |
| 2927 |
<xsd:annotation> |
| 2928 |
<xsd:documentation xml:lang="en">The <xccdf:TestResult> element encapsulates the |
| 2929 |
results of a single application of an <xccdf:Benchmark> to a single target |
| 2930 |
platform. The <xccdf:TestResult> element normally appears as the child of the |
| 2931 |
<xccdf:Benchmark> element, although it may also appear as the top-level |
| 2932 |
element of an XCCDF results document. XCCDF is not intended to be a database format |
| 2933 |
for detailed results; the <xccdf:TestResult> element offers a way to store the |
| 2934 |
results of individual tests in modest detail, with the ability to reference |
| 2935 |
lower-level testing data.</xsd:documentation> |
| 2936 |
</xsd:annotation> |
| 2937 |
</xsd:element> |
| 2938 |
|
| 2939 |
<xsd:complexType name="testResultType"> |
| 2940 |
<xsd:annotation> |
| 2941 |
<xsd:documentation xml:lang="en"> Data type for the <xccdf:TestResult> element, |
| 2942 |
which holds the results of one application of the <xccdf:Benchmark>. The |
| 2943 |
<xccdf:TestResult> element normally appears as the child of the |
| 2944 |
<xccdf:Benchmark> element, although it may also appear as the top-level |
| 2945 |
element of an XCCDF results document. XCCDF is not intended to be a database format |
| 2946 |
for detailed results; the <xccdf:TestResult> element offers a way to store the |
| 2947 |
results of individual tests in modest detail, with the ability to reference |
| 2948 |
lower-level testing data. Although several of the child elements of this type |
| 2949 |
technically support the @override attribute, the <xccdf:TestResult> element |
| 2950 |
cannot be extended. Therefore, @override has no meaning within an |
| 2951 |
<xccdf:TestResult> element and its children, and should not be used for |
| 2952 |
them.</xsd:documentation> |
| 2953 |
</xsd:annotation> |
| 2954 |
<xsd:sequence> |
| 2955 |
<xsd:element name="benchmark" minOccurs="0" maxOccurs="1" |
| 2956 |
type="cdf:benchmarkReferenceType"> |
| 2957 |
<xsd:annotation> |
| 2958 |
<xsd:documentation xml:lang="en">Reference to the <xccdf:Benchmark> for |
| 2959 |
which the <xccdf:TestResult> records results. This property is |
| 2960 |
required if this <xccdf:TestResult> element is the top-level element |
| 2961 |
and optional otherwise.</xsd:documentation> |
| 2962 |
</xsd:annotation> |
| 2963 |
</xsd:element> |
| 2964 |
<xsd:element name="tailoring-file" minOccurs="0" maxOccurs="1" |
| 2965 |
type="cdf:tailoringReferenceType"> |
| 2966 |
<xsd:annotation> |
| 2967 |
<xsd:documentation xml:lang="en">The tailoring file element contains attributes |
| 2968 |
used to identify an <xccdf:Tailoring> element used to guide the |
| 2969 |
assessment reported on in this <xccdf:TestResult>. The tailoring |
| 2970 |
element is required in an <xccdf:TestResult> if and only if an |
| 2971 |
<xccdf:Tailoring> element guided the assessment recorded in the |
| 2972 |
<xccdf:TestResult> or if the <xccdf:Tailoring> element records |
| 2973 |
manual tailoring actions applied to this assessment. </xsd:documentation> |
| 2974 |
</xsd:annotation> |
| 2975 |
</xsd:element> |
| 2976 |
<xsd:element name="title" type="cdf:textType" minOccurs="0" maxOccurs="unbounded"> |
| 2977 |
<xsd:annotation> |
| 2978 |
<xsd:documentation xml:lang="en">Title of the test.</xsd:documentation> |
| 2979 |
</xsd:annotation> |
| 2980 |
</xsd:element> |
| 2981 |
<xsd:element name="remark" type="cdf:textType" minOccurs="0" maxOccurs="unbounded"> |
| 2982 |
<xsd:annotation> |
| 2983 |
<xsd:documentation xml:lang="en">A remark about the test, possibly supplied by |
| 2984 |
the person administering the <xccdf:Benchmark> |
| 2985 |
assessment</xsd:documentation> |
| 2986 |
</xsd:annotation> |
| 2987 |
</xsd:element> |
| 2988 |
<xsd:element name="organization" type="xsd:string" minOccurs="0" maxOccurs="unbounded"> |
| 2989 |
<xsd:annotation> |
| 2990 |
<xsd:documentation xml:lang="en">The name of the organization or other entity |
| 2991 |
responsible for applying this <xccdf:Benchmark> and generating this |
| 2992 |
result. When multiple <xccdf:organization> elements are used to |
| 2993 |
indicate multiple organization names in a hierarchical organization, the |
| 2994 |
highest-level organization should appear first. </xsd:documentation> |
| 2995 |
</xsd:annotation> |
| 2996 |
</xsd:element> |
| 2997 |
<xsd:element name="identity" type="cdf:identityType" minOccurs="0" maxOccurs="1"> |
| 2998 |
<xsd:annotation> |
| 2999 |
<xsd:documentation xml:lang="en">Information about the system identity or user |
| 3000 |
employed during application of the <xccdf:Benchmark>. If used, |
| 3001 |
specifies the name of the authenticated identity.</xsd:documentation> |
| 3002 |
</xsd:annotation> |
| 3003 |
</xsd:element> |
| 3004 |
<xsd:element name="profile" type="cdf:idrefType" minOccurs="0" maxOccurs="1"> |
| 3005 |
<xsd:annotation> |
| 3006 |
<xsd:documentation xml:lang="en">The <xccdf:profile> element holds the |
| 3007 |
value of the @id attribute value of the <xccdf:Profile> selected to be |
| 3008 |
used in the assessment reported on by this <xccdf:TestResult>. This |
| 3009 |
<xccdf:Profile> might be from the <xccdf:Benchmark> or from an |
| 3010 |
<xccdf:Tailoring> file, if used. This element should appear if and |
| 3011 |
only if an <xccdf:Profile> was selected to guide the |
| 3012 |
assessment.</xsd:documentation> |
| 3013 |
</xsd:annotation> |
| 3014 |
</xsd:element> |
| 3015 |
<xsd:element name="target" type="xsd:string" minOccurs="1" maxOccurs="unbounded"> |
| 3016 |
<xsd:annotation> |
| 3017 |
<xsd:documentation xml:lang="en">Name or description of the target system whose |
| 3018 |
test results are recorded in the <xccdf:TestResult> element (the |
| 3019 |
system to which an <xccdf:Benchmark> test was applied). Each |
| 3020 |
appearance of the element supplies a name by which the target host or device |
| 3021 |
was identified at the time the test was run. The name may be any string, but |
| 3022 |
applications should include the fully qualified DNS name whenever possible. |
| 3023 |
</xsd:documentation> |
| 3024 |
</xsd:annotation> |
| 3025 |
</xsd:element> |
| 3026 |
<xsd:element name="target-address" type="xsd:string" minOccurs="0" maxOccurs="unbounded"> |
| 3027 |
<xsd:annotation> |
| 3028 |
<xsd:documentation xml:lang="en">Network address of the target system to which |
| 3029 |
an <xccdf:Benchmark> test was applied. Typical forms for the address |
| 3030 |
include IP version 4 (IPv4), IP version 6 (IPv6), and Ethernet media access |
| 3031 |
control (MAC).</xsd:documentation> |
| 3032 |
</xsd:annotation> |
| 3033 |
</xsd:element> |
| 3034 |
<xsd:element name="target-facts" type="cdf:targetFactsType" minOccurs="0" maxOccurs="1"> |
| 3035 |
<xsd:annotation> |
| 3036 |
<xsd:documentation xml:lang="en">A list of named facts about the target system |
| 3037 |
or platform. </xsd:documentation> |
| 3038 |
</xsd:annotation> |
| 3039 |
</xsd:element> |
| 3040 |
<xsd:choice minOccurs="0" maxOccurs="unbounded"> |
| 3041 |
<xsd:element name="target-id-ref" type="cdf:targetIdRefType"> |
| 3042 |
<xsd:annotation> |
| 3043 |
<xsd:documentation xml:lang="en">References to external structures with |
| 3044 |
identifying information about the target of this |
| 3045 |
assessment.</xsd:documentation> |
| 3046 |
</xsd:annotation> |
| 3047 |
</xsd:element> |
| 3048 |
<xsd:any namespace="##other" processContents="lax"> |
| 3049 |
<xsd:annotation> |
| 3050 |
<xsd:documentation xml:lang="en">Identifying information expressed in other |
| 3051 |
XML formats can be included here. </xsd:documentation> |
| 3052 |
</xsd:annotation> |
| 3053 |
</xsd:any> |
| 3054 |
</xsd:choice> |
| 3055 |
<xsd:element name="platform" type="cdf:CPE2idrefType" minOccurs="0" |
| 3056 |
maxOccurs="unbounded"> |
| 3057 |
<xsd:annotation> |
| 3058 |
<xsd:documentation xml:lang="en">A platform on the target system. There should |
| 3059 |
be one instance of this property for every platform that the target system |
| 3060 |
was found to meet. </xsd:documentation> |
| 3061 |
</xsd:annotation> |
| 3062 |
</xsd:element> |
| 3063 |
<xsd:choice minOccurs="0" maxOccurs="unbounded"> |
| 3064 |
<xsd:element name="set-value" type="cdf:profileSetValueType" minOccurs="1" |
| 3065 |
maxOccurs="1"> |
| 3066 |
<xsd:annotation> |
| 3067 |
<xsd:documentation xml:lang="en">Specific setting for a single |
| 3068 |
<xccdf:Value> element used during the test.</xsd:documentation> |
| 3069 |
</xsd:annotation> |
| 3070 |
</xsd:element> |
| 3071 |
<xsd:element name="set-complex-value" type="cdf:profileSetComplexValueType" |
| 3072 |
minOccurs="1" maxOccurs="1"> |
| 3073 |
<xsd:annotation> |
| 3074 |
<xsd:documentation xml:lang="en">Specific setting for a single |
| 3075 |
<xccdf:Value> element used during the test when the given value is |
| 3076 |
set to a complex type, such as a list.</xsd:documentation> |
| 3077 |
</xsd:annotation> |
| 3078 |
</xsd:element> |
| 3079 |
</xsd:choice> |
| 3080 |
<xsd:element name="rule-result" type="cdf:ruleResultType" minOccurs="0" |
| 3081 |
maxOccurs="unbounded"> |
| 3082 |
<xsd:annotation> |
| 3083 |
<xsd:documentation xml:lang="en">The result of a single instance of an |
| 3084 |
<xccdf:Rule> application against the target. The |
| 3085 |
<xccdf:TestResult> must include at least one <xccdf:rule-result> |
| 3086 |
record for each <xccdf:Rule> that was selected in the resolved |
| 3087 |
<xccdf:Benchmark>.</xsd:documentation> |
| 3088 |
</xsd:annotation> |
| 3089 |
|
| 3090 |
<xsd:key name="instanceContextKey"> |
| 3091 |
<xsd:selector xpath="cdf:instance"/> |
| 3092 |
<xsd:field xpath="@context"/> |
| 3093 |
</xsd:key> |
| 3094 |
|
| 3095 |
<xsd:keyref name="parentKeyRef" refer="cdf:instanceContextKey"> |
| 3096 |
<xsd:selector xpath="./cdf:instance"/> |
| 3097 |
<xsd:field xpath="@parentContext"/> |
| 3098 |
</xsd:keyref> |
| 3099 |
</xsd:element> |
| 3100 |
<xsd:element name="score" type="cdf:scoreType" minOccurs="1" maxOccurs="unbounded"> |
| 3101 |
<xsd:annotation> |
| 3102 |
<xsd:documentation xml:lang="en">An overall score for this |
| 3103 |
<xccdf:Benchmark> test. </xsd:documentation> |
| 3104 |
</xsd:annotation> |
| 3105 |
</xsd:element> |
| 3106 |
<xsd:element name="metadata" type="cdf:metadataType" minOccurs="0" maxOccurs="unbounded"> |
| 3107 |
<xsd:annotation> |
| 3108 |
<xsd:documentation xml:lang="en">XML metadata associated with this |
| 3109 |
<xccdf:TestResult>. </xsd:documentation> |
| 3110 |
</xsd:annotation> |
| 3111 |
</xsd:element> |
| 3112 |
<xsd:element name="signature" type="cdf:signatureType" minOccurs="0" maxOccurs="1"> |
| 3113 |
<xsd:annotation> |
| 3114 |
<xsd:documentation xml:lang="en">A digital signature asserting authorship and |
| 3115 |
allowing verification of the integrity of the <xccdf:TestResult>. |
| 3116 |
</xsd:documentation> |
| 3117 |
</xsd:annotation> |
| 3118 |
</xsd:element> |
| 3119 |
</xsd:sequence> |
| 3120 |
<xsd:attribute name="id" type="cdf:testresultIdType" use="required"> |
| 3121 |
<xsd:annotation> |
| 3122 |
<xsd:documentation xml:lang="en">Unique identifier for this |
| 3123 |
element.</xsd:documentation> |
| 3124 |
</xsd:annotation> |
| 3125 |
</xsd:attribute> |
| 3126 |
<xsd:attribute name="start-time" type="xsd:dateTime" use="optional"> |
| 3127 |
<xsd:annotation> |
| 3128 |
<xsd:documentation xml:lang="en">Time when testing began.</xsd:documentation> |
| 3129 |
</xsd:annotation> |
| 3130 |
</xsd:attribute> |
| 3131 |
<xsd:attribute name="end-time" type="xsd:dateTime" use="required"> |
| 3132 |
<xsd:annotation> |
| 3133 |
<xsd:documentation xml:lang="en">Time when testing was completed and the results |
| 3134 |
recorded. </xsd:documentation> |
| 3135 |
</xsd:annotation> |
| 3136 |
</xsd:attribute> |
| 3137 |
<xsd:attribute name="test-system" type="xsd:string" use="optional"> |
| 3138 |
<xsd:annotation> |
| 3139 |
<xsd:documentation xml:lang="en">Name of the benchmark consumer program that |
| 3140 |
generated this <xccdf:TestResult> element; should be either a CPE name or |
| 3141 |
a CPE applicability language expression.</xsd:documentation> |
| 3142 |
</xsd:annotation> |
| 3143 |
</xsd:attribute> |
| 3144 |
<xsd:attribute name="version" type="xsd:string" use="optional"> |
| 3145 |
<xsd:annotation> |
| 3146 |
<xsd:documentation xml:lang="en">The version number string copied from the |
| 3147 |
<xccdf:Benchmark> used to direct this assessment. </xsd:documentation> |
| 3148 |
</xsd:annotation> |
| 3149 |
</xsd:attribute> |
| 3150 |
<xsd:attribute name="Id" type="xsd:ID" use="optional"> |
| 3151 |
<xsd:annotation> |
| 3152 |
<xsd:documentation xml:lang="en">An identifier used for referencing elements |
| 3153 |
included in an XML signature.</xsd:documentation> |
| 3154 |
</xsd:annotation> |
| 3155 |
</xsd:attribute> |
| 3156 |
</xsd:complexType> |
| 3157 |
|
| 3158 |
<xsd:complexType name="benchmarkReferenceType"> |
| 3159 |
<xsd:annotation> |
| 3160 |
<xsd:documentation xml:lang="en">Type for a reference to the <xccdf:Benchmark> |
| 3161 |
document. </xsd:documentation> |
| 3162 |
</xsd:annotation> |
| 3163 |
<xsd:attribute name="href" type="xsd:anyURI" use="required"> |
| 3164 |
<xsd:annotation> |
| 3165 |
<xsd:documentation xml:lang="en">The URI of the <xccdf:Benchmark> document. |
| 3166 |
</xsd:documentation> |
| 3167 |
</xsd:annotation> |
| 3168 |
</xsd:attribute> |
| 3169 |
<xsd:attribute name="id" type="xsd:NCName" use="optional"> |
| 3170 |
<xsd:annotation> |
| 3171 |
<xsd:documentation xml:lang="en">The value of that <xccdf:Benchmark> element's |
| 3172 |
@id attribute. </xsd:documentation> |
| 3173 |
</xsd:annotation> |
| 3174 |
</xsd:attribute> |
| 3175 |
</xsd:complexType> |
| 3176 |
|
| 3177 |
<xsd:complexType name="scoreType"> |
| 3178 |
<xsd:annotation> |
| 3179 |
<xsd:documentation xml:lang="en">Type for a score value in an <xccdf:TestResult>. |
| 3180 |
</xsd:documentation> |
| 3181 |
</xsd:annotation> |
| 3182 |
<xsd:simpleContent> |
| 3183 |
<xsd:extension base="xsd:decimal"> |
| 3184 |
<xsd:attribute name="system" type="xsd:anyURI" use="optional"> |
| 3185 |
<xsd:annotation> |
| 3186 |
<xsd:documentation xml:lang="en">A URI indicating the scoring model used to |
| 3187 |
create this score. </xsd:documentation> |
| 3188 |
</xsd:annotation> |
| 3189 |
</xsd:attribute> |
| 3190 |
<xsd:attribute name="maximum" type="xsd:decimal" use="optional"> |
| 3191 |
<xsd:annotation> |
| 3192 |
<xsd:documentation xml:lang="en">The maximum possible score value that could |
| 3193 |
have been achieved under the named scoring system. </xsd:documentation> |
| 3194 |
</xsd:annotation> |
| 3195 |
</xsd:attribute> |
| 3196 |
</xsd:extension> |
| 3197 |
</xsd:simpleContent> |
| 3198 |
</xsd:complexType> |
| 3199 |
|
| 3200 |
<xsd:complexType name="targetFactsType"> |
| 3201 |
<xsd:annotation> |
| 3202 |
<xsd:documentation xml:lang="en"> Data type for the <xccdf:target-facts> elements |
| 3203 |
in <xccdf:TestResult> elements. A <xccdf:target-facts> element holds a |
| 3204 |
list of named facts about the target system or platform. Each fact is an element of |
| 3205 |
type factType. Each <xccdf:fact> must have a name, but duplicate names are |
| 3206 |
allowed. (For example, if you had a fact about MAC addresses, and the target system |
| 3207 |
had three NICs, then you'd need three instances of the "urn:xccdf:fact:ethernet:MAC" |
| 3208 |
fact.) </xsd:documentation> |
| 3209 |
</xsd:annotation> |
| 3210 |
<xsd:sequence> |
| 3211 |
<xsd:element name="fact" type="cdf:factType" minOccurs="0" maxOccurs="unbounded"> |
| 3212 |
<xsd:annotation> |
| 3213 |
<xsd:documentation xml:lang="en">A named fact about the target system or |
| 3214 |
platform.</xsd:documentation> |
| 3215 |
</xsd:annotation> |
| 3216 |
</xsd:element> |
| 3217 |
</xsd:sequence> |
| 3218 |
</xsd:complexType> |
| 3219 |
|
| 3220 |
<xsd:complexType name="targetIdRefType"> |
| 3221 |
<xsd:annotation> |
| 3222 |
<xsd:documentation xml:lang="en">Type for an <xccdf:target-id-ref> element in an |
| 3223 |
<xccdf:TestResult> element. This element contains references to external |
| 3224 |
structures with identifying information about the target of an |
| 3225 |
assessment.</xsd:documentation> |
| 3226 |
</xsd:annotation> |
| 3227 |
<xsd:attribute name="system" type="xsd:anyURI" use="required"> |
| 3228 |
<xsd:annotation> |
| 3229 |
<xsd:documentation xml:lang="en">Indicates the language in which this identifying |
| 3230 |
information is expressed. If the identifying language uses XML namespaces, then |
| 3231 |
the @system attribute for the language should be its |
| 3232 |
namespace.</xsd:documentation> |
| 3233 |
</xsd:annotation> |
| 3234 |
</xsd:attribute> |
| 3235 |
<xsd:attribute name="href" type="xsd:string" use="required"> |
| 3236 |
<xsd:annotation> |
| 3237 |
<xsd:documentation xml:lang="en">Points to the external resource (e.g., a file) that |
| 3238 |
contains the identifying information.</xsd:documentation> |
| 3239 |
</xsd:annotation> |
| 3240 |
</xsd:attribute> |
| 3241 |
<xsd:attribute name="name" type="xsd:string" use="optional"> |
| 3242 |
<xsd:annotation> |
| 3243 |
<xsd:documentation xml:lang="en">Identifies a specific structure within the |
| 3244 |
referenced file. If the @name attribute is absent, the reference is to the |
| 3245 |
entire resource indicated in the @href attribute.</xsd:documentation> |
| 3246 |
</xsd:annotation> |
| 3247 |
</xsd:attribute> |
| 3248 |
</xsd:complexType> |
| 3249 |
|
| 3250 |
<xsd:complexType name="identityType"> |
| 3251 |
<xsd:annotation> |
| 3252 |
<xsd:documentation xml:lang="en">Type for an <xccdf:identity> element in an |
| 3253 |
<xccdf:TestResult>. It contains information about the system identity or user |
| 3254 |
employed during application of the <xccdf:Benchmark>. If used, shall specify |
| 3255 |
the name of the authenticated identity. </xsd:documentation> |
| 3256 |
</xsd:annotation> |
| 3257 |
<xsd:simpleContent> |
| 3258 |
<xsd:extension base="xsd:string"> |
| 3259 |
<xsd:attribute name="authenticated" type="xsd:boolean" use="required"> |
| 3260 |
<xsd:annotation> |
| 3261 |
<xsd:documentation xml:lang="en">Whether the identity was authenticated with |
| 3262 |
the target system during the application of the <xccdf:Benchmark>. |
| 3263 |
</xsd:documentation> |
| 3264 |
</xsd:annotation> |
| 3265 |
</xsd:attribute> |
| 3266 |
<xsd:attribute name="privileged" type="xsd:boolean" use="required"> |
| 3267 |
<xsd:annotation> |
| 3268 |
<xsd:documentation xml:lang="en">Whether the identity was granted |
| 3269 |
administrative or other special privileges beyond those of a normal |
| 3270 |
user. </xsd:documentation> |
| 3271 |
</xsd:annotation> |
| 3272 |
</xsd:attribute> |
| 3273 |
</xsd:extension> |
| 3274 |
</xsd:simpleContent> |
| 3275 |
</xsd:complexType> |
| 3276 |
|
| 3277 |
<xsd:complexType name="factType"> |
| 3278 |
<xsd:annotation> |
| 3279 |
<xsd:documentation xml:lang="en"> Data type for an <xccdf:fact> element, which |
| 3280 |
holds information about a target system: a name-value pair with a type. The content |
| 3281 |
of the element is the value, and the @name attribute indicates the name. The @name |
| 3282 |
is in the form of a URI that indicates the nature of the fact. A table of defined |
| 3283 |
fact URIs appears in section 6.6.3 of the XCCDF specification. Additional URIs may |
| 3284 |
be defined by authors to indicate additional kinds of facts. </xsd:documentation> |
| 3285 |
</xsd:annotation> |
| 3286 |
<xsd:simpleContent> |
| 3287 |
<xsd:extension base="xsd:string"> |
| 3288 |
<xsd:attribute name="name" type="xsd:anyURI" use="required"> |
| 3289 |
<xsd:annotation> |
| 3290 |
<xsd:documentation xml:lang="en">A URI that indicates the name of the fact. |
| 3291 |
</xsd:documentation> |
| 3292 |
</xsd:annotation> |
| 3293 |
</xsd:attribute> |
| 3294 |
<xsd:attribute name="type" type="cdf:valueTypeType" default="boolean" use="optional"> |
| 3295 |
<xsd:annotation> |
| 3296 |
<xsd:documentation xml:lang="en">The data type of the fact value. |
| 3297 |
</xsd:documentation> |
| 3298 |
</xsd:annotation> |
| 3299 |
</xsd:attribute> |
| 3300 |
</xsd:extension> |
| 3301 |
</xsd:simpleContent> |
| 3302 |
</xsd:complexType> |
| 3303 |
|
| 3304 |
<xsd:complexType name="tailoringReferenceType"> |
| 3305 |
<xsd:annotation> |
| 3306 |
<xsd:documentation xml:lang="en">Type for the <xccdf:tailoring> element within an |
| 3307 |
<xccdf:TestResult>. This element is used to indicate the identity and location |
| 3308 |
of an <xccdf:Tailoring> file that was used to create the assessment results. |
| 3309 |
</xsd:documentation> |
| 3310 |
</xsd:annotation> |
| 3311 |
<xsd:attribute name="href" type="xsd:anyURI" use="required"> |
| 3312 |
<xsd:annotation> |
| 3313 |
<xsd:documentation xml:lang="en">The URI of the <xccdf:Tailoring> file's |
| 3314 |
location. </xsd:documentation> |
| 3315 |
</xsd:annotation> |
| 3316 |
</xsd:attribute> |
| 3317 |
<xsd:attribute name="id" type="xsd:NCName" use="required"> |
| 3318 |
<xsd:annotation> |
| 3319 |
<xsd:documentation xml:lang="en">The <xccdf:Tailoring> element's @id value. |
| 3320 |
</xsd:documentation> |
| 3321 |
</xsd:annotation> |
| 3322 |
</xsd:attribute> |
| 3323 |
<xsd:attribute name="version" type="xsd:string" use="required"> |
| 3324 |
<xsd:annotation> |
| 3325 |
<xsd:documentation xml:lang="en">The value of the <xccdf:Tailoring> element's |
| 3326 |
<xccdf:version> property. </xsd:documentation> |
| 3327 |
</xsd:annotation> |
| 3328 |
</xsd:attribute> |
| 3329 |
<xsd:attribute name="time" type="xsd:dateTime" use="required"> |
| 3330 |
<xsd:annotation> |
| 3331 |
<xsd:documentation xml:lang="en">The value of the @time attribute in the |
| 3332 |
<xccdf:Tailoring> element's <xccdf:version> |
| 3333 |
property.</xsd:documentation> |
| 3334 |
</xsd:annotation> |
| 3335 |
</xsd:attribute> |
| 3336 |
</xsd:complexType> |
| 3337 |
|
| 3338 |
<xsd:complexType name="ruleResultType"> |
| 3339 |
<xsd:annotation> |
| 3340 |
<xsd:documentation xml:lang="en">Type for the <xccdf:rule-result> element within |
| 3341 |
an <xccdf:TestResult>. An <xccdf:rule-result> holds the result of |
| 3342 |
applying an <xccdf:Rule> from the <xccdf:Benchmark> to a target system |
| 3343 |
or component of a target system. </xsd:documentation> |
| 3344 |
</xsd:annotation> |
| 3345 |
<xsd:sequence> |
| 3346 |
<xsd:element name="result" type="cdf:resultEnumType" minOccurs="1" maxOccurs="1"> |
| 3347 |
<xsd:annotation> |
| 3348 |
<xsd:documentation xml:lang="en">Result of applying the referenced |
| 3349 |
<xccdf:Rule> to a target or target component. (E.g., Pass, Fail, etc.) |
| 3350 |
</xsd:documentation> |
| 3351 |
</xsd:annotation> |
| 3352 |
</xsd:element> |
| 3353 |
<xsd:element name="override" type="cdf:overrideType" minOccurs="0" maxOccurs="unbounded"> |
| 3354 |
<xsd:annotation> |
| 3355 |
<xsd:documentation xml:lang="en">An XML block explaining how and why an auditor |
| 3356 |
chose to override the result. </xsd:documentation> |
| 3357 |
</xsd:annotation> |
| 3358 |
</xsd:element> |
| 3359 |
<xsd:element name="ident" type="cdf:identType" minOccurs="0" maxOccurs="unbounded"> |
| 3360 |
<xsd:annotation> |
| 3361 |
<xsd:documentation xml:lang="en">A long-term globally meaningful identifier for |
| 3362 |
the issue, vulnerability, platform, etc. copied from the referenced |
| 3363 |
<xccdf:Rule>. </xsd:documentation> |
| 3364 |
</xsd:annotation> |
| 3365 |
</xsd:element> |
| 3366 |
<xsd:element name="metadata" type="cdf:metadataType" minOccurs="0" maxOccurs="unbounded"> |
| 3367 |
<xsd:annotation> |
| 3368 |
<xsd:documentation xml:lang="en">XML metadata associated with this |
| 3369 |
<xccdf:rule-result>. </xsd:documentation> |
| 3370 |
</xsd:annotation> |
| 3371 |
</xsd:element> |
| 3372 |
<xsd:element name="message" type="cdf:messageType" minOccurs="0" maxOccurs="unbounded"> |
| 3373 |
<xsd:annotation> |
| 3374 |
<xsd:documentation xml:lang="en">Diagnostic messages from the checking engine. |
| 3375 |
These elements do not affect scoring; they are present merely to convey |
| 3376 |
diagnostic information from the checking engine. </xsd:documentation> |
| 3377 |
</xsd:annotation> |
| 3378 |
</xsd:element> |
| 3379 |
<xsd:element name="instance" type="cdf:instanceResultType" minOccurs="0" |
| 3380 |
maxOccurs="unbounded"> |
| 3381 |
<xsd:annotation> |
| 3382 |
<xsd:documentation xml:lang="en">Name of the target subsystem or component to |
| 3383 |
which this result applies, for a multiply instantiated <xccdf:Rule>. |
| 3384 |
The element is important for an <xccdf:Rule> that applies to |
| 3385 |
components of the target system, especially when a target might have several |
| 3386 |
such components, and where the @multiple attribute of the <xccdf:Rule> |
| 3387 |
is set to true.</xsd:documentation> |
| 3388 |
</xsd:annotation> |
| 3389 |
</xsd:element> |
| 3390 |
<xsd:element name="fix" type="cdf:fixType" minOccurs="0" maxOccurs="unbounded"> |
| 3391 |
<xsd:annotation> |
| 3392 |
<xsd:documentation xml:lang="en">Fix script for this target platform, if |
| 3393 |
available (would normally appear only for result values of “fail”). It is |
| 3394 |
assumed to have been ‘instantiated’ by the testing tool and any |
| 3395 |
substitutions or platform selections already made.</xsd:documentation> |
| 3396 |
</xsd:annotation> |
| 3397 |
</xsd:element> |
| 3398 |
<xsd:choice> |
| 3399 |
<xsd:element name="check" type="cdf:checkType" minOccurs="0" maxOccurs="unbounded"> |
| 3400 |
<xsd:annotation> |
| 3401 |
<xsd:documentation xml:lang="en">Encapsulated or referenced results to |
| 3402 |
detailed testing output from the checking engine (if |
| 3403 |
any).</xsd:documentation> |
| 3404 |
</xsd:annotation> |
| 3405 |
</xsd:element> |
| 3406 |
<xsd:element name="complex-check" minOccurs="0" type="cdf:complexCheckType" |
| 3407 |
maxOccurs="1"> |
| 3408 |
<xsd:annotation> |
| 3409 |
<xsd:documentation xml:lang="en">A copy of the <xccdf:Rule> element’s |
| 3410 |
<xccdf:complex-check> element where each component |
| 3411 |
<xccdf:check> element of the <xccdf:complex-check> element |
| 3412 |
is an encapsulated or referenced results to detailed testing output from |
| 3413 |
the checking engine (if any) as described in the |
| 3414 |
<xccdf:rule-result> <xccdf:check> |
| 3415 |
property.</xsd:documentation> |
| 3416 |
</xsd:annotation> |
| 3417 |
</xsd:element> |
| 3418 |
</xsd:choice> |
| 3419 |
</xsd:sequence> |
| 3420 |
<xsd:attribute name="idref" type="xsd:NCName" use="required"> |
| 3421 |
<xsd:annotation> |
| 3422 |
<xsd:documentation xml:lang="en">The value of the @id property of an |
| 3423 |
<xccdf:Rule>. This <xccdf:rule-result> reflects the result of |
| 3424 |
applying this <xccdf:Rule> to a target or target component. |
| 3425 |
</xsd:documentation> |
| 3426 |
</xsd:annotation> |
| 3427 |
</xsd:attribute> |
| 3428 |
<xsd:attribute name="role" type="cdf:roleEnumType" use="optional"> |
| 3429 |
<xsd:annotation> |
| 3430 |
<xsd:documentation xml:lang="en">The value of the @role property of the referenced |
| 3431 |
<xccdf:Rule>. </xsd:documentation> |
| 3432 |
</xsd:annotation> |
| 3433 |
</xsd:attribute> |
| 3434 |
<xsd:attribute name="severity" type="cdf:severityEnumType" use="optional"> |
| 3435 |
<xsd:annotation> |
| 3436 |
<xsd:documentation xml:lang="en">The value of the @severity property of the |
| 3437 |
referenced <xccdf:Rule>. </xsd:documentation> |
| 3438 |
</xsd:annotation> |
| 3439 |
</xsd:attribute> |
| 3440 |
<xsd:attribute name="time" type="xsd:dateTime" use="optional"> |
| 3441 |
<xsd:annotation> |
| 3442 |
<xsd:documentation xml:lang="en">Time when application of this instance of the |
| 3443 |
referenced <xccdf:Rule> was completed. </xsd:documentation> |
| 3444 |
</xsd:annotation> |
| 3445 |
</xsd:attribute> |
| 3446 |
<xsd:attribute name="version" type="xsd:string" use="optional"> |
| 3447 |
<xsd:annotation> |
| 3448 |
<xsd:documentation xml:lang="en">The value of the @version property of the |
| 3449 |
referenced <xccdf:Rule>. </xsd:documentation> |
| 3450 |
</xsd:annotation> |
| 3451 |
</xsd:attribute> |
| 3452 |
<xsd:attribute name="weight" type="cdf:weightType" use="optional"> |
| 3453 |
<xsd:annotation> |
| 3454 |
<xsd:documentation xml:lang="en">The value of the @weight property of the referenced |
| 3455 |
<xccdf:Rule>. </xsd:documentation> |
| 3456 |
</xsd:annotation> |
| 3457 |
</xsd:attribute> |
| 3458 |
</xsd:complexType> |
| 3459 |
|
| 3460 |
<xsd:complexType name="instanceResultType"> |
| 3461 |
<xsd:annotation> |
| 3462 |
<xsd:documentation xml:lang="en">Type for an <xccdf:instance> element in an |
| 3463 |
<xccdf:rule-result>. The content is a string, but the element may also have |
| 3464 |
two attributes: @context and @parentContext. Both attributes are intended to provide |
| 3465 |
hints as to the nature of the substituted content. This body of this type records |
| 3466 |
the details of the target system instance for multiply instantiated |
| 3467 |
<xccdf:Rule> elements. </xsd:documentation> |
| 3468 |
</xsd:annotation> |
| 3469 |
<xsd:simpleContent> |
| 3470 |
<xsd:extension base="xsd:string"> |
| 3471 |
<xsd:attribute name="context" default="undefined" type="xsd:string" use="optional"> |
| 3472 |
<xsd:annotation> |
| 3473 |
<xsd:documentation xml:lang="en">Describes the scope or significance of the |
| 3474 |
instance content. </xsd:documentation> |
| 3475 |
</xsd:annotation> |
| 3476 |
</xsd:attribute> |
| 3477 |
<xsd:attribute name="parentContext" type="xsd:string" use="optional"> |
| 3478 |
<xsd:annotation> |
| 3479 |
<xsd:documentation xml:lang="en">Used to express nested structure in |
| 3480 |
instance context structures. </xsd:documentation> |
| 3481 |
</xsd:annotation> |
| 3482 |
</xsd:attribute> |
| 3483 |
</xsd:extension> |
| 3484 |
</xsd:simpleContent> |
| 3485 |
</xsd:complexType> |
| 3486 |
|
| 3487 |
<xsd:complexType name="overrideType"> |
| 3488 |
<xsd:annotation> |
| 3489 |
<xsd:documentation xml:lang="en"> Type for an <xccdf:override> element in an |
| 3490 |
<xccdf:rule-result>. This element is used to record manual modification or |
| 3491 |
annotation of a particular <xccdf:rule-result>. All attributes and child |
| 3492 |
elements are required. It will not always be the case that the |
| 3493 |
<xccdf:new-result> value will differ from the <xccdf:old-result> value. |
| 3494 |
They might match if an authority wished to make a remark on the result without |
| 3495 |
changing it. If <xccdf:new-result> and <xccdf:old-result> differ, the |
| 3496 |
<xccdf:result> element of the enclosing <xccdf:rule-result> must match |
| 3497 |
the <xccdf:new-result> value.</xsd:documentation> |
| 3498 |
</xsd:annotation> |
| 3499 |
<xsd:sequence> |
| 3500 |
<xsd:element name="old-result" type="cdf:resultEnumType" minOccurs="1" maxOccurs="1"> |
| 3501 |
<xsd:annotation> |
| 3502 |
<xsd:documentation xml:lang="en">The <xccdf:rule-result> status before |
| 3503 |
this override. </xsd:documentation> |
| 3504 |
</xsd:annotation> |
| 3505 |
</xsd:element> |
| 3506 |
<xsd:element name="new-result" type="cdf:resultEnumType" minOccurs="1" maxOccurs="1"> |
| 3507 |
<xsd:annotation> |
| 3508 |
<xsd:documentation xml:lang="en">The new, override <xccdf:rule-result> |
| 3509 |
status. </xsd:documentation> |
| 3510 |
</xsd:annotation> |
| 3511 |
</xsd:element> |
| 3512 |
<xsd:element name="remark" type="cdf:textType" minOccurs="1" maxOccurs="1"> |
| 3513 |
<xsd:annotation> |
| 3514 |
<xsd:documentation xml:lang="en">Rationale or explanation text for why or how |
| 3515 |
the override was applied. </xsd:documentation> |
| 3516 |
</xsd:annotation> |
| 3517 |
</xsd:element> |
| 3518 |
</xsd:sequence> |
| 3519 |
<xsd:attribute name="time" type="xsd:dateTime" use="required"> |
| 3520 |
<xsd:annotation> |
| 3521 |
<xsd:documentation xml:lang="en">When the override was applied. </xsd:documentation> |
| 3522 |
</xsd:annotation> |
| 3523 |
</xsd:attribute> |
| 3524 |
<xsd:attribute name="authority" type="xsd:string" use="required"> |
| 3525 |
<xsd:annotation> |
| 3526 |
<xsd:documentation xml:lang="en">Name or other identification for the human |
| 3527 |
principal authorizing the override. </xsd:documentation> |
| 3528 |
</xsd:annotation> |
| 3529 |
</xsd:attribute> |
| 3530 |
</xsd:complexType> |
| 3531 |
|
| 3532 |
<xsd:complexType name="messageType"> |
| 3533 |
<xsd:annotation> |
| 3534 |
<xsd:documentation xml:lang="en"> Type for a message generated by the checking engine or |
| 3535 |
XCCDF tool during <xccdf:Benchmark> testing. The message is contained in |
| 3536 |
string format in the body of the element. </xsd:documentation> |
| 3537 |
</xsd:annotation> |
| 3538 |
<xsd:simpleContent> |
| 3539 |
<xsd:extension base="xsd:string"> |
| 3540 |
<xsd:attribute name="severity" type="cdf:msgSevEnumType" use="required"> |
| 3541 |
<xsd:annotation> |
| 3542 |
<xsd:documentation xml:lang="en">Denotes the seriousness of the |
| 3543 |
message.</xsd:documentation> |
| 3544 |
</xsd:annotation> |
| 3545 |
</xsd:attribute> |
| 3546 |
</xsd:extension> |
| 3547 |
</xsd:simpleContent> |
| 3548 |
</xsd:complexType> |
| 3549 |
|
| 3550 |
<xsd:simpleType name="msgSevEnumType"> |
| 3551 |
<xsd:annotation> |
| 3552 |
<xsd:documentation xml:lang="en"> Allowed values to indicate the severity of messages |
| 3553 |
from the checking engine. These values don't affect scoring themselves but are |
| 3554 |
present merely to convey diagnostic information from the checking engine. Benchmark |
| 3555 |
consumers may choose to log these messages or display them to the user. |
| 3556 |
</xsd:documentation> |
| 3557 |
</xsd:annotation> |
| 3558 |
<xsd:restriction base="xsd:string"> |
| 3559 |
<xsd:enumeration value="error"> |
| 3560 |
<xsd:annotation> |
| 3561 |
<xsd:documentation xml:lang="en">Denotes a serious problem identified; test did |
| 3562 |
not run. </xsd:documentation> |
| 3563 |
</xsd:annotation> |
| 3564 |
</xsd:enumeration> |
| 3565 |
<xsd:enumeration value="warning"> |
| 3566 |
<xsd:annotation> |
| 3567 |
<xsd:documentation xml:lang="en">Denotes a possible issue; test may not have |
| 3568 |
run. </xsd:documentation> |
| 3569 |
</xsd:annotation> |
| 3570 |
</xsd:enumeration> |
| 3571 |
<xsd:enumeration value="info"> |
| 3572 |
<xsd:annotation> |
| 3573 |
<xsd:documentation xml:lang="en">Denotes important information about the tests. |
| 3574 |
</xsd:documentation> |
| 3575 |
</xsd:annotation> |
| 3576 |
</xsd:enumeration> |
| 3577 |
</xsd:restriction> |
| 3578 |
</xsd:simpleType> |
| 3579 |
|
| 3580 |
<xsd:simpleType name="resultEnumType"> |
| 3581 |
<xsd:annotation> |
| 3582 |
<xsd:documentation xml:lang="en">Allowed result indicators for a |
| 3583 |
test.</xsd:documentation> |
| 3584 |
</xsd:annotation> |
| 3585 |
<xsd:restriction base="xsd:string"> |
| 3586 |
<xsd:enumeration value="pass"> |
| 3587 |
<xsd:annotation> |
| 3588 |
<xsd:documentation xml:lang="en">The target system or system component satisfied |
| 3589 |
all the conditions of the <xccdf:Rule>. </xsd:documentation> |
| 3590 |
</xsd:annotation> |
| 3591 |
</xsd:enumeration> |
| 3592 |
<xsd:enumeration value="fail"> |
| 3593 |
<xsd:annotation> |
| 3594 |
<xsd:documentation xml:lang="en">The target system or system component did not |
| 3595 |
satisfy all the conditions of the <xccdf:Rule>. </xsd:documentation> |
| 3596 |
</xsd:annotation> |
| 3597 |
</xsd:enumeration> |
| 3598 |
<xsd:enumeration value="error"> |
| 3599 |
<xsd:annotation> |
| 3600 |
<xsd:documentation xml:lang="en">The checking engine could not complete the |
| 3601 |
evaluation; therefore the status of the target’s compliance with the |
| 3602 |
<xccdf:Rule> is not certain. This could happen, for example, if a |
| 3603 |
testing tool was run with insufficient privileges and could not gather all |
| 3604 |
of the necessary information. </xsd:documentation> |
| 3605 |
</xsd:annotation> |
| 3606 |
</xsd:enumeration> |
| 3607 |
<xsd:enumeration value="unknown"> |
| 3608 |
<xsd:annotation> |
| 3609 |
<xsd:documentation xml:lang="en">The testing tool encountered some problem and |
| 3610 |
the result is unknown. For example, a result of ‘unknown’ might be given if |
| 3611 |
the testing tool was unable to interpret the output of the checking engine |
| 3612 |
(the output has no meaning to the testing tool). </xsd:documentation> |
| 3613 |
</xsd:annotation> |
| 3614 |
</xsd:enumeration> |
| 3615 |
<xsd:enumeration value="notapplicable"> |
| 3616 |
<xsd:annotation> |
| 3617 |
<xsd:documentation xml:lang="en">The <xccdf:Rule> was not applicable to |
| 3618 |
the target of the test. For example, the <xccdf:Rule> might have been |
| 3619 |
specific to a different version of the target OS, or it might have been a |
| 3620 |
test against a platform feature that was not installed. </xsd:documentation> |
| 3621 |
</xsd:annotation> |
| 3622 |
</xsd:enumeration> |
| 3623 |
<xsd:enumeration value="notchecked"> |
| 3624 |
<xsd:annotation> |
| 3625 |
<xsd:documentation xml:lang="en">The <xccdf:Rule> was not evaluated by the |
| 3626 |
checking engine. This status is designed for <xccdf:Rule> elements |
| 3627 |
that have no check. It may also correspond to a status returned by a |
| 3628 |
checking engine if the checking engine does not support the indicated check |
| 3629 |
code. </xsd:documentation> |
| 3630 |
</xsd:annotation> |
| 3631 |
</xsd:enumeration> |
| 3632 |
<xsd:enumeration value="notselected"> |
| 3633 |
<xsd:annotation> |
| 3634 |
<xsd:documentation xml:lang="en">The <xccdf:Rule> was not selected in the |
| 3635 |
<xccdf:Benchmark>. </xsd:documentation> |
| 3636 |
</xsd:annotation> |
| 3637 |
</xsd:enumeration> |
| 3638 |
<xsd:enumeration value="informational"> |
| 3639 |
<xsd:annotation> |
| 3640 |
<xsd:documentation xml:lang="en">The <xccdf:Rule> was checked, but the |
| 3641 |
output from the checking engine is simply information for auditors or |
| 3642 |
administrators; it is not a compliance category. This status value is |
| 3643 |
designed for <xccdf:Rule> elements whose main purpose is to extract |
| 3644 |
information from the target rather than test the target. |
| 3645 |
</xsd:documentation> |
| 3646 |
</xsd:annotation> |
| 3647 |
</xsd:enumeration> |
| 3648 |
<xsd:enumeration value="fixed"> |
| 3649 |
<xsd:annotation> |
| 3650 |
<xsd:documentation xml:lang="en">The <xccdf:Rule> had failed, but was then |
| 3651 |
fixed (possibly by a tool that can automatically apply remediation, or |
| 3652 |
possibly by the human auditor). </xsd:documentation> |
| 3653 |
</xsd:annotation> |
| 3654 |
</xsd:enumeration> |
| 3655 |
</xsd:restriction> |
| 3656 |
</xsd:simpleType> |
| 3657 |
|
| 3658 |
<xsd:simpleType name="severityEnumType"> |
| 3659 |
<xsd:annotation> |
| 3660 |
<xsd:documentation xml:lang="en">Allowed severity values for the @severity attribute of |
| 3661 |
an <xccdf:Rule>. The value of this attribute provides an indication of the |
| 3662 |
importance of the <xccdf:Rule> element's recommendation. This information is |
| 3663 |
informative only and does not affect scoring.</xsd:documentation> |
| 3664 |
</xsd:annotation> |
| 3665 |
<xsd:restriction base="xsd:string"> |
| 3666 |
<xsd:enumeration value="unknown"> |
| 3667 |
<xsd:annotation> |
| 3668 |
<xsd:documentation xml:lang="en">Severity not defined (default). |
| 3669 |
</xsd:documentation> |
| 3670 |
</xsd:annotation> |
| 3671 |
</xsd:enumeration> |
| 3672 |
<xsd:enumeration value="info"> |
| 3673 |
<xsd:annotation> |
| 3674 |
<xsd:documentation xml:lang="en"><xccdf:Rule> is informational and failure |
| 3675 |
does not represent a problem. </xsd:documentation> |
| 3676 |
</xsd:annotation> |
| 3677 |
</xsd:enumeration> |
| 3678 |
<xsd:enumeration value="low"> |
| 3679 |
<xsd:annotation> |
| 3680 |
<xsd:documentation xml:lang="en">Not a serious problem. </xsd:documentation> |
| 3681 |
</xsd:annotation> |
| 3682 |
</xsd:enumeration> |
| 3683 |
<xsd:enumeration value="medium"> |
| 3684 |
<xsd:annotation> |
| 3685 |
<xsd:documentation xml:lang="en">Fairly serious problem. </xsd:documentation> |
| 3686 |
</xsd:annotation> |
| 3687 |
</xsd:enumeration> |
| 3688 |
<xsd:enumeration value="high"> |
| 3689 |
<xsd:annotation> |
| 3690 |
<xsd:documentation xml:lang="en">A grave or critical problem. |
| 3691 |
</xsd:documentation> |
| 3692 |
</xsd:annotation> |
| 3693 |
</xsd:enumeration> |
| 3694 |
</xsd:restriction> |
| 3695 |
</xsd:simpleType> |
| 3696 |
|
| 3697 |
<xsd:simpleType name="roleEnumType"> |
| 3698 |
<xsd:annotation> |
| 3699 |
<xsd:documentation xml:lang="en">Allowed checking and scoring roles for an |
| 3700 |
<xccdf:Rule>.</xsd:documentation> |
| 3701 |
</xsd:annotation> |
| 3702 |
<xsd:restriction base="xsd:string"> |
| 3703 |
<xsd:enumeration value="full"> |
| 3704 |
<xsd:annotation> |
| 3705 |
<xsd:documentation xml:lang="en">If the <xccdf:Rule> is selected, then |
| 3706 |
check it and let the result contribute to the score and appear in reports |
| 3707 |
(default). </xsd:documentation> |
| 3708 |
</xsd:annotation> |
| 3709 |
</xsd:enumeration> |
| 3710 |
<xsd:enumeration value="unscored"> |
| 3711 |
<xsd:annotation> |
| 3712 |
<xsd:documentation xml:lang="en">If the <xccdf:Rule> is selected, then |
| 3713 |
check it and include it in the test report, but give the result a status of |
| 3714 |
informational and do not use the result in score computations. |
| 3715 |
</xsd:documentation> |
| 3716 |
</xsd:annotation> |
| 3717 |
</xsd:enumeration> |
| 3718 |
<xsd:enumeration value="unchecked"> |
| 3719 |
<xsd:annotation> |
| 3720 |
<xsd:documentation xml:lang="en">Do not check the <xccdf:Rule>; just force |
| 3721 |
the result status to notchecked. </xsd:documentation> |
| 3722 |
</xsd:annotation> |
| 3723 |
</xsd:enumeration> |
| 3724 |
</xsd:restriction> |
| 3725 |
</xsd:simpleType> |
| 3726 |
|
| 3727 |
<xsd:simpleType name="subUseEnumType"> |
| 3728 |
<xsd:annotation> |
| 3729 |
<xsd:documentation xml:lang="en">This holds the possible values of the @use attribute |
| 3730 |
within an <xccdf:sub> element. The @use attribute is only applicable with the |
| 3731 |
subType's @idref attribute holds the value of the @id of an <xccdf:Value> |
| 3732 |
element.</xsd:documentation> |
| 3733 |
</xsd:annotation> |
| 3734 |
<xsd:restriction base="xsd:string"> |
| 3735 |
<xsd:enumeration value="value"> |
| 3736 |
<xsd:annotation> |
| 3737 |
<xsd:documentation xml:lang="en">Replace with the selected <xccdf:value> |
| 3738 |
or <xccdf:complex-value> of an <xccdf:Value>. |
| 3739 |
</xsd:documentation> |
| 3740 |
</xsd:annotation> |
| 3741 |
</xsd:enumeration> |
| 3742 |
<xsd:enumeration value="title"> |
| 3743 |
<xsd:annotation> |
| 3744 |
<xsd:documentation xml:lang="en">Replace with the <xccdf:title> of the |
| 3745 |
<xccdf:Value>. </xsd:documentation> |
| 3746 |
</xsd:annotation> |
| 3747 |
</xsd:enumeration> |
| 3748 |
<xsd:enumeration value="legacy"> |
| 3749 |
<xsd:annotation> |
| 3750 |
<xsd:documentation xml:lang="en">Use the context-dependent processing of |
| 3751 |
<xccdf:sub> elements outlined in XCCDF 1.1.4. </xsd:documentation> |
| 3752 |
</xsd:annotation> |
| 3753 |
</xsd:enumeration> |
| 3754 |
</xsd:restriction> |
| 3755 |
</xsd:simpleType> |
| 3756 |
|
| 3757 |
<xsd:element name="Tailoring" type="cdf:tailoringType"> |
| 3758 |
<xsd:annotation> |
| 3759 |
<xsd:documentation xml:lang="en">The <xccdf:Tailoring> element holds one or more |
| 3760 |
<xccdf:Profile> elements. These <xccdf:Profile> elements record |
| 3761 |
additional tailoring activities that apply to a given <xccdf:Benchmark>. |
| 3762 |
<xccdf:Tailoring> elements are separate from <xccdf:Benchmark> |
| 3763 |
documents, but each <xccdf:Tailoring> element is associated with a specific |
| 3764 |
<xccdf:Benchmark> document. By defining these tailoring actions separately |
| 3765 |
from the <xccdf:Benchmark> document to which they apply, these actions can be |
| 3766 |
recorded without affecting the integrity of the source itself.</xsd:documentation> |
| 3767 |
</xsd:annotation> |
| 3768 |
</xsd:element> |
| 3769 |
|
| 3770 |
<xsd:complexType name="tailoringType"> |
| 3771 |
<xsd:annotation> |
| 3772 |
<xsd:documentation xml:lang="en">Data type for the <xccdf:Tailoring> element. The |
| 3773 |
<xccdf:Tailoring> element allows named tailorings (i.e., <xccdf:Profile> |
| 3774 |
elements) of an <xccdf:Benchmark> to be defined separately from the |
| 3775 |
<xccdf:Benchmark> itself. The <xccdf:Profile> elements in an |
| 3776 |
<xccdf:Tailoring> element can be used in two ways: First, an organization |
| 3777 |
might wish to pre-define a set of tailoring actions to be applied on top of or |
| 3778 |
instead of the tailoring performed by an <xccdf:Benchmark> element's |
| 3779 |
<xccdf:Profile> elements. Second, an <xccdf:Tailoring> element can be |
| 3780 |
used to record manual tailoring actions performed during the course of an |
| 3781 |
assessment. </xsd:documentation> |
| 3782 |
</xsd:annotation> |
| 3783 |
<xsd:sequence> |
| 3784 |
<xsd:element name="benchmark" minOccurs="0" maxOccurs="1" |
| 3785 |
type="cdf:tailoringBenchmarkReferenceType"> |
| 3786 |
<xsd:annotation> |
| 3787 |
<xsd:documentation xml:lang="en">Identifies the <xccdf:Benchmark> to which |
| 3788 |
this tailoring applies. A <xccdf:Tailoring> document is only |
| 3789 |
applicable to a single <xccdf:Benchmark>. Note, however, that this is |
| 3790 |
a purely informative field. </xsd:documentation> |
| 3791 |
</xsd:annotation> |
| 3792 |
</xsd:element> |
| 3793 |
<xsd:element ref="cdf:status" minOccurs="0" maxOccurs="unbounded"> |
| 3794 |
<xsd:annotation> |
| 3795 |
<xsd:documentation xml:lang="en">Status of the tailoring and date at which it |
| 3796 |
attained that status. Authors may use this element to record the maturity or |
| 3797 |
consensus level of an <xccdf:Tailoring> element.</xsd:documentation> |
| 3798 |
</xsd:annotation> |
| 3799 |
</xsd:element> |
| 3800 |
<xsd:element name="dc-status" minOccurs="0" maxOccurs="unbounded" |
| 3801 |
type="cdf:dc-statusType"> |
| 3802 |
<xsd:annotation> |
| 3803 |
<xsd:documentation xml:lang="en">Holds additional status information using the |
| 3804 |
Dublin Core format. </xsd:documentation> |
| 3805 |
</xsd:annotation> |
| 3806 |
</xsd:element> |
| 3807 |
<xsd:element name="version" minOccurs="1" maxOccurs="1" type="cdf:tailoringVersionType"> |
| 3808 |
<xsd:annotation> |
| 3809 |
<xsd:documentation xml:lang="en">The version of this <xccdf:Tailoring> |
| 3810 |
element, with a required @time attribute that records when the |
| 3811 |
<xccdf:Tailoring> element was created. This timestamp is necessary |
| 3812 |
because, under some circumstances, a copy of an <xccdf:Tailoring> |
| 3813 |
document might be automatically generated. Without the version and |
| 3814 |
timestamp, tracking of these automatically created <xccdf:Tailoring> |
| 3815 |
documents could become problematic. </xsd:documentation> |
| 3816 |
</xsd:annotation> |
| 3817 |
</xsd:element> |
| 3818 |
<xsd:element name="metadata" type="cdf:metadataType" minOccurs="0" maxOccurs="unbounded"> |
| 3819 |
<xsd:annotation> |
| 3820 |
<xsd:documentation xml:lang="en">XML metadata for the <xccdf:Tailoring> |
| 3821 |
element. </xsd:documentation> |
| 3822 |
</xsd:annotation> |
| 3823 |
</xsd:element> |
| 3824 |
<xsd:element ref="cdf:Profile" minOccurs="1" maxOccurs="unbounded"> |
| 3825 |
<xsd:annotation> |
| 3826 |
<xsd:documentation xml:lang="en"><xccdf:Profile> elements that reference |
| 3827 |
and customize sets of items in an <xccdf:Benchmark>. |
| 3828 |
</xsd:documentation> |
| 3829 |
</xsd:annotation> |
| 3830 |
</xsd:element> |
| 3831 |
<xsd:element name="signature" type="cdf:signatureType" minOccurs="0" maxOccurs="1"> |
| 3832 |
<xsd:annotation> |
| 3833 |
<xsd:documentation xml:lang="en">A digital signature asserting authorship and |
| 3834 |
allowing verification of the integrity of the <xccdf:Tailoring>. |
| 3835 |
</xsd:documentation> |
| 3836 |
</xsd:annotation> |
| 3837 |
</xsd:element> |
| 3838 |
</xsd:sequence> |
| 3839 |
<xsd:attribute name="id" type="cdf:tailoringIdType" use="required"> |
| 3840 |
<xsd:annotation> |
| 3841 |
<xsd:documentation xml:lang="en">Unique identifier for this |
| 3842 |
element.</xsd:documentation> |
| 3843 |
</xsd:annotation> |
| 3844 |
</xsd:attribute> |
| 3845 |
|
| 3846 |
<xsd:attribute name="Id" type="xsd:ID" use="optional"> |
| 3847 |
<xsd:annotation> |
| 3848 |
<xsd:documentation xml:lang="en">An identifier used for referencing elements |
| 3849 |
included in an XML signature. </xsd:documentation> |
| 3850 |
</xsd:annotation> |
| 3851 |
</xsd:attribute> |
| 3852 |
</xsd:complexType> |
| 3853 |
|
| 3854 |
<xsd:complexType name="tailoringBenchmarkReferenceType"> |
| 3855 |
<xsd:annotation> |
| 3856 |
<xsd:documentation xml:lang="en">Identifies the <xccdf:Benchmark> to which an |
| 3857 |
<xccdf:Tailoring> element applies. </xsd:documentation> |
| 3858 |
</xsd:annotation> |
| 3859 |
<xsd:complexContent> |
| 3860 |
<xsd:extension base="cdf:benchmarkReferenceType"> |
| 3861 |
<xsd:attribute name="version" type="xsd:string" use="optional"> |
| 3862 |
<xsd:annotation> |
| 3863 |
<xsd:documentation xml:lang="en">Identifies the version of the referenced |
| 3864 |
<xccdf:Benchmark>. </xsd:documentation> |
| 3865 |
</xsd:annotation> |
| 3866 |
</xsd:attribute> |
| 3867 |
</xsd:extension> |
| 3868 |
</xsd:complexContent> |
| 3869 |
</xsd:complexType> |
| 3870 |
|
| 3871 |
<xsd:complexType name="tailoringVersionType"> |
| 3872 |
<xsd:annotation> |
| 3873 |
<xsd:documentation xml:lang="en">Type for version information about an |
| 3874 |
<xccdf:Tailoring> element. </xsd:documentation> |
| 3875 |
</xsd:annotation> |
| 3876 |
<xsd:simpleContent> |
| 3877 |
<xsd:extension base="xsd:string"> |
| 3878 |
<xsd:attribute name="time" type="xsd:dateTime" use="required"> |
| 3879 |
<xsd:annotation> |
| 3880 |
<xsd:documentation xml:lang="en">The time when this version of the |
| 3881 |
<xccdf:Tailoring> document was completed. </xsd:documentation> |
| 3882 |
</xsd:annotation> |
| 3883 |
</xsd:attribute> |
| 3884 |
</xsd:extension> |
| 3885 |
</xsd:simpleContent> |
| 3886 |
</xsd:complexType> |
| 3887 |
|
| 3888 |
</xsd:schema> |
| 3889 |
|
| 3890 |
|
| 3891 |
|
| 3892 |
|
| 3893 |
|
| 3894 |
|
| 3895 |
|
| 3896 |
|
| 3897 |
|
| 3898 |
|
| 3899 |
|
| 3900 |
|
| 3901 |
|
| 3902 |
|
| 3903 |
|
| 3904 |
|
| 3905 |
|
| 3906 |
|
| 3907 |
|
| 3908 |
|
| 3909 |
|
| 3910 |
|
| 3911 |
|
| 3912 |
|
| 3913 |
|
| 3914 |
|
| 3915 |
|
| 3916 |
|
| 3917 |
|
| 3918 |
|
| 3919 |
|
| 3920 |
|
| 3921 |
|
| 3922 |
|
| 3923 |
|
| 3924 |
|
| 3925 |
|
| 3926 |
|
| 3927 |
|
| 3928 |
|
| 3929 |
|
| 3930 |
|
| 3931 |
|
| 3932 |
|
| 3933 |
|
| 3934 |
|
| 3935 |
|
| 3936 |
|
| 3937 |
|
| 3938 |
|
| 3939 |
|
| 3940 |
|
| 3941 |
|
| 3942 |
|
| 3943 |
|
| 3944 |
|
| 3945 |
|
| 3946 |
|
| 3947 |
|
| 3948 |
|
| 3949 |
|
| 3950 |
|
| 3951 |
|
| 3952 |
|
| 3953 |
|
| 3954 |
|
| 3955 |
|
| 3956 |
|
| 3957 |
|
| 3958 |
|
| 3959 |
|
| 3960 |
|
| 3961 |
|
| 3962 |
|
| 3963 |
|
| 3964 |
|
| 3965 |
|
| 3966 |
|
| 3967 |
|
| 3968 |
|
| 3969 |
|
| 3970 |
|
| 3971 |
|
| 3972 |
|
| 3973 |
|
| 3974 |
|
| 3975 |
|
| 3976 |
|
| 3977 |
|
| 3978 |
|
| 3979 |
|
| 3980 |
|
| 3981 |
|
| 3982 |
|
| 3983 |
|
| 3984 |
|
| 3985 |
|
| 3986 |
|
| 3987 |
|
| 3988 |
|
| 3989 |
|
| 3990 |
|
| 3991 |
|
| 3992 |
|
| 3993 |
|
| 3994 |
|
| 3995 |
|
| 3996 |
|
| 3997 |
|
| 3998 |
|
| 3999 |
|
| 4000 |
|
| 4001 |
|
| 4002 |
|
| 4003 |
|
| 4004 |
|
| 4005 |
|
| 4006 |
|
| 4007 |
|
| 4008 |
|
| 4009 |
|
| 4010 |
|
| 4011 |
|
| 4012 |
|
| 4013 |
|
| 4014 |
|
| 4015 |
|
| 4016 |
|
| 4017 |
|
| 4018 |
|
| 4019 |
|
| 4020 |
|
| 4021 |
|
| 4022 |
|
| 4023 |
|
| 4024 |
|
| 4025 |
|
| 4026 |
|
| 4027 |
|
| 4028 |
|
| 4029 |
|
| 4030 |
|
| 4031 |
|
| 4032 |
|
| 4033 |
|
| 4034 |
|
| 4035 |
|
| 4036 |
|
| 4037 |
|
| 4038 |
|
| 4039 |
|
| 4040 |
|
| 4041 |
|
| 4042 |
|
| 4043 |
|
| 4044 |
|
| 4045 |
|
| 4046 |
|
| 4047 |
|
| 4048 |
|
| 4049 |
|
| 4050 |
|
| 4051 |
|
| 4052 |
|
| 4053 |
|
| 4054 |
|
| 4055 |
|
| 4056 |
|
| 4057 |
|
| 4058 |
|
| 4059 |
|
| 4060 |
|
| 4061 |
|
| 4062 |
|
| 4063 |
|
| 4064 |
|
| 4065 |
|
| 4066 |
|
| 4067 |
|
| 4068 |
|
| 4069 |
|
| 4070 |
|
| 4071 |
|
| 4072 |
|
| 4073 |
|
| 4074 |
|
| 4075 |
|
| 4076 |
|