Debian Codegraph @

tests/DS/eval_xccdf_id/sds-complex.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_first-xccdf.xml" schematron-version="1.2">
3 <!-- This is bit more complex Datastream. The purpose is to test that scanner is able to find
4 * datastream-id scap_org.open-scap_datastream_tst2
5 * xccdf-id scap_org.open-scap_cref_second-xccdf.xml2
6 * profile xccdf_moc.elpmaxe.www_profile_2
7 -->
8 <ds:data-stream id="scap_org.open-scap_datastream_tst" scap-version="1.2" use-case="OTHER">
9 <ds:checklists>
10 <ds:component-ref id="scap_org.open-scap_cref_first-xccdf.xml" xlink:href="#scap_org.open-scap_comp_first-xccdf.xml">
11 <cat:catalog>
12 <cat:uri name="stub-oval.xml" uri="#scap_org.open-scap_cref_stub-oval.xml"/>
13 </cat:catalog>
14 </ds:component-ref>
15 <ds:component-ref id="scap_org.open-scap_cref_second-xccdf.xml" xlink:href="#scap_org.open-scap_comp_second-xccdf.xml">
16 <cat:catalog>
17 <cat:uri name="stub-oval.xml" uri="#scap_org.open-scap_cref_stub-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_stub-oval.xml" xlink:href="#scap_org.open-scap_comp_stub-oval.xml"/>
23 </ds:checks>
24 </ds:data-stream>
25 <ds:data-stream id="scap_org.open-scap_datastream_tst2" scap-version="1.2" use-case="OTHER">
26 <ds:checklists>
27 <ds:component-ref id="scap_org.open-scap_cref_first-xccdf.xml2" xlink:href="#scap_org.open-scap_comp_first-xccdf.xml">
28 <cat:catalog>
29 <cat:uri name="stub-oval.xml" uri="#scap_org.open-scap_cref_stub-oval.xml2"/>
30 </cat:catalog>
31 </ds:component-ref>
32 <ds:component-ref id="scap_org.open-scap_cref_second-xccdf.xml2" xlink:href="#scap_org.open-scap_comp_second-xccdf.xml2">
33 <cat:catalog>
34 <cat:uri name="stub-oval.xml" uri="#scap_org.open-scap_cref_stub-oval.xml2"/>
35 </cat:catalog>
36 </ds:component-ref>
37 </ds:checklists>
38 <ds:checks>
39 <ds:component-ref id="scap_org.open-scap_cref_stub-oval.xml2" xlink:href="#scap_org.open-scap_comp_stub-oval.xml"/>
40 </ds:checks>
41 </ds:data-stream>
42 <ds:component id="scap_org.open-scap_comp_stub-oval.xml" timestamp="2012-10-10T13:33:44">
43 <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">
44 <generator>
45 <oval:schema_version>5.10</oval:schema_version>
46 <oval:timestamp>0001-01-01T00:00:00+00:00</oval:timestamp>
47 </generator>
48 <definitions>
49 <definition class="compliance" version="1" id="oval:x:def:1">
50 <metadata>
51 <title>x</title>
52 <description>x</description>
53 <affected family="unix">
54 <platform>x</platform>
55 </affected>
56 </metadata>
57 <criteria comment="x">
58 <criterion test_ref="oval:x:tst:1"/>
59 </criteria>
60 </definition>
61 </definitions>
62 <tests>
63 <variable_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:x:tst:1" check="all" comment="x" version="1">
64 <object object_ref="oval:x:obj:1"/>
65 </variable_test>
66 </tests>
67 <objects>
68 <variable_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:x:obj:1" version="1" comment="x">
69 <var_ref>oval:x:var:1</var_ref>
70 </variable_object>
71 </objects>
72 <variables>
73 <constant_variable id="oval:x:var:1" version="1" comment="x" datatype="string">
74 <value>x</value>
75 </constant_variable>
76 </variables>
77 </oval_definitions>
78 </ds:component>
79 <ds:component id="scap_org.open-scap_comp_first-xccdf.xml" timestamp="2012-10-10T13:34:54">
80 <Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2" id="xccdf_moc.elpmaxe.www_benchmark_first">
81 <status>incomplete</status>
82 <version>1.0</version>
83 <Rule selected="true" id="xccdf_moc.elpmaxe.www_rule_first">
84 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" negate="true">
85 <check-content-ref href="stub-oval.xml"/>
86 </check>
87 </Rule>
88 </Benchmark>
89 </ds:component>
90 <ds:component id="scap_org.open-scap_comp_second-xccdf.xml2" timestamp="2012-10-10T13:34:54">
91 <Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2" id="xccdf_moc.elpmaxe.www_benchmark_second">
92 <status>incomplete</status>
93 <version>1.0</version>
94 <Profile id="xccdf_moc.elpmaxe.www_profile_1">
95 <title>is kinda compulsory</title>
96 <select idref="xccdf_moc.elpmaxe.www_rule_second" selected="true"/>
97 </Profile>
98 <Profile id="xccdf_moc.elpmaxe.www_profile_2" extends="xccdf_moc.elpmaxe.www_profile_1">
99 <title>is kinda compulsory</title>
100 <select idref="xccdf_moc.elpmaxe.www_group_one" selected="true"/>
101 </Profile>
102 <Group selected="false" id="xccdf_moc.elpmaxe.www_group_one">
103 <Rule selected="false" id="xccdf_moc.elpmaxe.www_rule_second">
104 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
105 <check-content-ref href="stub-oval.xml"/>
106 </check>
107 </Rule>
108 </Group>
109 </Benchmark>
110 </ds:component>
111 <ds:component id="scap_org.open-scap_comp_second-xccdf.xml" timestamp="2012-10-10T13:34:54">
112 <Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2" id="xccdf_moc.elpmaxe.www_benchmark_second">
113 <status>incomplete</status>
114 <version>1.0</version>
115 <Profile id="xccdf_moc.elpmaxe.www_profile_1">
116 <title>is kinda compulsory</title>
117 <select idref="xccdf_moc.elpmaxe.www_rule_second" selected="true"/>
118 </Profile>
119 <Profile id="xccdf_moc.elpmaxe.www_profile_2" extends="xccdf_moc.elpmaxe.www_profile_1">
120 <title>is kinda compulsory</title>
121 <select idref="xccdf_moc.elpmaxe.www_rule_second" selected="true"/>
122 </Profile>
123 <Group selected="false" id="xccdf_moc.elpmaxe.www_group_one">
124 <Rule selected="false" id="xccdf_moc.elpmaxe.www_rule_second">
125 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
126 <check-content-ref href="stub-oval.xml"/>
127 </check>
128 </Rule>
129 </Group>
130 </Benchmark>
131 </ds:component>
132 </ds:data-stream-collection>