Debian Codegraph @

tests/API/XCCDF/tailoring/simple-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_simple-xccdf.xml" schematron-version="1.2">
3 <ds:data-stream id="scap_org.open-scap_datastream_from_xccdf_simple-xccdf.xml" scap-version="1.2" use-case="OTHER">
4 <ds:checklists>
5 <ds:component-ref id="scap_org.open-scap_cref_simple-xccdf.xml" xlink:href="#scap_org.open-scap_comp_simple-xccdf.xml">
6 <cat:catalog>
7 <cat:uri name="simple-oval.xml" uri="#scap_org.open-scap_cref_simple-oval.xml"/>
8 </cat:catalog>
9 </ds:component-ref>
10 <ds:component-ref id="scap_org.open-scap_cref_simple-tailoring.xml" xlink:href="#scap_org.open-scap_comp_simple-tailoring.xml"/>
11 </ds:checklists>
12 <ds:checks>
13 <ds:component-ref id="scap_org.open-scap_cref_simple-oval.xml" xlink:href="#scap_org.open-scap_comp_simple-oval.xml"/>
14 </ds:checks>
15 </ds:data-stream>
16 <ds:component id="scap_org.open-scap_comp_simple-oval.xml" timestamp="2013-01-22T15:13:00">
17 <oval_definitions xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" 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">
18 <generator>
19 <oval:schema_version>5.10</oval:schema_version>
20 <oval:timestamp>0001-01-01T00:00:00+00:00</oval:timestamp>
21 </generator>
22 <definitions>
23 <definition class="compliance" version="1" id="oval:x:def:1">
24 <metadata>
25 <title>x</title>
26 <description>x</description>
27 <affected family="unix">
28 <platform>x</platform>
29 </affected>
30 </metadata>
31 <criteria comment="x" operator="OR">
32 <criterion test_ref="oval:x:tst:1" comment="always pass"/>
33 <criterion test_ref="oval:x:tst:2" comment="always fail"/>
34 </criteria>
35 </definition>
36 <definition class="compliance" version="1" id="oval:x:def:2">
37 <metadata>
38 <title>x</title>
39 <description>x</description>
40 <affected family="unix">
41 <platform>x</platform>
42 </affected>
43 </metadata>
44 <criteria comment="x" operator="AND">
45 <criterion test_ref="oval:x:tst:1" comment="always pass"/>
46 <criterion test_ref="oval:x:tst:2" comment="always fail"/>
47 </criteria>
48 </definition>
49 </definitions>
50 <tests>
51 <variable_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:x:tst:1" check="all" comment="always pass" version="1">
52 <object object_ref="oval:x:obj:1"/>
53 </variable_test>
54 <variable_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:x:tst:2" check="all" check_existence="none_exist" comment="always fail" version="1">
55 <object object_ref="oval:x:obj:1"/>
56 </variable_test>
57 </tests>
58 <objects>
59 <variable_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:x:obj:1" version="1" comment="x">
60 <var_ref>oval:x:var:1</var_ref>
61 </variable_object>
62 </objects>
63 <variables>
64 <constant_variable id="oval:x:var:1" version="1" comment="x" datatype="string">
65 <value>x</value>
66 </constant_variable>
67 </variables>
68 </oval_definitions>
69 </ds:component>
70 <ds:component id="scap_org.open-scap_comp_simple-xccdf.xml" timestamp="2013-01-22T12:20:35">
71 <Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2" id="xccdf_moc.elpmaxe.www_benchmark_test">
72 <status>incomplete</status>
73 <version>1.0</version>
74 <Profile id="xccdf_org.open-scap_profile_override">
75 <title>Override</title>
76 <select idref="xccdf_moc.elpmaxe.www_rule_1" selected="false"/>
77 </Profile>
78 <Rule selected="true" id="xccdf_moc.elpmaxe.www_rule_1">
79 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
80 <check-content-ref href="simple-oval.xml" name="oval:x:def:1"/>
81 </check>
82 </Rule>
83 </Benchmark>
84 </ds:component>
85 <ds:component id="scap_org.open-scap_comp_simple-tailoring.xml" timestamp="2013-01-22T12:20:35">
86 <Tailoring xmlns="http://checklists.nist.gov/xccdf/1.2" id="xccdf_org.open-scap_tailoring_example">
87 <status>incomplete</status>
88 <version time="2013-01-15T16:00:00.000+02:00">1.0</version>
89 <Profile id="xccdf_org.open-scap_profile_default">
90 <title>Default</title>
91 </Profile>
92 <Profile id="xccdf_org.open-scap_profile_unselecting">
93 <title>Unselecting</title>
94 <select idref="xccdf_moc.elpmaxe.www_rule_1" selected="false"/>
95 </Profile>
96 <Profile id="xccdf_org.open-scap_profile_override" extends="xccdf_org.open-scap_profile_override">
97 <title>Override</title>
98 <select idref="xccdf_moc.elpmaxe.www_rule_1" selected="true"/>
99 </Profile>
100 </Tailoring>
101 </ds:component>
102 </ds:data-stream-collection>