Debian Codegraph @

tests/DS/cpe_in_ds/sds.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8"?>
2 <ds:data-stream-collection xmlns:ds="http://scap.nist.gov/schema/scap/source/1.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:cat="urn:oasis:names:tc:entity:xmlns:xml:catalog" id="scap_org.open-scap_collection_from_xccdf_ssg-fedora-xccdf-1.2.xml" schematron-version="1.2">
3
4 <ds:data-stream id="scap_org.open-scap_datastream_from_xccdf_ssg-fedora-xccdf-1.2.xml" scap-version="1.2" use-case="OTHER">
5 <ds:dictionaries>
6 <ds:component-ref id="scap_org.open-scap_cref_output--ssg-fedora-cpe-dictionary.xml"
7 xlink:href="#scap_org.open-scap_comp_output--ssg-fedora-cpe-dictionary.xml">
8 <cat:catalog>
9 <cat:uri name="ssg-fedora-cpe-oval.xml" uri="#scap_org.open-scap_cref_output--ssg-fedora-cpe-oval.xml"/>
10 </cat:catalog>
11 </ds:component-ref>
12 </ds:dictionaries>
13 <ds:checklists>
14 <ds:component-ref id="scap_org.open-scap_cref_ssg-fedora-xccdf-1.2.xml"
15 xlink:href="#scap_org.open-scap_comp_ssg-fedora-xccdf-1.2.xml">
16 <cat:catalog>
17 <cat:uri name="ssg-fedora-oval.xml" uri="#scap_org.open-scap_cref_output--ssg-fedora-oval.xml"/>
18 </cat:catalog>
19 </ds:component-ref>
20 </ds:checklists>
21 <ds:checks>
22 <ds:component-ref id="scap_org.open-scap_cref_output--ssg-fedora-cpe-oval.xml" xlink:href="#scap_org.open-scap_comp_output--ssg-fedora-cpe-oval.xml"/>
23 <ds:component-ref id="scap_org.open-scap_cref_output--ssg-fedora-oval.xml" xlink:href="#scap_org.open-scap_comp_output--ssg-fedora-oval.xml"/>
24 </ds:checks>
25 </ds:data-stream>
26
27
28 <ds:component id="scap_org.open-scap_comp_ssg-fedora-xccdf-1.2.xml" timestamp="2014-10-02T11:27:40"><Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2" id="xccdf_org.ssgproject.content_benchmark_FEDORA" resolved="1" xml:lang="en-US">
29 <status date="2014-10-02">draft</status>
30 <title xml:lang="en-US">Guide to the Secure Configuration of Fedora</title>
31 <description xml:lang="en-US">This guide presents a catalog of security-relevant configuration</description>
32 <notice xml:lang="en-US" id="terms_of_use">Do not attempt to implement any of the settings in
33 this guide without first testing them in a non-operational environment. The
34 creators of this guidance assume no responsibility whatsoever for its use by
35 other parties, and makes no guarantees, expressed or implied, about its
36 quality, reliability, or any other characteristic.</notice>
37 <front-matter xml:lang="en-US">x</front-matter>
38 <rear-matter xml:lang="en-US">Red Hat and Fedora are either registered
39 trademarks or trademarks of Red Hat, Inc. in the United States and other
40 countries. All other names are registered trademarks or trademarks of their
41 respective companies.</rear-matter>
42 <platform idref="cpe:/o:fedoraproject:fedora:1"/>
43 <version>0.0.4</version>
44 <model system="urn:xccdf:scoring:default"/>
45
46 <Rule id="xccdf_org.ssgproject.content_rule_disable_prelink" selected="true" severity="low">
47 <title xml:lang="en-US">Prelinking Disabled</title>
48 <description xml:lang="en-US">
49 The prelinking feature changes binaries in an attempt to decrease their startup
50 time. In order to disable it, change or add the following line inside the file
51 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/sysconfig/prelink</xhtml:code>:
52 <pre xmlns="http://www.w3.org/1999/xhtml">PRELINKING=no</pre>
53 Next, run the following command to return binaries to a normal, non-prelinked
54 state:
55 <pre xmlns="http://www.w3.org/1999/xhtml"># /sbin/prelink -ua</pre>
56 </description>
57 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
58 <check-content-ref name="oval:ssg:def:198" href="ssg-fedora-oval.xml"/>
59 </check>
60 </Rule>
61 </Benchmark></ds:component><ds:component id="scap_org.open-scap_comp_output--ssg-fedora-cpe-oval.xml" timestamp="2014-10-02T11:27:40"><oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:ind="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:unix="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:linux="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd">
62 <generator>
63 <oval:product_name>python</oval:product_name>
64 <oval:product_version>2.6.6</oval:product_version>
65 <oval:schema_version>5.10</oval:schema_version>
66 <oval:timestamp>2011-09-21T13:44:00</oval:timestamp>
67 </generator>
68 <definitions><definition class="inventory" id="oval:ssg:def:100" version="1">
69 <metadata>
70 <title>Fedora release 1</title>
71 <affected family="unix">
72 <platform>Fedora 1</platform>
73 </affected>
74 <description>The operating system installed on the system is Fedora release 1</description>
75 </metadata>
76 <criteria>
77 <criterion comment="Installed operating system is part of the unix family" test_ref="oval:ssg:tst:101"/>
78 <criterion comment="Fedora release 1 is installed" test_ref="oval:ssg:tst:102"/>
79 </criteria>
80 </definition>
81 <definition class="inventory" id="oval:ssg:def:103" version="1">
82 <metadata>
83 <title>Red Hat Enterprise Linux 6</title>
84 <affected family="unix">
85 <platform>Red Hat Enterprise Linux 6</platform>
86 </affected>
87 <reference ref_id="cpe:/o:redhat:enterprise_linux:6" source="CPE"/>
88 <description>The operating system installed on the system is
89 Red Hat Enterprise Linux 6</description>
90 </metadata>
91 <criteria>
92 <criterion comment="Installed operating system is part of the unix family" test_ref="oval:ssg:tst:101"/>
93 <criteria operator="OR">
94 <criterion comment="Red Hat Enterprise Linux 6 Workstation is installed" test_ref="oval:ssg:tst:104"/>
95 <criterion comment="Red Hat Enterprise Linux 6 Server is installed" test_ref="oval:ssg:tst:105"/>
96 </criteria>
97 </criteria>
98 </definition>
99 <definition class="inventory" id="oval:ssg:def:106" version="1">
100 <metadata>
101 <title>Red Hat Enterprise Linux 7</title>
102 <affected family="unix">
103 <platform>Red Hat Enterprise Linux 7</platform>
104 </affected>
105 <reference ref_id="cpe:/o:redhat:enterprise_linux:7" source="CPE"/>
106 <description>The operating system installed on the system is
107 Red Hat Enterprise Linux 7</description>
108 </metadata>
109 <criteria>
110 <criterion comment="Installed operating system is part of the unix family" test_ref="oval:ssg:tst:107"/>
111 <criteria operator="OR">
112 <criterion comment="Red Hat Enterprise Linux 7 Workstation is installed" test_ref="oval:ssg:tst:108"/>
113 <criterion comment="Red Hat Enterprise Linux 7 Server is installed" test_ref="oval:ssg:tst:109"/>
114 </criteria>
115 </criteria>
116 </definition>
117 </definitions><tests><ind:family_test check="all" check_existence="at_least_one_exists" comment="installed OS part of unix family" id="oval:ssg:tst:101" version="1">
118 <ind:object object_ref="oval:ssg:obj:110"/>
119 <ind:state state_ref="oval:ssg:ste:111"/>
120 </ind:family_test>
121 <linux:rpminfo_test check="all" check_existence="only_one_exists" comment="fedora-release is version 1" id="oval:ssg:tst:102" version="1">
122 <linux:object object_ref="oval:ssg:obj:112"/>
123 <linux:state state_ref="oval:ssg:ste:113"/>
124 </linux:rpminfo_test>
125 <linux:rpminfo_test check="all" check_existence="at_least_one_exists" comment="redhat-release-workstation is version 6" id="oval:ssg:tst:104" version="1">
126 <linux:object object_ref="oval:ssg:obj:114"/>
127 <linux:state state_ref="oval:ssg:ste:115"/>
128 </linux:rpminfo_test>
129 <linux:rpminfo_test check="all" check_existence="at_least_one_exists" comment="redhat-release-server is version 6" id="oval:ssg:tst:105" version="1">
130 <linux:object object_ref="oval:ssg:obj:116"/>
131 <linux:state state_ref="oval:ssg:ste:117"/>
132 </linux:rpminfo_test>
133 <ind:family_test check="all" check_existence="at_least_one_exists" comment="installed OS part of unix family" id="oval:ssg:tst:107" version="1">
134 <ind:object object_ref="oval:ssg:obj:118"/>
135 <ind:state state_ref="oval:ssg:ste:119"/>
136 </ind:family_test>
137 <linux:rpminfo_test check="all" check_existence="at_least_one_exists" comment="redhat-release-workstation is version 7" id="oval:ssg:tst:108" version="1">
138 <linux:object object_ref="oval:ssg:obj:120"/>
139 <linux:state state_ref="oval:ssg:ste:121"/>
140 </linux:rpminfo_test>
141 <linux:rpminfo_test check="all" check_existence="at_least_one_exists" comment="redhat-release-server is version 7" id="oval:ssg:tst:109" version="1">
142 <linux:object object_ref="oval:ssg:obj:122"/>
143 <linux:state state_ref="oval:ssg:ste:123"/>
144 </linux:rpminfo_test>
145 </tests><objects><ind:family_object id="oval:ssg:obj:110" version="1"/>
146 <linux:rpminfo_object id="oval:ssg:obj:112" version="1">
147 <linux:name>fedora-release</linux:name>
148 </linux:rpminfo_object>
149 <linux:rpminfo_object id="oval:ssg:obj:114" version="1">
150 <linux:name>redhat-release-workstation</linux:name>
151 </linux:rpminfo_object>
152 <linux:rpminfo_object id="oval:ssg:obj:116" version="1">
153 <linux:name>redhat-release-server</linux:name>
154 </linux:rpminfo_object>
155 <ind:family_object id="oval:ssg:obj:118" version="1"/>
156 <linux:rpminfo_object id="oval:ssg:obj:120" version="1">
157 <linux:name>redhat-release-workstation</linux:name>
158 </linux:rpminfo_object>
159 <linux:rpminfo_object id="oval:ssg:obj:122" version="1">
160 <linux:name>redhat-release-server</linux:name>
161 </linux:rpminfo_object>
162 </objects><states><ind:family_state id="oval:ssg:ste:111" version="1">
163 <ind:family>unix</ind:family>
164 </ind:family_state>
165 <linux:rpminfo_state id="oval:ssg:ste:113" version="1">
166 <linux:version operation="pattern match">^1$</linux:version>
167 </linux:rpminfo_state>
168 <linux:rpminfo_state id="oval:ssg:ste:115" version="1">
169 <linux:version operation="pattern match">^6.*$</linux:version>
170 </linux:rpminfo_state>
171 <linux:rpminfo_state id="oval:ssg:ste:117" version="1">
172 <linux:version operation="pattern match">^6.*$</linux:version>
173 </linux:rpminfo_state>
174 <ind:family_state id="oval:ssg:ste:119" version="1">
175 <ind:family>unix</ind:family>
176 </ind:family_state>
177 <linux:rpminfo_state id="oval:ssg:ste:121" version="1">
178 <linux:version operation="pattern match">^7.*$</linux:version>
179 </linux:rpminfo_state>
180 <linux:rpminfo_state id="oval:ssg:ste:123" version="1">
181 <linux:version operation="pattern match">^7.*$</linux:version>
182 </linux:rpminfo_state>
183 </states></oval_definitions></ds:component><ds:component id="scap_org.open-scap_comp_output--ssg-fedora-cpe-dictionary.xml" timestamp="2014-10-02T11:27:40"><cpe-list xmlns="http://cpe.mitre.org/dictionary/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://cpe.mitre.org/dictionary/2.0 http://cpe.mitre.org/files/cpe-dictionary_2.1.xsd">
184 <cpe-item name="cpe:/o:fedoraproject:fedora:1">
185 <title xml:lang="en-us">Fedora release 1 (Schrödinger's Cat)</title>
186 <!-- the check references an OVAL file that contains an inventory definition -->
187 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="ssg-fedora-cpe-oval.xml">oval:ssg:def:100</check>
188 </cpe-item>
189 </cpe-list></ds:component><ds:component id="scap_org.open-scap_comp_output--ssg-fedora-oval.xml" timestamp="2014-10-02T11:27:40"><oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:ind="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:unix="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:linux="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd">
190 <generator>
191 <oval:product_name>python</oval:product_name>
192 <oval:product_version>2.6.6</oval:product_version>
193 <oval:schema_version>5.10</oval:schema_version>
194 <oval:timestamp>2011-09-21T13:44:00</oval:timestamp>
195 </generator>
196 <definitions>
197 <definition class="compliance" id="oval:ssg:def:198" version="2">
198 <metadata>
199 <title>Disable Prelinking</title>
200 <affected family="unix">
201 <platform>Red Hat Enterprise Linux 6</platform>
202 <platform>Fedora 20</platform>
203 </affected>
204 <description>The prelinking feature can interfere with the operation of
205 checksum integrity tools (e.g. AIDE), mitigates the protection provided
206 by ASLR, and requires additional CPU cycles by software upgrades.
207 </description>
208 <reference source="JL" ref_id="20140313" ref_url="test_attestation"/>
209 <reference ref_id="disable_prelink" source="ssg"/></metadata>
210 <criteria>
211 <criterion comment="Ensure prelinking is disabled" test_ref="oval:ssg:tst:199"/>
212 </criteria>
213 </definition>
214 </definitions>
215 <tests>
216 <ind:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests whether prelinking is disabled" id="oval:ssg:tst:199" version="1">
217 <ind:object object_ref="oval:ssg:obj:264"/>
218 </ind:textfilecontent54_test>
219 </tests>
220 <objects>
221 <ind:textfilecontent54_object id="oval:ssg:obj:264" version="2">
222 <ind:filepath>/etc/sysconfig/prelink</ind:filepath>
223 <ind:pattern operation="pattern match">^[\s]*PRELINKING=no[\s]*</ind:pattern>
224 <ind:instance datatype="int">1</ind:instance>
225 </ind:textfilecontent54_object>
226 </objects>
227 </oval_definitions></ds:component></ds:data-stream-collection>