Debian Codegraph @

tests/API/XCCDF/guide/benchmark_id_test-ds.xml

raw symbols SCIP
1 <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-rhel7-xccdf-1.2.xml" schematron-version="1.2">
2 <ds:data-stream id="scap_org.open-scap_datastream_from_xccdf_ssg-rhel7-xccdf-1.2.xml" scap-version="1.2" use-case="OTHER"><ds:dictionaries><ds:component-ref id="scap_org.open-scap_cref_output--ssg-rhel7-cpe-dictionary.xml" xlink:href="#scap_org.open-scap_comp_output--ssg-rhel7-cpe-dictionary.xml"><cat:catalog><cat:uri name="ssg-rhel7-cpe-oval.xml" uri="#scap_org.open-scap_cref_output--ssg-rhel7-cpe-oval.xml"/></cat:catalog></ds:component-ref></ds:dictionaries>
3 <ds:checklists>
4 <ds:component-ref id="scap_org.open-scap_cref_ssg-rhel7-xccdf-1.2.xml" xlink:href="#scap_org.open-scap_comp_ssg-rhel7-xccdf-1.2.xml">
5 <cat:catalog>
6 <cat:uri name="ssg-rhel7-oval.xml" uri="#scap_org.open-scap_cref_ssg-rhel7-oval.xml"/>
7 </cat:catalog>
8 </ds:component-ref>
9 <ds:component-ref id="scap_org.open-scap_cref_ssg-rhel7_2-xccdf-1.2.xml" xlink:href="#scap_org.open-scap_comp_ssg-rhel7_2-xccdf-1.2.xml">
10 <cat:catalog>
11 <cat:uri name="ssg-rhel7-oval.xml" uri="#scap_org.open-scap_cref_ssg-rhel7-oval.xml"/>
12 </cat:catalog>
13 </ds:component-ref>
14 </ds:checklists>
15 <ds:checks>
16 <ds:component-ref id="scap_org.open-scap_cref_ssg-rhel7-oval.xml" xlink:href="#scap_org.open-scap_comp_ssg-rhel7-oval.xml"/>
17 </ds:checks>
18 </ds:data-stream>
19 <ds:component id="scap_org.open-scap_comp_ssg-rhel7-oval.xml" timestamp="2017-01-03T11:03:27">
20 <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">
21 <generator>
22 <oval:product_name>python</oval:product_name>
23 <oval:product_version>2.7.12</oval:product_version>
24 <oval:schema_version>5.11</oval:schema_version>
25 <oval:timestamp>2017-01-03T10:03:20</oval:timestamp>
26 </generator>
27 <definitions>
28 <definition class="compliance" id="oval:ssg-package_httpd_removed:def:1" version="1">
29 <metadata>
30 <title>Package httpd Removed</title>
31 <affected family="unix">
32 <platform>Red Hat Enterprise Linux 7</platform>
33 <platform>Red Hat Enterprise Linux 6</platform>
34 </affected>
35 <description>The RPM package httpd should be removed.</description>
36 <reference ref_id="package_httpd_removed" source="ssg"/></metadata>
37 <criteria>
38 <criterion comment="package httpd is removed" test_ref="oval:ssg-test_package_httpd_removed:tst:1"/>
39 </criteria>
40 </definition>
41 </definitions>
42 <tests>
43 <linux:rpminfo_test check="all" check_existence="none_exist" id="oval:ssg-test_package_httpd_removed:tst:1" version="1" comment="package httpd is removed">
44 <linux:object object_ref="oval:ssg-obj_package_httpd_removed:obj:1"/>
45 </linux:rpminfo_test>
46 </tests>
47 <objects>
48 <linux:rpminfo_object id="oval:ssg-obj_package_httpd_removed:obj:1" version="1">
49 <linux:name>httpd</linux:name>
50 </linux:rpminfo_object>
51 </objects>
52 </oval_definitions>
53 </ds:component>
54 <ds:component id="scap_org.open-scap_comp_ssg-rhel7-xccdf-1.2.xml" timestamp="2017-01-03T11:03:27">
55 <Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2" id="xccdf_org.ssgproject.content_benchmark_1" resolved="1" xml:lang="en-US" style="SCAP_1.2">
56 <status date="2017-01-03">draft</status>
57 <title xml:lang="en-US">Benchmark1</title>
58 <platform idref="cpe:/o:redhat:enterprise_linux:7"/>
59 <platform idref="cpe:/o:redhat:enterprise_linux:7::client"/>
60 <platform idref="cpe:/o:redhat:enterprise_linux:7::computenode"/>
61 <version update="https://github.com/OpenSCAP/scap-security-guide/releases/latest">0.1.31</version>
62 <model system="urn:xccdf:scoring:default"/>
63 <Profile id="xccdf_org.ssgproject.content_profile_C2S">
64 <title xml:lang="en-US">Benchmark1</title>
65 <select idref="xccdf_org.ssgproject.content_rule_package_httpd_removed" selected="true"/>
66 </Profile>
67 <Group id="xccdf_org.ssgproject.content_group_http">
68 <Rule id="xccdf_org.ssgproject.content_rule_package_httpd_removed" selected="false" severity="low">
69 <title xml:lang="en-US">Uninstall httpd Package</title>
70 <description xml:lang="en-US">
71 The <html:code xmlns:html="http://www.w3.org/1999/xhtml">httpd</html:code> package can be removed with the following command:
72 <html:pre xmlns:html="http://www.w3.org/1999/xhtml">$ sudo yum erase httpd</html:pre>
73 </description>
74 <reference href="http://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-53r4.pdf">CM-7</reference>
75 <reference href="https://benchmarks.cisecurity.org/tools2/linux/CIS_Red_Hat_Enterprise_Linux_7_Benchmark_v1.1.0.pdf">3.11</reference>
76 <ident system="https://nvd.nist.gov/cce/index.cfm">CCE-80301-5</ident>
77 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
78 <check-content-ref name="oval:ssg-package_httpd_removed:def:1" href="ssg-rhel7-oval.xml"/>
79 </check>
80 <check system="http://scap.nist.gov/schema/ocil/2">
81 <check-content-ref href="ssg-rhel7-ocil.xml" name="ocil:ssg-package_httpd_removed_ocil:questionnaire:1"/>
82 </check>
83 </Rule>
84 </Group>
85 </Benchmark>
86 </ds:component>
87 <ds:component id="scap_org.open-scap_comp_ssg-rhel7_2-xccdf-1.2.xml" timestamp="2017-01-03T11:03:31">
88 <ns0:Benchmark xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:ns0="http://checklists.nist.gov/xccdf/1.2" xmlns:ns2="http://www.w3.org/2000/svg" id="xccdf_org.ssgproject.content_benchmark_2" resolved="1" style="SCAP_1.2" xml:lang="en-US">
89 <ns0:status date="2017-01-03">draft</ns0:status>
90 <ns0:title xml:lang="en-US">Benchmark2</ns0:title>
91 <ns0:platform idref="cpe:/o:redhat:enterprise_linux:7"/>
92 <ns0:platform idref="cpe:/o:redhat:enterprise_linux:7::client"/>
93 <ns0:platform idref="cpe:/o:redhat:enterprise_linux:7::computenode"/>
94 <ns0:version update="https://github.com/OpenSCAP/scap-security-guide/releases/latest">0.1.31</ns0:version>
95 <ns0:model system="urn:xccdf:scoring:default"/>
96 <ns0:Profile id="xccdf_org.ssgproject.content_profile_pci-dss_centric">
97 <ns0:title xml:lang="en-US">Benchmark2</ns0:title>
98 <ns0:select idref="xccdf_org.ssgproject.content_rule_service_auditd_enabled" selected="true"/>
99 </ns0:Profile>
100 <ns0:Group id="xccdf_org.ssgproject.content_group_installed_OS_is_fedora">
101 <ns0:Rule id="xccdf_org.ssgproject.content_rule_installed_OS_is_fedora" selected="false" severity="low">
102 <ns0:title xml:lang="en-US">Uninstall httpd Package</ns0:title>
103 <ns0:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
104 <ns0:check-content-ref name="oval:ssg-installed_OS_is_fedora:def:1" href="ssg-rhel7-oval.xml"/>
105 </ns0:check>
106 </ns0:Rule>
107 </ns0:Group>
108 </ns0:Benchmark>
109 </ds:component>
110 <ds:component id="scap_org.open-scap_comp_output--ssg-rhel7-cpe-dictionary.xml" timestamp="2017-01-03T11:03:24">
111 <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">
112 <cpe-item name="cpe:/o:redhat:enterprise_linux:7">
113 <title xml:lang="en-us">Red Hat Enterprise Linux 7</title>
114 <!-- the check references an OVAL file that contains an inventory definition -->
115 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="ssg-rhel7-cpe-oval.xml">oval:ssg-installed_OS_is_rhel7:def:1</check>
116 </cpe-item>
117 <cpe-item name="cpe:/o:redhat:enterprise_linux:7::server">
118 <title xml:lang="en-us">Red Hat Enterprise Linux 7 Server</title>
119 <!-- the check references an OVAL file that contains an inventory definition -->
120 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="ssg-rhel7-cpe-oval.xml">oval:ssg-installed_OS_is_rhel7:def:1</check>
121 </cpe-item>
122 <cpe-item name="cpe:/o:redhat:enterprise_linux:7::client">
123 <title xml:lang="en-us">Red Hat Enterprise Linux 7 Client</title>
124 <!-- the check references an OVAL file that contains an inventory definition -->
125 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="ssg-rhel7-cpe-oval.xml">oval:ssg-installed_OS_is_rhel7:def:1</check>
126 </cpe-item>
127 <cpe-item name="cpe:/o:redhat:enterprise_linux:7::computenode">
128 <title xml:lang="en-us">Red Hat Enterprise Linux 7 ComputeNode</title>
129 <!-- the check references an OVAL file that contains an inventory definition -->
130 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="ssg-rhel7-cpe-oval.xml">oval:ssg-installed_OS_is_rhel7:def:1</check>
131 </cpe-item>
132 <cpe-item name="cpe:/o:redhat:enterprise_linux:7::workstation">
133 <title xml:lang="en-us">Red Hat Enterprise Linux 7 Workstation</title>
134 <!-- the check references an OVAL file that contains an inventory definition -->
135 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="ssg-rhel7-cpe-oval.xml">oval:ssg-installed_OS_is_rhel7:def:1</check>
136 </cpe-item>
137 <cpe-item name="cpe:/o:centos:centos:7">
138 <title xml:lang="en-us">CentOS 7</title>
139 <!-- the check references an OVAL file that contains an inventory definition -->
140 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="ssg-rhel7-cpe-oval.xml">oval:ssg-installed_OS_is_centos7:def:1</check>
141 </cpe-item>
142 <cpe-item name="cpe:/o:scientificlinux:scientificlinux:7">
143 <title xml:lang="en-us">Scientific Linux 7</title>
144 <!-- the check references an OVAL file that contains an inventory definition -->
145 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="ssg-rhel7-cpe-oval.xml">oval:ssg-installed_OS_is_sl7:def:1</check>
146 </cpe-item>
147 </cpe-list>
148 </ds:component>
149 </ds:data-stream-collection>