Debian Codegraph @

tests/nist/R3005/r3005-datastream-03.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ds:data-stream-collection xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
3 xmlns:cat="urn:oasis:names:tc:entity:xmlns:xml:catalog"
4 xmlns:xlink="http://www.w3.org/1999/xlink"
5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 xmlns:ds="http://scap.nist.gov/schema/scap/source/1.2"
7 id="scap_gov.nist_collection_r3005-datastream_03"
8 schematron-version="1.2"
9 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
10 http://checklists.nist.gov/xccdf/1.2 http://scap.nist.gov/schema/xccdf/1.2/xccdf_1.2.xsd">
11
12 <!-- Data Stream with XCCDF:Tailoring -->
13 <ds:data-stream id="scap_gov.nist_datastream_r3005-tailoring_03" use-case="CONFIGURATION" scap-version="1.2" timestamp="2016-05-25T14:00:00">
14 <ds:dictionaries>
15 <ds:component-ref id="scap_gov.nist_cref_r3005-cpe-dictionary_tailoring_03" xlink:href="#scap_gov.nist_comp_r3005-cpe-dictionary_03">
16 <cat:catalog>
17 <cat:uri name="r3005-cpe-oval-03" uri="#scap_gov.nist_cref_r3005-cpe-oval_tailoring_03"/>
18 </cat:catalog>
19 </ds:component-ref>
20 </ds:dictionaries>
21 <ds:checklists>
22 <ds:component-ref id="scap_gov.nist_cref_r3005-xccdf_tailoring_03" xlink:href="#scap_gov.nist_comp_r3005-xccdf_tailoring_03"/>
23 <ds:component-ref id="scap_gov.nist_cref_r3005-xccdf_01-source" xlink:href="file:r3005-datastream-01.xml#scap_gov.nist_comp_r3005-xccdf_01">
24 <cat:catalog>
25 <cat:uri name="r3005-oval-01" uri="#scap_gov.nist_cref_r3005-oval-source-01"/>
26 </cat:catalog>
27 </ds:component-ref>
28
29 </ds:checklists>
30 <ds:checks>
31 <ds:component-ref id="scap_gov.nist_cref_r3005-cpe-oval_tailoring_03" xlink:href="#scap_gov.nist_comp_r3005-cpe-oval_03"/>
32 <ds:component-ref id="scap_gov.nist_cref_r3005-oval-source-01" xlink:href="file:r3005-datastream-01.xml#scap_gov.nist_comp_r3005-oval-01"/>
33 </ds:checks>
34 </ds:data-stream>
35 <ds:component id="scap_gov.nist_comp_r3005-cpe-oval_03" timestamp="2016-05-25T14:00:00">
36 <oval_definitions
37 xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5"
38 xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5"
39 xmlns:win-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows"
40 xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"
41 xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5"
42 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
43 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
44 http://oval.mitre.org/XMLSchema/oval-definitions-5 http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/oval-definitions-schema.xsd
45 http://oval.mitre.org/XMLSchema/oval-common-5 http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/oval-common-schema.xsd
46 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">
47 <generator>
48 <oval:product_name>National Institute of Standards and Technology</oval:product_name>
49 <oval:schema_version>5.10.1</oval:schema_version>
50 <oval:timestamp>2016-05-25T14:00:00-05:00</oval:timestamp>
51 </generator>
52 <!-- ==================================================================================================== -->
53 <!-- ========================================== DEFINITIONS =========================================== -->
54 <!-- ==================================================================================================== -->
55 <definitions>
56 <definition class="inventory" id="oval:gov.nist.validation.cpe.oval:def:1" version="4">
57 <metadata>
58 <title>Microsoft Windows is installed</title>
59 <affected family="windows">
60 <platform>Microsoft Windows XP</platform>
61 <platform>Microsoft Windows Vista</platform>
62 <platform>Microsoft Windows 7</platform>
63 <platform>Microsoft Windows 8</platform>
64 <platform>Microsoft Windows 8.1</platform>
65 <platform>Microsoft Windows 10</platform>
66 <platform>Microsoft Windows Server 2012</platform>
67 <platform>Microsoft Windows Server 2012 R2</platform>
68 </affected>
69 <reference ref_id="cpe:/o:microsoft:windows" source="CPE"/>
70 <description>The operating system installed on the system is Microsoft Windows</description>
71 </metadata>
72 <criteria>
73 <criterion comment="the installed operating system is part of the Microsoft Windows family" test_ref="oval:org.mitre.oval:tst:99"/>
74 </criteria>
75 </definition>
76 <definition class="inventory" id="oval:gov.nist.validation.cpe.oval:def:100" version="2">
77 <metadata>
78 <title>Red Hat Enterprise Linux 3, 4, 5, 6, or 7</title>
79 <affected family="unix">
80 <platform>Red Hat Enterprise Linux</platform>
81 </affected>
82 <reference ref_id="cpe:/o:redhat:enterprise_linux" source="CPE"/>
83 <description>The operating system installed on the system is Red Hat Enterprise Linux 3, 4, 5, 6, or 7</description>
84 </metadata>
85 <criteria>
86 <criterion comment="Installed operating system is part of the unix family" test_ref="oval:gov.nist.validation.cpe.oval:tst:100"/>
87 <criterion comment="Red Hat Enterprise Linux 3, 4, 5, 6, or 7 is installed" test_ref="oval:gov.nist.validation.cpe.oval:tst:101"/>
88 </criteria>
89 </definition>
90 </definitions>
91 <!-- ==================================================================================================== -->
92 <!-- ============================================ TESTS =============================================== -->
93 <!-- ==================================================================================================== -->
94 <tests>
95 <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">
96 <object object_ref="oval:org.mitre.oval:obj:99"/>
97 <state state_ref="oval:org.mitre.oval:ste:99"/>
98 </family_test>
99 <family_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" check="only one" check_existence="at_least_one_exists" comment="installed operating system is part of the Unix family" id="oval:gov.nist.validation.cpe.oval:tst:100" version="1">
100 <object object_ref="oval:gov.nist.validation.cpe.oval:obj:100"/>
101 <state state_ref="oval:gov.nist.validation.cpe.oval:ste:100"/>
102 </family_test>
103 <rpminfo_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" check="at least one" check_existence="at_least_one_exists" comment="redhat-release is version 3, 4, 5, 6, or 7" id="oval:gov.nist.validation.cpe.oval:tst:101" version="2">
104 <object object_ref="oval:gov.nist.validation.cpe.oval:obj:101"/>
105 <state state_ref="oval:gov.nist.validation.cpe.oval:ste:101"/>
106 </rpminfo_test>
107 </tests>
108 <!-- ==================================================================================================== -->
109 <!-- ============================================ OBJECTS ============================================= -->
110 <!-- ==================================================================================================== -->
111 <objects>
112 <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"/>
113 <family_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:gov.nist.validation.cpe.oval:obj:100" version="1"/>
114 <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">
115 <name operation="pattern match">^redhat-release.*$</name>
116 </rpminfo_object>
117 </objects>
118 <!-- ==================================================================================================== -->
119 <!-- ============================================= STATES ============================================= -->
120 <!-- ==================================================================================================== -->
121 <states>
122 <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">
123 <family operation="equals">windows</family>
124 </family_state>
125 <family_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:gov.nist.validation.cpe.oval:ste:100" version="1">
126 <family>unix</family>
127 </family_state>
128 <rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:gov.nist.validation.cpe.oval:ste:101" version="2">
129 <version operation="pattern match">^[3-7]\D</version>
130 </rpminfo_state>
131 </states>
132 <!-- ==================================================================================================== -->
133 <!-- ==================================================================================================== -->
134 <!-- ==================================================================================================== -->
135 </oval_definitions>
136 </ds:component>
137 <ds:component id="scap_gov.nist_comp_r3005-cpe-dictionary_03" timestamp="2016-05-25T14:00:00">
138 <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">
139 <cpe-item name="cpe:/o:microsoft:windows">
140 <title xml:lang="en-US">Microsoft Windows</title>
141 <notes xml:lang="en-US">
142 <note>This CPE Name represents the Windows OS</note>
143 </notes>
144 <check href="r3005-cpe-oval-03" system="http://oval.mitre.org/XMLSchema/oval-definitions-5">oval:gov.nist.validation.cpe.oval:def:1</check>
145 </cpe-item>
146 <cpe-item name="cpe:/o:redhat:enterprise_linux">
147 <title xml:lang="en-us">Red Hat Enterprise Linux</title>
148 <notes xml:lang="en-us">
149 <note>This CPE Name represents Red Hat Enterprise Linux OS</note>
150 </notes>
151 <check href="r3005-cpe-oval-03" system="http://oval.mitre.org/XMLSchema/oval-definitions-5">oval:gov.nist.validation.cpe.oval:def:100</check>
152 </cpe-item>
153 </cpe-list>
154 </ds:component>
155 <!-- XCCDF tailoring component -->
156 <ds:component id="scap_gov.nist_comp_r3005-xccdf_tailoring_03" timestamp="2016-05-25T14:00:00">
157 <xccdf:Tailoring xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
158 id="xccdf_gov.nist_tailoring_r3005_03"
159 xsi:schemaLocation="http://checklists.nist.gov/xccdf/1.2 http://scap.nist.gov/schema/xccdf/1.2/xccdf_1.2.xsd
160 http://cpe.mitre.org/dictionary/2.0 http://scap.nist.gov/schema/cpe/2.3/cpe-dictionary_2.3.xsd">
161
162 <xccdf:benchmark href="file:r3005-datastream-01.xml#scap_gov.nist_cref_r3005-xccdf_01" id="xccdf_gov.nist_benchmark_r3005_id_01" version="1-2.1.1.0"/>
163
164 <xccdf:status date="2016-05-25">draft</xccdf:status>
165 <xccdf:version time="2016-05-25T14:00:00">1-2.1.1.0</xccdf:version>
166 <xccdf:metadata>
167 <dc:contributor xmlns:dc="http://purl.org/dc/elements/1.1/">NIST</dc:contributor>
168 <dc:publisher xmlns:dc="http://purl.org/dc/elements/1.1/">NIST</dc:publisher>
169 <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">NIST</dc:creator>
170 <dc:source xmlns:dc="http://purl.org/dc/elements/1.1/">http://scap.nist.gov</dc:source>
171 </xccdf:metadata>
172
173 <xccdf:Profile id="xccdf_gov.nist.validation_profile_r3005_tailoring_03" abstract="false" prohibitChanges="true">
174 <xccdf:title>Tailoring Component Profile Title 03</xccdf:title>
175 <xccdf:description>Tailoring Component Profile Description 03</xccdf:description>
176 <xccdf:platform idref="cpe:/o:microsoft:windows"/>
177 <xccdf:platform idref="cpe:/o:redhat:enterprise_linux"/>
178
179 <!-- XCCDF 1.2: Table 39: Check Processing Algorithm Sub-Steps -> Check.Selector - bullet 1: identified selector -->
180 <xccdf:select idref="xccdf_gov.nist_rule_validation.r3005_rule_1" selected="true"/>
181 <xccdf:refine-rule idref="xccdf_gov.nist_rule_validation.r3005_rule_1" selector="sel1" weight="10" role="full" severity="medium">
182 <xccdf:remark override="false">Remarks go here ...</xccdf:remark>
183 </xccdf:refine-rule>
184
185 <!-- XCCDF 1.2: Table 39: Check Processing Algorithm Sub-Steps -> Check.Selector - bullet 2: empty selector -->
186 <xccdf:select idref="xccdf_gov.nist_rule_validation.r3005_rule_2" selected="true"/>
187 <xccdf:refine-rule idref="xccdf_gov.nist_rule_validation.r3005_rule_2" selector="" weight="4.9" role="full" severity="medium"/>
188
189 <!-- XCCDF 1.2: Table 39: Check Processing Algorithm Sub-Steps -> Check.Selector - bullet 2: absent selector -->
190 <xccdf:select idref="xccdf_gov.nist_rule_validation.r3005_rule_3" selected="true"/>
191 <xccdf:refine-rule idref="xccdf_gov.nist_rule_validation.r3005_rule_3" selector="check_selector_3"></xccdf:refine-rule>
192
193 <!-- XCCDF 1.2: Table 39: Check Processing Algorithm Sub-Steps -> Check.Selector - bullet 3: no valid candidate checks. Expected result 'notchecked' -->
194 <xccdf:select idref="xccdf_gov.nist_rule_validation.r3005_rule_4" selected="false"/>
195 <xccdf:refine-rule idref="xccdf_gov.nist_rule_validation.r3005_rule_4" selector="check_selector_155" weight="5.5" role="full" severity="low">
196 <xccdf:remark override="false">Remarks go here ...</xccdf:remark>
197 </xccdf:refine-rule>
198
199 <xccdf:select idref="xccdf_gov.nist_rule_validation.r3005_rule_5" selected="true"/>
200
201 <!-- it uses other value than default -->
202 <xccdf:select idref="xccdf_gov.nist_rule_validation.r3005_rule_6" selected="true"/>
203 <xccdf:refine-value idref="xccdf_gov.nist_value_validation.r3005_for_rule_6" selector="value_test0"/>
204
205 <xccdf:select idref="xccdf_gov.nist_rule_validation.r3005_rule_7" selected="true"/>
206 <xccdf:refine-rule idref="xccdf_gov.nist_rule_validation.r3005_rule_7" selector="check_selector_1" weight="0.0" role="unscored" severity="info">
207 <xccdf:remark override="false">Remarks go here ...</xccdf:remark>
208 </xccdf:refine-rule>
209 <xccdf:refine-value idref="xccdf_gov.nist_value_validation.r3005_for_rule_7" selector="value_test2" operator="not equal"/>
210
211 <xccdf:select idref="xccdf_gov.nist_rule_validation.r3005_rule_8" selected="true"/>
212
213 <xccdf:select idref="xccdf_gov.nist_rule_validation.r3005_rule_9" selected="true"/>
214 <xccdf:refine-rule idref="xccdf_gov.nist_rule_validation.r3005_rule_9" selector="check_selector_1"/>
215
216 <xccdf:select idref="xccdf_gov.nist_rule_validation.r3005_rule_10" selected="true"/>
217
218 </xccdf:Profile>
219
220 </xccdf:Tailoring>
221 </ds:component>
222 </ds:data-stream-collection>