Debian Codegraph @

tests/nist/R600/r600-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_ind_unknown_test-datastream.zip" 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_ind_unknown_test-datastream.zip" scap-version="1.2" timestamp="2016-05-25T14:00:00" use-case="CONFIGURATION">
4 <dictionaries>
5 <component-ref id="scap_gov.nist_cref_ind_unknown_test_content-cpe-dictionary.xml" xlink:href="#scap_gov.nist_comp_ind_unknown_test_content-cpe-dictionary.xml">
6 <cat:catalog>
7 <cat:uri name="ind_unknown_test_content-cpe-oval.xml" uri="#scap_gov.nist_cref_ind_unknown_test_content-cpe-oval.xml"/>
8 </cat:catalog>
9 </component-ref>
10 </dictionaries>
11 <checklists>
12 <component-ref id="scap_gov.nist_cref_ind_unknown_test_content-xccdf.xml" xlink:href="#scap_gov.nist_comp_ind_unknown_test_content-xccdf.xml">
13 <cat:catalog>
14 <cat:uri name="ind_unknown_test_content-oval.xml" uri="#scap_gov.nist_cref_ind_unknown_test_content-oval.xml"/>
15 </cat:catalog>
16 </component-ref>
17 <component-ref id="scap_gov.nist_cref_ind_unknown_test_content-xccdf2.xml" xlink:href="#scap_gov.nist_comp_ind_unknown_test_content-xccdf2.xml">
18 <cat:catalog>
19 <cat:uri name="ind_unknown_test_content-oval.xml" uri="#scap_gov.nist_cref_ind_unknown_test_content-oval.xml"/>
20 </cat:catalog>
21 </component-ref>
22 </checklists>
23 <checks>
24 <component-ref id="scap_gov.nist_cref_ind_unknown_test_content-oval.xml" xlink:href="#scap_gov.nist_comp_ind_unknown_test_content-oval.xml"/>
25 <component-ref id="scap_gov.nist_cref_ind_unknown_test_content-cpe-oval.xml" xlink:href="#scap_gov.nist_comp_ind_unknown_test_content-cpe-oval.xml"/>
26 </checks>
27 </data-stream>
28 <component id="scap_gov.nist_comp_ind_unknown_test_content-xccdf.xml" timestamp="2016-05-25T14:00:00">
29 <xccdf:Benchmark xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2" id="xccdf_gov.nist_benchmark_xccdf-for-unknown-test-validation-content" style="SCAP_1.2" xml:lang="en" 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">
30 <xccdf:status date="2016-05-25">draft</xccdf:status>
31 <xccdf:title>XCCDF Benchmark That References the Validation Content for the unknown test type</xccdf:title>
32 <xccdf:description>This XCCDF Benchmark references the OVAL Defintitions in the validation content for the unknown test</xccdf:description>
33 <xccdf:version time="2016-05-25T14:00:00" update="http://scap.nist.gov/validation/resources.html">1-2.1.1.0</xccdf:version>
34 <xccdf:metadata>
35 <dc:contributor xmlns:dc="http://purl.org/dc/elements/1.1/">National Institute of Standards and Technology</dc:contributor>
36 <dc:publisher xmlns:dc="http://purl.org/dc/elements/1.1/">National Institute of Standards and Technology</dc:publisher>
37 <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">National Institute of Standards and Technology</dc:creator>
38 <dc:source xmlns:dc="http://purl.org/dc/elements/1.1/">http://scap.nist.gov</dc:source>
39 </xccdf:metadata>
40 <xccdf:Profile id="xccdf_gov.nist_profile_xccdf_gov.nist_profile_unknown_test-validation" prohibitChanges="1">
41 <xccdf:title>XCCDF Profile That References the Validation Content for the unknown_test</xccdf:title>
42 <xccdf:description>a profile</xccdf:description>
43 <xccdf:select idref="xccdf_gov.nist_rule_xccdf_gov.nist_rule-1" selected="true"/>
44 </xccdf:Profile>
45 <xccdf:Rule id="xccdf_gov.nist_rule_xccdf_gov.nist_rule-1" selected="true">
46 <xccdf:title>Test the unknown test type</xccdf:title>
47 <xccdf:description>Make sure the unknown test type returns properly</xccdf:description>
48 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
49 <xccdf:check-content-ref href="ind_unknown_test_content-oval.xml" name="oval:nist.validation:def:1"/>
50 </xccdf:check>
51 </xccdf:Rule>
52 </xccdf:Benchmark>
53 </component>
54 <component id="scap_gov.nist_comp_ind_unknown_test_content-xccdf2.xml" timestamp="2016-05-25T14:00:00">
55 <xccdf:Benchmark xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2" id="xccdf_gov.nist_benchmark_xccdf-for-unknown-test-validation-content2" style="SCAP_1.2" xml:lang="en" 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">
56 <xccdf:status date="2016-05-25">draft</xccdf:status>
57 <xccdf:title>2nd XCCDF Benchmark</xccdf:title>
58 <xccdf:description>This XCCDF Benchmark references two OVAL Defintitions</xccdf:description>
59 <xccdf:version time="2016-05-25T14:00:00" update="http://scap.nist.gov/validation/resources.html">1-2.1.1.0</xccdf:version>
60 <xccdf:metadata>
61 <dc:contributor xmlns:dc="http://purl.org/dc/elements/1.1/">National Institute of Standards and Technology</dc:contributor>
62 <dc:publisher xmlns:dc="http://purl.org/dc/elements/1.1/">National Institute of Standards and Technology</dc:publisher>
63 <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">National Institute of Standards and Technology</dc:creator>
64 <dc:source xmlns:dc="http://purl.org/dc/elements/1.1/">http://scap.nist.gov</dc:source>
65 </xccdf:metadata>
66 <xccdf:Profile id="xccdf_gov.nist_profile_xccdf_gov.nist_profile_unknown_test-validation" prohibitChanges="1">
67 <xccdf:title>XCCDF Profile That References the Validation Content for the unknown_test</xccdf:title>
68 <xccdf:description>a profile</xccdf:description>
69 <xccdf:select idref="xccdf_gov.nist_rule_xccdf_gov.nist_rule-1" selected="true"/>
70 <xccdf:select idref="xccdf_gov.nist_rule_xccdf_gov.nist_rule-2" selected="true"/>
71 </xccdf:Profile>
72 <xccdf:Rule id="xccdf_gov.nist_rule_xccdf_gov.nist_rule-1" selected="true">
73 <xccdf:title>Test the unknown test type</xccdf:title>
74 <xccdf:description>Make sure the unknown test type returns properly</xccdf:description>
75 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
76 <xccdf:check-content-ref href="ind_unknown_test_content-oval.xml" name="oval:nist.validation:def:1"/>
77 </xccdf:check>
78 </xccdf:Rule>
79 <xccdf:Rule id="xccdf_gov.nist_rule_xccdf_gov.nist_rule-2" selected="true">
80 <xccdf:title>Test the value entity with the greater than or equal operation</xccdf:title>
81 <xccdf:description>Make sure the value entity properly supports the greater than or equal operation.</xccdf:description>
82 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
83 <xccdf:check-content-ref href="ind_unknown_test_content-oval.xml" name="oval:nist.validation:def:1000"/>
84 </xccdf:check>
85 </xccdf:Rule>
86 </xccdf:Benchmark>
87 </component>
88 <component id="scap_gov.nist_comp_ind_unknown_test_content-oval.xml" timestamp="2016-05-25T14:00:00">
89 <oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5"
90 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
91 xmlns:ind="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"
92 xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5"
93 xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows http://oval.mitre.org/language/download/schema/version5.8/ovaldefinition/complete/windows-definitions-schema.xsd
94 http://oval.mitre.org/XMLSchema/oval-definitions-5#independent http://oval.mitre.org/language/download/schema/version5.8/ovaldefinition/complete/independent-definitions-schema.xsd
95 http://oval.mitre.org/XMLSchema/oval-definitions-5 http://oval.mitre.org/language/download/schema/version5.8/ovaldefinition/complete/oval-definitions-schema.xsd
96 http://oval.mitre.org/XMLSchema/oval-common-5 http://oval.mitre.org/language/download/schema/version5.8/ovaldefinition/complete/oval-common-schema.xsd
97 http://oval.mitre.org/XMLSchema/oval-definitions-5#linux http://oval.mitre.org/language/download/schema/version5.8/ovaldefinition/complete/linux-definitions-schema.xsd
98 http://oval.mitre.org/XMLSchema/oval-definitions-5#unix http://oval.mitre.org/language/download/schema/version5.8/ovaldefinition/complete/unix-definitions-schema.xsd">
99 <generator>
100 <oval:product_name>NIST Validation Content Generation Script</oval:product_name>
101 <oval:product_version>1.0</oval:product_version>
102 <oval:schema_version>5.8</oval:schema_version>
103 <oval:timestamp>2016-05-25T14:00:00-05:00</oval:timestamp>
104 </generator>
105 <definitions>
106 <definition class="compliance" id="oval:nist.validation:def:1" version="1">
107 <metadata>
108 <title>Test the unknown test type</title>
109 <description>Test the unknown test type</description>
110 <expected_results>
111 <result configuration="1">unknown</result>
112 </expected_results>
113 </metadata>
114 <criteria>
115 <criterion comment="Unknown test type." test_ref="oval:nist.validation:tst:1"/>
116 </criteria>
117 </definition>
118 <definition class="compliance" id="oval:nist.validation:def:1000" version="1">
119 <metadata>
120 <title>Test the value entity with the greater than or equal operation</title>
121 <description>Make sure the value entity properly supports the greater than or equal operation.</description>
122 <expected_results>
123 <result configuration="1">PASS</result>
124 </expected_results>
125 </metadata>
126 <criteria>
127 <criterion comment="Test to see that the value is greater than or equal to 1." negate="false" test_ref="oval:nist.validation:tst:1000"/>
128 </criteria>
129 </definition>
130 </definitions>
131 <tests>
132 <ind:unknown_test check="all" comment="Test the unknown test type" id="oval:nist.validation:tst:1" version="1">
133 <notes>
134 <note>This tests the unknown test type.</note>
135 </notes>
136 </ind:unknown_test>
137 <ind:variable_test check="all" check_existence="at_least_one_exists" comment="Test to see that the value is greater than or equal to 1." id="oval:nist.validation:tst:1000" version="1">
138 <ind:object object_ref="oval:nist.validation:obj:1000"/>
139 <ind:state state_ref="oval:nist.validation:ste:1000"/>
140 </ind:variable_test>
141 </tests>
142 <objects>
143 <variable_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:nist.validation:obj:1000" version="1">
144 <var_ref>oval:nist.validation:var:1000</var_ref>
145 </variable_object>
146 </objects>
147 <states>
148 <variable_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:nist.validation:ste:1000" version="1">
149 <value datatype="int" operation="greater than or equal">1</value>
150 </variable_state>
151 </states>
152 <variables>
153 <constant_variable comment="This variable contains the integer value '1'." datatype="int" id="oval:nist.validation:var:1000" version="1">
154 <value>1</value>
155 </constant_variable>
156 </variables>
157 </oval_definitions>
158 </component>
159 <component id="scap_gov.nist_comp_ind_unknown_test_content-cpe-oval.xml" timestamp="2016-05-25T14:00:00">
160 <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"
161 xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5"
162 xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows http://oval.mitre.org/language/download/schema/version5.3/ovaldefinition/complete/windows-definitions-schema.xsd
163 http://oval.mitre.org/XMLSchema/oval-definitions-5#independent http://oval.mitre.org/language/download/schema/version5.3/ovaldefinition/complete/independent-definitions-schema.xsd
164 http://oval.mitre.org/XMLSchema/oval-definitions-5#unix http://oval.mitre.org/language/download/schema/version5.3/ovaldefinition/complete/unix-definitions-schema.xsd
165 http://oval.mitre.org/XMLSchema/oval-definitions-5#linux http://oval.mitre.org/language/download/schema/version5.3/ovaldefinition/complete/linux-definitions-schema.xsd
166 http://oval.mitre.org/XMLSchema/oval-definitions-5 http://oval.mitre.org/language/download/schema/version5.3/ovaldefinition/complete/oval-definitions-schema.xsd
167 http://oval.mitre.org/XMLSchema/oval-common-5 http://oval.mitre.org/language/download/schema/version5.3/ovaldefinition/complete/oval-common-schema.xsd">
168 <generator>
169 <oval:product_name>National Institute of Standards and Technology</oval:product_name>
170 <oval:schema_version>5.3</oval:schema_version>
171 <oval:timestamp>2016-05-25T14:00:00-05:00</oval:timestamp>
172 </generator>
173 <!-- ==================================================================================================== -->
174 <!-- ========================================== DEFINITIONS =========================================== -->
175 <!-- ==================================================================================================== -->
176 <definitions>
177 <definition class="inventory" id="oval:gov.nist.validation.cpe.oval:def:2" version="2">
178 <metadata>
179 <title>Microsoft Windows 7 is installed</title>
180 <affected family="windows">
181 <platform>Microsoft Windows 7</platform>
182 </affected>
183 <reference ref_id="cpe:/o:microsoft:windows_7" source="CPE"/>
184 <description>The operating system installed on the system is Microsoft Windows 7</description>
185 </metadata>
186 <criteria>
187 <criterion comment="the installed operating system is part of the Microsoft Windows family" test_ref="oval:org.mitre.oval:tst:99"/>
188 <criterion comment="Windows 7 is installed" test_ref="oval:org.mitre.oval:tst:10792"/>
189 </criteria>
190 </definition>
191 <definition class="inventory" id="oval:gov.nist.validation.cpe.oval:def:100" version="2">
192 <metadata>
193 <title>Red Hat Enterprise Linux 3, 4, 5, 6, or 7</title>
194 <affected family="unix">
195 <platform>Red Hat Enterprise Linux</platform>
196 </affected>
197 <reference ref_id="cpe:/o:redhat:enterprise_linux" source="CPE"/>
198 <description>The operating system installed on the system is Red Hat Enterprise Linux 3, 4, 5, 6, or 7</description>
199 </metadata>
200 <criteria>
201 <criterion comment="Installed operating system is part of the unix family" test_ref="oval:gov.nist.validation.cpe.oval:tst:100"/>
202 <criterion comment="Red Hat Enterprise Linux 3, 4, 5, 6, or 7 is installed" test_ref="oval:gov.nist.validation.cpe.oval:tst:101"/>
203 </criteria>
204 </definition>
205 </definitions>
206 <!-- ==================================================================================================== -->
207 <!-- ============================================ TESTS =============================================== -->
208 <!-- ==================================================================================================== -->
209 <tests>
210 <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">
211 <object object_ref="oval:org.mitre.oval:obj:99"/>
212 <state state_ref="oval:org.mitre.oval:ste:99"/>
213 </family_test>
214 <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">
215 <object object_ref="oval:org.mitre.oval:obj:5590"/>
216 <state state_ref="oval:org.mitre.oval:ste:5027"/>
217 </registry_test>
218 <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">
219 <object object_ref="oval:gov.nist.validation.cpe.oval:obj:100"/>
220 <state state_ref="oval:gov.nist.validation.cpe.oval:ste:100"/>
221 </family_test>
222 <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">
223 <object object_ref="oval:gov.nist.validation.cpe.oval:obj:101"/>
224 <state state_ref="oval:gov.nist.validation.cpe.oval:ste:101"/>
225 </rpminfo_test>
226 </tests>
227 <!-- ==================================================================================================== -->
228 <!-- ============================================ OBJECTS ============================================= -->
229 <!-- ==================================================================================================== -->
230 <objects>
231 <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"/>
232 <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">
233 <hive>HKEY_LOCAL_MACHINE</hive>
234 <key>SOFTWARE\Microsoft\Windows NT\CurrentVersion</key>
235 <name>ProductName</name>
236 </registry_object>
237 <family_object id="oval:gov.nist.validation.cpe.oval:obj:100" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"/>
238 <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">
239 <name operation="pattern match">^redhat-release.*$</name>
240 </rpminfo_object>
241 </objects>
242 <!-- ==================================================================================================== -->
243 <!-- ============================================= STATES ============================================= -->
244 <!-- ==================================================================================================== -->
245 <states>
246 <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">
247 <family operation="equals">windows</family>
248 </family_state>
249 <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">
250 <value operation="pattern match">^[a-zA-Z0-9\(\)\s]*[Ww][Ii][Nn][Dd][Oo][Ww][Ss] 7[a-zA-Z0-9\(\)\s]*$</value>
251 </registry_state>
252 <family_state id="oval:gov.nist.validation.cpe.oval:ste:100" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
253 <family>unix</family>
254 </family_state>
255 <rpminfo_state id="oval:gov.nist.validation.cpe.oval:ste:101" version="2" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
256 <version operation="pattern match">^[3-7]\D</version>
257 </rpminfo_state>
258 </states>
259 <!-- ==================================================================================================== -->
260 <!-- ==================================================================================================== -->
261 <!-- ==================================================================================================== -->
262 </oval_definitions>
263 </component>
264 <component id="scap_gov.nist_comp_ind_unknown_test_content-cpe-dictionary.xml" timestamp="2016-05-25T14:00:00">
265 <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">
266 <cpe-item name="cpe:/o:microsoft:windows_7">
267 <title xml:lang="en-US">Microsoft Windows 7</title>
268 <notes xml:lang="en-US">
269 <note>This CPE Name represents version 6.1.7600 of the Windows OS</note>
270 </notes>
271 <check href="ind_unknown_test_content-cpe-oval.xml" system="http://oval.mitre.org/XMLSchema/oval-definitions-5">oval:gov.nist.validation.cpe.oval:def:2</check>
272 </cpe-item>
273 <cpe-item name="cpe:/o:redhat:enterprise_linux">
274 <title xml:lang="en-US">Red Hat Enterprise Linux</title>
275 <notes xml:lang="en-US">
276 <note>This CPE Name represents Red Hat Enterprise Linux OS</note>
277 </notes>
278 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="ind_unknown_test_content-cpe-oval.xml">oval:gov.nist.validation.cpe.oval:def:100</check>
279 </cpe-item>
280 </cpe-list>
281 </component>
282 </data-stream-collection>