Debian Codegraph @

tests/DS/sds_external_xccdf/sds.ds.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_test_deriving_xccdf_result_from_oval_pass.oval.xml" schematron-version="1.2">
3 <ds:data-stream id="scap_org.open-scap_datastream_from_xccdf_test_deriving_xccdf_result_from_oval_pass.oval.xml" scap-version="1.2" use-case="OTHER">
4 <ds:checklists>
5 <ds:component-ref id="scap_org.open-scap_cref_xccdf.xml" xlink:href="file:xccdf.sds.xml#scap_1_comp_xccdf.xml">
6 <cat:catalog>
7 <!-- Mapping to OVAL -->
8 <cat:uri name="test_deriving_xccdf_result_from_oval_pass.oval.xml" uri="#scap_org.open-scap_cref_oval.xml" />
9 </cat:catalog>
10 </ds:component-ref>
11 <ds:component-ref id="scap_org.open-scap_cref_xccdf-file.xml" xlink:href="file:xccdf.xml">
12 <cat:catalog>
13 <!-- Mapping to OVAL -->
14 <cat:uri name="test_deriving_xccdf_result_from_oval_pass.oval.xml" uri="#scap_org.open-scap_cref_oval.xml" />
15 </cat:catalog>
16 </ds:component-ref>
17 </ds:checklists>
18 <ds:checks>
19 <ds:component-ref id="scap_org.open-scap_cref_oval.xml" xlink:href="#scap_1_comp_pass.oval.xml" />
20 </ds:checks>
21 </ds:data-stream>
22 <!-- OVAL -->
23 <ds:component id="scap_1_comp_pass.oval.xml" timestamp="2016-02-02T14:06:14">
24 <oval_definitions xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd">
25 <generator>
26 <oval:product_name>Text Editors</oval:product_name>
27 <oval:schema_version>5.8</oval:schema_version>
28 <oval:timestamp>2010-06-08T12:00:00-04:00</oval:timestamp>
29 </generator>
30 <definitions>
31 <definition class="compliance" id="oval:moc.elpmaxe.www:def:1" version="1">
32 <metadata>
33 <title>PASS</title>
34 <description>Bla.</description>
35 </metadata>
36 <criteria>
37 <criterion test_ref="oval:moc.elpmaxe.www:tst:1" comment="Is not executable" />
38 </criteria>
39 </definition>
40 </definitions>
41 <tests>
42 <unix-def:file_test check_existence="all_exist" id="oval:moc.elpmaxe.www:tst:1" version="1" check="all" comment="Testing permissions on /etc/passwd">
43 <unix-def:object object_ref="oval:moc.elpmaxe.www:obj:1" />
44 <unix-def:state state_ref="oval:moc.elpmaxe.www:ste:1" />
45 </unix-def:file_test>
46 </tests>
47 <objects>
48 <unix-def:file_object id="oval:moc.elpmaxe.www:obj:1" version="1" comment="not_executable">
49 <unix-def:path>/etc</unix-def:path>
50 <unix-def:filename>passwd</unix-def:filename>
51 </unix-def:file_object>
52 </objects>
53 <states>
54 <unix-def:file_state id="oval:moc.elpmaxe.www:ste:1" version="1">
55 <unix-def:oexec datatype="boolean">false</unix-def:oexec>
56 </unix-def:file_state>
57 </states>
58 </oval_definitions>
59 </ds:component>
60 </ds:data-stream-collection>