Debian Codegraph @

tests/show_details/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_variable.xccdf.xml" schematron-version="1.2">
3 <ds:data-stream id="scap_org.open-scap_datastream_from_xccdf_variable.xccdf.xml" scap-version="1.3" use-case="OTHER">
4 <ds:checklists>
5 <ds:component-ref id="scap_org.open-scap_cref_variable.xccdf.xml" xlink:href="#scap_org.open-scap_comp_variable.xccdf.xml">
6 <cat:catalog>
7 <cat:uri name="variable.oval.xml" uri="#scap_org.open-scap_cref_variable.oval.xml"/>
8 </cat:catalog>
9 </ds:component-ref>
10 </ds:checklists>
11 <ds:checks>
12 <ds:component-ref id="scap_org.open-scap_cref_variable.oval.xml" xlink:href="#scap_org.open-scap_comp_variable.oval.xml"/>
13 </ds:checks>
14 </ds:data-stream>
15 <ds:component id="scap_org.open-scap_comp_variable.oval.xml" timestamp="2021-01-21T08:56:08">
16 <oval_definitions xmlns:oval-def="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: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">
17 <generator>
18 <oval:schema_version>5.10.1</oval:schema_version>
19 <oval:timestamp>0001-01-01T00:00:00+00:00</oval:timestamp>
20 </generator>
21 <definitions>
22 <definition class="compliance" version="1" id="oval:x:def:1">
23 <metadata>
24 <title>x</title>
25 <description>x</description>
26 <affected family="unix">
27 <platform>x</platform>
28 </affected>
29 </metadata>
30 <criteria>
31 <criterion test_ref="oval:x:tst:1" comment="always pass"/>
32 </criteria>
33 </definition>
34 </definitions>
35 <tests>
36 <ind:variable_test id="oval:x:tst:1" version="1" check="all" comment="oval:x:var:1 should equals 24">
37 <ind:object object_ref="oval:x:obj:1"/>
38 <ind:state state_ref="oval:x:ste:1"/>
39 </ind:variable_test>
40 </tests>
41 <objects>
42 <ind:variable_object id="oval:x:obj:1" version="1">
43 <ind:var_ref>oval:x:var:1</ind:var_ref>
44 </ind:variable_object>
45 </objects>
46 <states>
47 <ind:variable_state id="oval:x:ste:1" version="1">
48 <ind:value datatype="int" operation="equals" var_ref="oval:x:var:2"/>
49 </ind:variable_state>
50 </states>
51 <variables>
52 <constant_variable id="oval:x:var:1" datatype="int" version="1" comment="var1">
53 <value>42</value>
54 </constant_variable>
55 <constant_variable id="oval:x:var:2" datatype="int" version="1" comment="var2">
56 <value>24</value>
57 </constant_variable>
58 </variables>
59 </oval_definitions>
60 </ds:component>
61 <ds:component id="scap_org.open-scap_comp_variable.xccdf.xml" timestamp="2021-01-21T08:56:08">
62 <Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2" id="xccdf_moc.elpmaxe.www_benchmark_test">
63 <status>incomplete</status>
64 <version>1.0</version>
65 <model system="urn:xccdf:scoring:default"/>
66 <Rule selected="true" id="xccdf_moc.elpmaxe.www_rule_1">
67 <title>Simple rule</title>
68 <description>This is a rule description</description>
69 <warning>This is a rule warning</warning>
70 <rationale>This is a rule rationale</rationale>
71 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
72 <check-content-ref href="variable.oval.xml" name="oval:x:def:1"/>
73 </check>
74 </Rule>
75 </Benchmark>
76 </ds:component>
77 </ds:data-stream-collection>