Debian Codegraph @

tests/nist/R3010/r3010-datastream.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <data-stream-collection xmlns="http://scap.nist.gov/schema/scap/source/1.2" xmlns:cat="urn:oasis:names:tc:entity:xmlns:xml:catalog" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="scap_gov.nist_collection_r3010-datastream" schematron-version="1.2" xsi:schemaLocation="http://scap.nist.gov/schema/scap/source/1.2 http://scap.nist.gov/schema/scap/1.2/scap-source-data-stream_1.2.xsd">
3 <data-stream id="scap_gov.nist_datastream_r3010-datastream" scap-version="1.2" timestamp="2016-05-25T14:00:00" use-case="CONFIGURATION">
4 <dictionaries>
5 <component-ref id="scap_gov.nist_cref_r3010-cpe-dictionary" xlink:href="#scap_gov.nist_comp_r3010-cpe-dictionary">
6 <cat:catalog>
7 <cat:uri name="r3010-cpe-oval" uri="#scap_gov.nist_cref_r3010-cpe-oval"/>
8 </cat:catalog>
9 </component-ref>
10 </dictionaries>
11 <checklists>
12 <component-ref id="scap_gov.nist_cref_r3010-xccdf1" xlink:href="#scap_gov.nist_comp_r3010-xccdf1">
13 <cat:catalog>
14 <cat:uri name="r3010-oval" uri="#scap_gov.nist_cref_r3010-oval"/>
15 <cat:uri name="r3010-cpe-oval" uri="#scap_gov.nist_cref_r3010-cpe-oval"/>
16 </cat:catalog>
17 </component-ref>
18 </checklists>
19 <checks>
20 <component-ref id="scap_gov.nist_cref_r3010-oval" xlink:href="#scap_gov.nist_comp_r3010-oval"/>
21 <component-ref id="scap_gov.nist_cref_r3010-cpe-oval" xlink:href="#scap_gov.nist_comp_r3010-cpe-oval"/>
22 </checks>
23 </data-stream>
24 <component id="scap_gov.nist_comp_r3010-xccdf1" timestamp="2016-05-25T14:00:00">
25 <xccdf:Benchmark xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2" id="xccdf_gov.nist_benchmark_r3010-1" style="SCAP_1.2" xml:lang="en" xmlns:cpe-lang="http://cpe.mitre.org/language/2.0" xsi:schemaLocation="http://checklists.nist.gov/xccdf/1.2 http://scap.nist.gov/schema/xccdf/1.2/xccdf_1.2.xsd http://cpe.mitre.org/dictionary/2.0 http://scap.nist.gov/schema/cpe/2.3/cpe-dictionary_2.3.xsd">
26 <xccdf:status date="2016-05-25">draft</xccdf:status>
27 <xccdf:title>XCCDF Benchmark That References the Validation Content for R.3010</xccdf:title>
28 <xccdf:description>This XCCDF Benchmark references the OVAL Definitions in the validation content for R.3010.</xccdf:description>
29 <cpe-lang:platform-specification>
30 <cpe-lang:platform id="platform_1">
31 <cpe-lang:title xml:lang="en-US">Test Platform 1</cpe-lang:title>
32 <cpe-lang:logical-test operator="AND" negate="false">
33 <cpe-lang:check-fact-ref system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="r3010-oval" id-ref="oval:gov.nist.r3010:def:1"/>
34 </cpe-lang:logical-test>
35 </cpe-lang:platform>
36 <cpe-lang:platform id="platform_2">
37 <cpe-lang:title xml:lang="en-US">Test Platform 2</cpe-lang:title>
38 <cpe-lang:logical-test operator="AND" negate="false">
39 <cpe-lang:check-fact-ref system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="r3010-oval" id-ref="oval:gov.nist.r3010:def:2"/>
40 </cpe-lang:logical-test>
41 </cpe-lang:platform>
42 <cpe-lang:platform id="platform_3">
43 <cpe-lang:title xml:lang="en-US">Test Platform 3</cpe-lang:title>
44 <cpe-lang:logical-test operator="AND" negate="false">
45 <cpe-lang:check-fact-ref system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="r3010-oval" id-ref="oval:gov.nist.r3010:def:3"/>
46 </cpe-lang:logical-test>
47 </cpe-lang:platform>
48 <cpe-lang:platform id="platform_4">
49 <cpe-lang:title xml:lang="en-US">Test Platform 4</cpe-lang:title>
50 <cpe-lang:logical-test operator="AND" negate="false">
51 <cpe-lang:check-fact-ref system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="r3010-oval" id-ref="oval:gov.nist.r3010:def:1"/>
52 <cpe-lang:check-fact-ref system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="r3010-oval" id-ref="oval:gov.nist.r3010:def:2"/>
53 </cpe-lang:logical-test>
54 </cpe-lang:platform>
55 <cpe-lang:platform id="platform_5">
56 <cpe-lang:title xml:lang="en-US">Test Platform 5</cpe-lang:title>
57 <cpe-lang:logical-test operator="AND" negate="false">
58 <cpe-lang:check-fact-ref system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="r3010-oval" id-ref="oval:gov.nist.r3010:def:1"/>
59 <cpe-lang:check-fact-ref system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="r3010-oval" id-ref="oval:gov.nist.r3010:def:3"/>
60 </cpe-lang:logical-test>
61 </cpe-lang:platform>
62 <cpe-lang:platform id="platform_6">
63 <cpe-lang:title xml:lang="en-US">Test Platform 6</cpe-lang:title>
64 <cpe-lang:logical-test operator="OR" negate="false">
65 <cpe-lang:check-fact-ref system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="r3010-oval" id-ref="oval:gov.nist.r3010:def:1"/>
66 <cpe-lang:check-fact-ref system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="r3010-oval" id-ref="oval:gov.nist.r3010:def:2"/>
67 </cpe-lang:logical-test>
68 </cpe-lang:platform>
69 <cpe-lang:platform id="platform_7">
70 <cpe-lang:title xml:lang="en-US">Test Platform 7</cpe-lang:title>
71 <cpe-lang:logical-test operator="AND" negate="true">
72 <cpe-lang:check-fact-ref system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="r3010-oval" id-ref="oval:gov.nist.r3010:def:1"/>
73 </cpe-lang:logical-test>
74 </cpe-lang:platform>
75 </cpe-lang:platform-specification>
76 <xccdf:platform idref="#platform_1"/>
77 <xccdf:version time="2016-05-25T14:00:00" update="http://scap.nist.gov/validation/resources.html">1-2.1.1.0</xccdf:version>
78 <xccdf:metadata>
79 <dc:contributor xmlns:dc="http://purl.org/dc/elements/1.1/">National Institute of Standards and Technology</dc:contributor>
80 <dc:publisher xmlns:dc="http://purl.org/dc/elements/1.1/">National Institute of Standards and Technology</dc:publisher>
81 <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">National Institute of Standards and Technology</dc:creator>
82 <dc:source xmlns:dc="http://purl.org/dc/elements/1.1/">http://scap.nist.gov</dc:source>
83 </xccdf:metadata>
84
85 <!-- Group 1 selected and applicable -->
86 <xccdf:Group id="xccdf_gov.nist_group_1" selected="true" weight="1.0">
87 <xccdf:title xml:lang="en-US">Group 1</xccdf:title>
88 <xccdf:description>This Group is Always applicable</xccdf:description>
89 <xccdf:platform idref="#platform_1"/>
90 <xccdf:Rule id="xccdf_gov.nist_rule_r3010-1_1" selected="true" role="full">
91 <xccdf:title>Test the Applicability processing capabilities</xccdf:title>
92 <xccdf:description>Should return pass</xccdf:description>
93 <xccdf:platform idref="#platform_1"/>
94 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
95 <xccdf:check-content-ref href="r3010-oval" name="oval:gov.nist.r3010:def:1"/>
96 </xccdf:check>
97 </xccdf:Rule>
98 <xccdf:Rule id="xccdf_gov.nist_rule_r3010-1_2" selected="true">
99 <xccdf:title>Test the Applicability processing capabilities</xccdf:title>
100 <xccdf:description>should not be applicable</xccdf:description>
101 <xccdf:platform idref="#platform_2"/>
102 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
103 <xccdf:check-content-ref href="r3010-oval" name="oval:gov.nist.r3010:def:1"/>
104 </xccdf:check>
105 </xccdf:Rule>
106 <xccdf:Rule id="xccdf_gov.nist_rule_r3010-1_3" selected="false">
107 <xccdf:title>Test the Applicability processing capabilities</xccdf:title>
108 <xccdf:description>Should Pass</xccdf:description>
109 <xccdf:platform idref="#platform_3"/>
110 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
111 <xccdf:check-content-ref href="r3010-oval" name="oval:gov.nist.r3010:def:1"/>
112 </xccdf:check>
113 </xccdf:Rule>
114
115 <!-- Sub-Group 1_1 selected and applicable -->
116 <xccdf:Group id="xccdf_gov.nist_group_1_1" selected="true">
117 <xccdf:title xml:lang="en-US">Group 1_1</xccdf:title>
118 <xccdf:description>Always applicable</xccdf:description>
119 <xccdf:Rule id="xccdf_gov.nist_rule_r3010-1_4" selected="true">
120 <xccdf:title>Test the Applicability processing capabilities</xccdf:title>
121 <xccdf:description>Should be not applicable</xccdf:description>
122 <xccdf:platform idref="#platform_5"/>
123 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" negate="true">
124 <xccdf:check-content-ref href="r3010-oval" name="oval:gov.nist.r3010:def:1"/>
125 </xccdf:check>
126 </xccdf:Rule>
127 <xccdf:Rule id="xccdf_gov.nist_rule_r3010-1_5" selected="true">
128 <xccdf:title>Test the Applicability processing capabilities</xccdf:title>
129 <xccdf:description>Should Pass</xccdf:description>
130 <xccdf:platform idref="#platform_4"/>
131 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
132 <xccdf:check-content-ref href="r3010-oval" name="oval:gov.nist.r3010:def:1"/>
133 </xccdf:check>
134 </xccdf:Rule>
135 <xccdf:Rule id="xccdf_gov.nist_rule_r3010-1_6" selected="false">
136 <xccdf:title>Test the Applicability processing capabilities</xccdf:title>
137 <xccdf:description>Should Pass</xccdf:description>
138 <xccdf:platform idref="#platform_6"/>
139 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
140 <xccdf:check-content-ref href="r3010-oval" name="oval:gov.nist.r3010:def:1"/>
141 </xccdf:check>
142 </xccdf:Rule>
143 </xccdf:Group>
144
145 <!-- Sub-Group 1_2 selected and NOT applicable -->
146 <xccdf:Group id="xccdf_gov.nist_group_1_2" selected="true">
147 <xccdf:title xml:lang="en-US">Group 1_2</xccdf:title>
148 <xccdf:description>Always NOT applicable</xccdf:description>
149 <xccdf:platform idref="#platform_2"/>
150 <xccdf:Rule id="xccdf_gov.nist_rule_r3010-1_7" selected="true" abstract="false" hidden="false" multiple="false" prohibitChanges="false" role="full" severity="unknown" weight="1.0">
151 <xccdf:title>Test the Applicability processing capabilities</xccdf:title>
152 <xccdf:description>This rule is applicable, but its parent group is not.</xccdf:description>
153 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
154 <xccdf:check-content-ref href="r3010-oval" name="oval:gov.nist.r3010:def:1"/>
155 </xccdf:check>
156 </xccdf:Rule>
157 </xccdf:Group>
158 </xccdf:Group>
159
160 <!-- Group 2 selected and NOT applicable -->
161 <xccdf:Group id="xccdf_gov.nist_group_2" selected="true">
162 <xccdf:title xml:lang="en-US">Applicability Group 2 - Not Applicable</xccdf:title>
163 <xccdf:description>Never Applicable</xccdf:description>
164 <xccdf:platform idref="#platform_7"/>
165 <xccdf:Rule id="xccdf_gov.nist_rule_r3010-2_8" selected="true">
166 <xccdf:title>Test the Applicability processing capabilities</xccdf:title>
167 <xccdf:description>Should be not applicable due to its parent group</xccdf:description>
168 <xccdf:platform idref="#platform_1"/>
169 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" negate="true">
170 <xccdf:check-content-ref href="r3010-oval" name="oval:gov.nist.r3010:def:1"/>
171 </xccdf:check>
172 </xccdf:Rule>
173 <xccdf:Rule id="xccdf_gov.nist_rule_r3010-2_9" selected="true">
174 <xccdf:title>Test the Applicability processing capabilities (Applicable)</xccdf:title>
175 <xccdf:description>Should be not applicable due to its parent group</xccdf:description>
176 <xccdf:platform idref="#platform_2"/>
177 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
178 <xccdf:check-content-ref href="r3010-oval" name="oval:gov.nist.r3010:def:1"/>
179 </xccdf:check>
180 </xccdf:Rule>
181
182 <xccdf:Group id="xccdf_gov.nist_group_2_1" selected="true">
183 <xccdf:title xml:lang="en-US">Group 2_1</xccdf:title>
184 <xccdf:description>Always applicable</xccdf:description>
185 <xccdf:platform idref="#platform_1"/>
186 <xccdf:Rule id="xccdf_gov.nist_rule_r3010-2_4" selected="true">
187 <xccdf:title>Test the Applicability processing capabilities</xccdf:title>
188 <xccdf:description>Should be not applicable due to its parent group</xccdf:description>
189 <xccdf:platform idref="#platform_5"/>
190 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" negate="true">
191 <xccdf:check-content-ref href="r3010-oval" name="oval:gov.nist.r3010:def:1"/>
192 </xccdf:check>
193 </xccdf:Rule>
194 <xccdf:Rule id="xccdf_gov.nist_rule_r3010-2_5" selected="true">
195 <xccdf:title>Test the Applicability processing capabilities</xccdf:title>
196 <xccdf:description>Should be not applicable due to its parent group</xccdf:description>
197 <xccdf:platform idref="#platform_4"/>
198 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
199 <xccdf:check-content-ref href="r3010-oval" name="oval:gov.nist.r3010:def:1"/>
200 </xccdf:check>
201 </xccdf:Rule>
202 </xccdf:Group>
203 </xccdf:Group>
204
205 <!-- Group 3 not selected and applicable -->
206 <xccdf:Group id="xccdf_gov.nist_group_3" selected="false">
207 <xccdf:title xml:lang="en-US">Group 1</xccdf:title>
208 <xccdf:description>This Group is Always applicable, but not selected</xccdf:description>
209 <xccdf:platform idref="#platform_1"/>
210 <xccdf:Rule id="xccdf_gov.nist_rule_r3010-3_1" selected="true" role="full">
211 <xccdf:title>Test the Applicability processing capabilities</xccdf:title>
212 <xccdf:description>Should return pass</xccdf:description>
213 <xccdf:platform idref="#platform_1"/>
214 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
215 <xccdf:check-content-ref href="r3010-oval" name="oval:gov.nist.r3010:def:1"/>
216 </xccdf:check>
217 </xccdf:Rule>
218 <xccdf:Rule id="xccdf_gov.nist_rule_r3010-3_2" selected="false">
219 <xccdf:title>Test the Applicability processing capabilities</xccdf:title>
220 <xccdf:description>Should Pass</xccdf:description>
221 <xccdf:platform idref="#platform_3"/>
222 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
223 <xccdf:check-content-ref href="r3010-oval" name="oval:gov.nist.r3010:def:1"/>
224 </xccdf:check>
225 </xccdf:Rule>
226
227 <!-- Sub-Group 1_1 selected and applicable -->
228 <xccdf:Group id="xccdf_gov.nist_group_3_1" selected="true">
229 <xccdf:title xml:lang="en-US">Group 3_1</xccdf:title>
230 <xccdf:description>Always applicable</xccdf:description>
231 <xccdf:Rule id="xccdf_gov.nist_rule_r3010-3_3" selected="true">
232 <xccdf:title>Test the Applicability processing capabilities</xccdf:title>
233 <xccdf:description>Should be notselected</xccdf:description>
234 <xccdf:platform idref="#platform_5"/>
235 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" negate="true">
236 <xccdf:check-content-ref href="r3010-oval" name="oval:gov.nist.r3010:def:1"/>
237 </xccdf:check>
238 </xccdf:Rule>
239 <xccdf:Rule id="xccdf_gov.nist_rule_r3010-3_4" selected="false">
240 <xccdf:title>Test the Applicability processing capabilities</xccdf:title>
241 <xccdf:description>Should Pass</xccdf:description>
242 <xccdf:platform idref="#platform_6"/>
243 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
244 <xccdf:check-content-ref href="r3010-oval" name="oval:gov.nist.r3010:def:1"/>
245 </xccdf:check>
246 </xccdf:Rule>
247 </xccdf:Group>
248 </xccdf:Group>
249
250 <xccdf:Rule id="xccdf_gov.nist_rule_r3010-0_1" selected="true">
251 <xccdf:title>Test the Applicability processing capabilities</xccdf:title>
252 <xccdf:description>should be applicable</xccdf:description>
253 <xccdf:platform idref="#platform_1"/>
254 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
255 <xccdf:check-content-ref href="r3010-oval" name="oval:gov.nist.r3010:def:1"/>
256 </xccdf:check>
257 </xccdf:Rule>
258 <xccdf:Rule id="xccdf_gov.nist_rule_r3010-0_2" selected="true">
259 <xccdf:title>Test the Applicability processing capabilities</xccdf:title>
260 <xccdf:description>should be not applicable</xccdf:description>
261 <xccdf:platform idref="#platform_2"/>
262 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
263 <xccdf:check-content-ref href="r3010-oval" name="oval:gov.nist.r3010:def:1"/>
264 </xccdf:check>
265 </xccdf:Rule>
266 <xccdf:Rule id="xccdf_gov.nist_rule_r3010-0_3" selected="false">
267 <xccdf:title>Test the Applicability processing capabilities (Applicable)</xccdf:title>
268 <xccdf:description>The result should be notselected</xccdf:description>
269 <xccdf:platform idref="cpe:/o:vendor:os:10"/>
270 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
271 <xccdf:check-content-ref href="r3010-oval" name="oval:gov.nist.r3010:def:1"/>
272 </xccdf:check>
273 </xccdf:Rule>
274 <xccdf:Rule id="xccdf_gov.nist_rule_r3010-0_4" selected="true">
275 <xccdf:title>Test the Applicability processing capabilities (Not Applicable)</xccdf:title>
276 <xccdf:description>should not be applicable</xccdf:description>
277 <xccdf:platform idref="cpe:/o:vendor:os:20"/>
278 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
279 <xccdf:check-content-ref href="r3010-oval" name="oval:gov.nist.r3010:def:1"/>
280 </xccdf:check>
281 </xccdf:Rule>
282 <xccdf:Rule id="xccdf_gov.nist_rule_r3010-0_5" selected="true" role="unscored">
283 <xccdf:title>Test the Applicability processing capabilities</xccdf:title>
284 <xccdf:description>SHALL return informational</xccdf:description>
285 <xccdf:platform idref="#platform_1"/>
286 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
287 <xccdf:check-content-ref href="r3010-oval" name="oval:gov.nist.r3010:def:1"/>
288 </xccdf:check>
289 </xccdf:Rule>
290 <xccdf:Rule id="xccdf_gov.nist_rule_r3010-0_6" selected="true" role="unchecked">
291 <xccdf:title>Test the Applicability processing capabilities</xccdf:title>
292 <xccdf:description>SHALL return notchecked</xccdf:description>
293 <xccdf:platform idref="#platform_1"/>
294 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
295 <xccdf:check-content-ref href="r3010-oval" name="oval:gov.nist.r3010:def:1"/>
296 </xccdf:check>
297 </xccdf:Rule>
298
299
300 </xccdf:Benchmark>
301 </component>
302 <component id="scap_gov.nist_comp_r3010-oval" timestamp="2016-05-25T14:00:00">
303 <oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/windows-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/oval-common-schema.xsd">
304 <generator>
305 <oval:product_name>NIST Validation Content Generation Script</oval:product_name>
306 <oval:product_version>1.0</oval:product_version>
307 <oval:schema_version>5.10.1</oval:schema_version>
308 <oval:timestamp>2016-05-25T14:00:00-05:00</oval:timestamp>
309 </generator>
310 <definitions>
311 <definition id="oval:gov.nist.r3010:def:1" version="1" class="compliance">
312 <metadata>
313 <title>Test for platform 1</title>
314 <description>Should always return true</description>
315 </metadata>
316 <criteria>
317 <criterion test_ref="oval:gov.nist.r3010:tst:1" comment="Should always return true"/>
318 </criteria>
319 </definition>
320 <definition id="oval:gov.nist.r3010:def:2" version="1" class="compliance">
321 <metadata>
322 <title>Test for platform 2</title>
323 <description>Should always return false</description>
324 </metadata>
325 <criteria>
326 <criterion test_ref="oval:gov.nist.r3010:tst:2" comment="Should always return false"/>
327 </criteria>
328 </definition>
329 <definition id="oval:gov.nist.r3010:def:3" version="1" class="compliance">
330 <metadata>
331 <title>Test for platform 3</title>
332 <description>Should always return true</description>
333 </metadata>
334 <criteria>
335 <criterion test_ref="oval:gov.nist.r3010:tst:3" comment="Should always return true"/>
336 </criteria>
337 </definition>
338 <definition id="oval:gov.nist.r3010:def:4" version="1" class="compliance">
339 <metadata>
340 <title>Sample Defintion</title>
341 <description>Should always return true</description>
342 </metadata>
343 <criteria>
344 <criterion test_ref="oval:gov.nist.r3010:tst:1" comment="Should always return true"/>
345 </criteria>
346 </definition>
347 <definition id="oval:gov.nist.r3010:def:5" version="1" class="compliance">
348 <metadata>
349 <title>Sample Defintion False</title>
350 <description>Should always return false</description>
351 </metadata>
352 <criteria>
353 <criterion test_ref="oval:gov.nist.r3010:tst:2" comment="Should always return false"/>
354 </criteria>
355 </definition>
356 </definitions>
357 <tests>
358 <ind-def:variable_test check="all" comment="Should always return true" version="1" id="oval:gov.nist.r3010:tst:1">
359 <ind-def:object object_ref="oval:gov.nist.r3010:obj:1"/>
360 <ind-def:state state_ref="oval:gov.nist.r3010:ste:1"/>
361 </ind-def:variable_test>
362 <ind-def:variable_test check="all" comment="Should always return false" version="1" id="oval:gov.nist.r3010:tst:2">
363 <ind-def:object object_ref="oval:gov.nist.r3010:obj:2"/>
364 <ind-def:state state_ref="oval:gov.nist.r3010:ste:2"/>
365 </ind-def:variable_test>
366 <ind-def:variable_test check="all" comment="Should always return true" version="1" id="oval:gov.nist.r3010:tst:3">
367 <ind-def:object object_ref="oval:gov.nist.r3010:obj:1"/>
368 <ind-def:state state_ref="oval:gov.nist.r3010:ste:1"/>
369 </ind-def:variable_test>
370 </tests>
371 <objects>
372 <ind-def:variable_object version="1" id="oval:gov.nist.r3010:obj:1">
373 <ind-def:var_ref datatype="string">oval:gov.nist.r3010:var:1</ind-def:var_ref>
374 </ind-def:variable_object>
375 <ind-def:variable_object version="1" id="oval:gov.nist.r3010:obj:2">
376 <ind-def:var_ref datatype="string">oval:gov.nist.r3010:var:2</ind-def:var_ref>
377 </ind-def:variable_object>
378 </objects>
379 <states>
380 <ind-def:variable_state version="1" id="oval:gov.nist.r3010:ste:1">
381 <ind-def:value datatype="string" operation="equals">1</ind-def:value>
382 </ind-def:variable_state>
383 <ind-def:variable_state version="1" id="oval:gov.nist.r3010:ste:2">
384 <ind-def:value datatype="string" operation="not equal">2</ind-def:value>
385 </ind-def:variable_state>
386 </states>
387 <variables>
388 <local_variable id="oval:gov.nist.r3010:var:1" version="1" datatype="string" comment="A sample variable">
389 <literal_component datatype="string">1</literal_component>
390 </local_variable>
391 <local_variable datatype="string" id="oval:gov.nist.r3010:var:2" version="1" comment="A sample variable">
392 <literal_component datatype="string">2</literal_component>
393 </local_variable>
394 </variables>
395 </oval_definitions>
396 </component>
397 <component id="scap_gov.nist_comp_r3010-cpe-oval" timestamp="2016-01-22T14:47:18">
398 <oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:win-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:linux-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/windows-definitions-schema.xsd
399 http://oval.mitre.org/XMLSchema/oval-definitions-5#independent http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/independent-definitions-schema.xsd
400 http://oval.mitre.org/XMLSchema/oval-definitions-5#unix http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/unix-definitions-schema.xsd
401 http://oval.mitre.org/XMLSchema/oval-definitions-5#linux http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/linux-definitions-schema.xsd
402 http://oval.mitre.org/XMLSchema/oval-definitions-5 http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/oval-definitions-schema.xsd
403 http://oval.mitre.org/XMLSchema/oval-common-5 http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/oval-common-schema.xsd">
404 <generator>
405 <oval:product_name>National Institute of Standards and Technology</oval:product_name>
406 <oval:schema_version>5.10.1</oval:schema_version>
407 <oval:timestamp>2016-05-25T14:00:00-05:00</oval:timestamp>
408 </generator>
409 <definitions>
410 <definition class="inventory" id="oval:gov.nist.validation.cpe.oval:def:2" version="2">
411 <metadata>
412 <title>Microsoft Windows 7 is installed</title>
413 <affected family="windows">
414 <platform>Microsoft Windows 7</platform>
415 </affected>
416 <reference ref_id="cpe:/o:microsoft:windows_7" source="CPE"/>
417 <description>The operating system installed on the system is Microsoft Windows 7</description>
418 </metadata>
419 <criteria>
420 <criterion comment="the installed operating system is part of the Microsoft Windows family" test_ref="oval:org.mitre.oval:tst:99"/>
421 <criterion comment="Windows 7 is installed" test_ref="oval:org.mitre.oval:tst:10792"/>
422 </criteria>
423 </definition>
424 <definition class="inventory" id="oval:gov.nist.validation.cpe.oval:def:100" version="2">
425 <metadata>
426 <title>Red Hat Enterprise Linux 3, 4, 5, 6, or 7</title>
427 <affected family="unix">
428 <platform>Red Hat Enterprise Linux</platform>
429 </affected>
430 <reference ref_id="cpe:/o:redhat:enterprise_linux" source="CPE"/>
431 <description>The operating system installed on the system is Red Hat Enterprise Linux 3, 4, 5, 6, or 7</description>
432 </metadata>
433 <criteria>
434 <criterion comment="Installed operating system is part of the unix family" test_ref="oval:gov.nist.validation.cpe.oval:tst:100"/>
435 <criterion comment="Red Hat Enterprise Linux 3, 4, 5, 6, or 7 is installed" test_ref="oval:gov.nist.validation.cpe.oval:tst:101"/>
436 </criteria>
437 </definition>
438 <definition id="oval:gov.nist.r3010:def:1" version="1" class="inventory">
439 <metadata>
440 <title>Test for platform 10</title>
441 <reference ref_id="cpe:/o:vendor:os:10" source="CPE"/>
442 <description>Should always return true</description>
443 </metadata>
444 <criteria>
445 <criterion test_ref="oval:gov.nist.r3010:tst:1" comment="Should always return true"/>
446 </criteria>
447 </definition>
448 <definition id="oval:gov.nist.r3010:def:2" version="1" class="inventory">
449 <metadata>
450 <title>Test for platform 20</title>
451 <reference ref_id="cpe:/o:vendor:os:20" source="CPE"/>
452 <description>Should always return false</description>
453 </metadata>
454 <criteria>
455 <criterion negate="true" test_ref="oval:gov.nist.r3010:tst:1" comment="Should always return true"/>
456 </criteria>
457 </definition>
458 </definitions>
459 <tests>
460 <family_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" check="only one" check_existence="at_least_one_exists" comment="the installed operating system is part of the Microsoft Windows family" id="oval:org.mitre.oval:tst:99" version="1">
461 <object object_ref="oval:org.mitre.oval:obj:99"/>
462 <state state_ref="oval:org.mitre.oval:ste:99"/>
463 </family_test>
464 <registry_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" check="at least one" check_existence="at_least_one_exists" comment="Windows 7 is installed" id="oval:org.mitre.oval:tst:10792" version="4">
465 <object object_ref="oval:org.mitre.oval:obj:5590"/>
466 <state state_ref="oval:org.mitre.oval:ste:5027"/>
467 </registry_test>
468 <family_test check_existence="at_least_one_exists" id="oval:gov.nist.validation.cpe.oval:tst:100" version="1" check="only one" comment="installed operating system is part of the Unix family" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
469 <object object_ref="oval:gov.nist.validation.cpe.oval:obj:100"/>
470 <state state_ref="oval:gov.nist.validation.cpe.oval:ste:100"/>
471 </family_test>
472 <rpminfo_test check_existence="at_least_one_exists" id="oval:gov.nist.validation.cpe.oval:tst:101" version="2" check="at least one" comment="redhat-release is version 3, 4, 5, 6, or 7" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
473 <object object_ref="oval:gov.nist.validation.cpe.oval:obj:101"/>
474 <state state_ref="oval:gov.nist.validation.cpe.oval:ste:101"/>
475 </rpminfo_test>
476 <ind-def:variable_test check="all" comment="Should always return true" version="1" id="oval:gov.nist.r3010:tst:1">
477 <ind-def:object object_ref="oval:gov.nist.r3010:obj:1"/>
478 <ind-def:state state_ref="oval:gov.nist.r3010:ste:1"/>
479 </ind-def:variable_test>
480 </tests>
481 <objects>
482 <ind-def:variable_object version="1" id="oval:gov.nist.r3010:obj:1">
483 <ind-def:var_ref datatype="string">oval:gov.nist.r3010:var:1</ind-def:var_ref>
484 </ind-def:variable_object>
485 <family_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" comment="This is the default family object. Only one family object should exist." id="oval:org.mitre.oval:obj:99" version="1"/>
486 <registry_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" comment="This registry key identifies the Windows ProductName" id="oval:org.mitre.oval:obj:5590" version="1">
487 <hive>HKEY_LOCAL_MACHINE</hive>
488 <key>SOFTWARE\Microsoft\Windows NT\CurrentVersion</key>
489 <name>ProductName</name>
490 </registry_object>
491 <family_object id="oval:gov.nist.validation.cpe.oval:obj:100" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"/>
492 <rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" comment="the redhat-release rpm" id="oval:gov.nist.validation.cpe.oval:obj:101" version="2">
493 <name operation="pattern match">^redhat-release.*$</name>
494 </rpminfo_object>
495 </objects>
496 <states>
497 <ind-def:variable_state version="1" id="oval:gov.nist.r3010:ste:1">
498 <ind-def:value datatype="string" operation="equals">1</ind-def:value>
499 </ind-def:variable_state>
500 <family_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" comment="Microsoft Windows family" id="oval:org.mitre.oval:ste:99" version="2">
501 <family operation="equals">windows</family>
502 </family_state>
503 <registry_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" comment="The registry key matches with Windows 7" id="oval:org.mitre.oval:ste:5027" version="4">
504 <value operation="pattern match">^[a-zA-Z0-9\(\)\s]*[Ww][Ii][Nn][Dd][Oo][Ww][Ss] 7[a-zA-Z0-9\(\)\s]*$</value>
505 </registry_state>
506 <family_state id="oval:gov.nist.validation.cpe.oval:ste:100" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
507 <family>unix</family>
508 </family_state>
509 <rpminfo_state id="oval:gov.nist.validation.cpe.oval:ste:101" version="2" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
510 <version operation="pattern match">^[3-7]\D</version>
511 </rpminfo_state>
512 </states>
513 <variables>
514 <local_variable id="oval:gov.nist.r3010:var:1" version="1" datatype="string" comment="A sample variable">
515 <literal_component datatype="string">1</literal_component>
516 </local_variable>
517 </variables>
518 </oval_definitions>
519 </component>
520 <component id="scap_gov.nist_comp_r3010-cpe-dictionary" timestamp="2016-01-22T14:47:18">
521 <cpe-list xmlns="http://cpe.mitre.org/dictionary/2.0" xsi:schemaLocation="http://cpe.mitre.org/dictionary/2.0 http://cpe.mitre.org/files/cpe-dictionary_2.1.xsd">
522 <cpe-item name="cpe:/o:microsoft:windows_7">
523 <title xml:lang="en-US">Microsoft Windows 7</title>
524 <notes xml:lang="en-US">
525 <note>This CPE Name represents version 6.1.7600 of the Windows OS</note>
526 </notes>
527 <check href="r3010-cpe-oval" system="http://oval.mitre.org/XMLSchema/oval-definitions-5">oval:gov.nist.validation.cpe.oval:def:2</check>
528 </cpe-item>
529 <cpe-item name="cpe:/o:redhat:enterprise_linux">
530 <title xml:lang="en-US">Red Hat Enterprise Linux</title>
531 <notes xml:lang="en-US">
532 <note>This CPE Name represents Red Hat Enterprise Linux OS</note>
533 </notes>
534 <check href="r3010-cpe-oval" system="http://oval.mitre.org/XMLSchema/oval-definitions-5">oval:gov.nist.validation.cpe.oval:def:100</check>
535 </cpe-item>
536 <cpe-item name="cpe:/o:vendor:os:10">
537 <title xml:lang="en-US">Vendor OS 10</title>
538 <notes xml:lang="en-US">
539 <note>This CPE Name represents OS 10</note>
540 </notes>
541 <check href="r3010-cpe-oval" system="http://oval.mitre.org/XMLSchema/oval-definitions-5">oval:gov.nist.r3010:def:1</check>
542 </cpe-item>
543 <cpe-item name="cpe:/o:vendor:os:20">
544 <title xml:lang="en-US">Vendor OS 20</title>
545 <notes xml:lang="en-US">
546 <note>This CPE Name represents OS 20</note>
547 </notes>
548 <check href="r3010-cpe-oval" system="http://oval.mitre.org/XMLSchema/oval-definitions-5">oval:gov.nist.r3010:def:2</check>
549 </cpe-item>
550 </cpe-list>
551 </component>
552 </data-stream-collection>