Debian Codegraph @

tests/DS/schematron/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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="scap_org.open-scap_collection_from_xccdf_test_single_rule.xccdf.xml" schematron-version="1.3" xsi:schemaLocation="http://scap.nist.gov/schema/scap/source/1.2 https://scap.nist.gov/schema/scap/1.3/scap-source-data-stream_1.3.xsd">
3 <ds:data-stream id="scap_org.open-scap_datastream_simple" scap-version="1.3" use-case="OTHER">
4 <ds:checklists>
5 <ds:component-ref id="scap_org.open-scap_cref_test_single_rule.xccdf.xml" xlink:href="#scap_org.open-scap_comp_test_single_rule.xccdf.xml">
6 <cat:catalog>
7 <cat:uri name="test_single_rule.oval.xml" uri="#scap_org.open-scap_cref_test_single_rule.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_test_single_rule.oval.xml" xlink:href="#scap_org.open-scap_comp_test_single_rule.oval.xml"/>
13 </ds:checks>
14 </ds:data-stream>
15 <ds:component id="scap_org.open-scap_comp_test_single_rule.oval.xml" timestamp="2021-02-01T08:07:06+01:00">
16 <oval_definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:win-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" xsi:schemaLocation="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#windows windows-definitions-schema.xsd">
17 <generator>
18 <oval:schema_version>5.11.2</oval:schema_version>
19 <oval:timestamp>2021-02-01T08:07:06+01:00</oval:timestamp>
20 </generator>
21 <definitions>
22 <definition class="compliance" id="oval:x:def:1" version="1">
23 <metadata>
24 <title>PASS</title>
25 <description>pass</description>
26 </metadata>
27 <criteria>
28 <criterion comment="PASS test" test_ref="oval:x:tst:1"/>
29 </criteria>
30 </definition>
31 </definitions>
32 <tests>
33 <variable_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:x:tst:1" check="all" comment="always pass" version="1">
34 <object object_ref="oval:x:obj:1"/>
35 </variable_test>
36 </tests>
37 <objects>
38 <variable_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:x:obj:1" version="1" comment="x">
39 <var_ref>oval:x:var:1</var_ref>
40 </variable_object>
41 </objects>
42 <variables>
43 <constant_variable id="oval:x:var:1" version="1" comment="x" datatype="int">
44 <value>100</value>
45 </constant_variable>
46 </variables>
47 </oval_definitions>
48 </ds:component>
49 <ds:component id="scap_org.open-scap_comp_test_single_rule.xccdf.xml" timestamp="2021-02-01T08:07:06+01:00">
50 <Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="xccdf_com.example.www_benchmark_dummy" xsi:schemaLocation="http://checklists.nist.gov/xccdf/1.1 xccdf-1.1.4.xsd" resolved="false" xml:lang="en-US">
51 <status date="2021-01-21">accepted</status>
52 <title>Test Benchmark</title>
53 <description>Description</description>
54 <version>1.0</version>
55 <metadata>
56 <dc:contributor xmlns:dc="http://purl.org/dc/elements/1.1/">OpenSCAP</dc:contributor>
57 <dc:publisher xmlns:dc="http://purl.org/dc/elements/1.1/">OpenSCAP</dc:publisher>
58 <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">OpenSCAP</dc:creator>
59 <dc:source xmlns:dc="http://purl.org/dc/elements/1.1/">http://scap.nist.gov</dc:source>
60 </metadata>
61 <Profile id="xccdf_com.example.www_profile_test_single_rule">
62 <title>xccdf_test_profile</title>
63 <description>This profile is for testing.</description>
64 <select idref="xccdf_com.example.www_rule_test-pass" selected="true"/>
65 </Profile>
66 <Rule selected="true" id="xccdf_com.example.www_rule_test-pass">
67 <title>This rule always passes</title>
68 <description>Description</description>
69 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
70 <check-content-ref href="test_single_rule.oval.xml" name="oval:x:def:1"/>
71 </check>
72 </Rule>
73 </Benchmark>
74 </ds:component>
75 </ds:data-stream-collection>