Debian Codegraph @

tests/DS/ds_use_local_remote_resources/remote_content_1.3.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_single_rule.xccdf.xml" schematron-version="1.3">
3 <ds:data-stream id="scap_org.open-scap_datastream_from_xccdf_test_single_rule.xccdf.xml" 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:uri name="remote.oval.xml" uri="#scap_org.open-scap_cref_remote.oval.xml"/>
9 </cat:catalog>
10 </ds:component-ref>
11 </ds:checklists>
12 <ds:checks>
13 <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"/>
14 <ds:component-ref id="scap_org.open-scap_cref_remote.oval.xml" xlink:href="https://www.example.com/security/data/oval/remote.oval.xml"/>
15 </ds:checks>
16 </ds:data-stream>
17
18 <ds:component id="scap_org.open-scap_comp_test_single_rule.oval.xml" timestamp="2017-06-09T07:07:38">
19 <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">
20 <generator>
21 <oval:schema_version>5.11</oval:schema_version>
22 <oval:timestamp>2009-01-12T10:41:00-05:00</oval:timestamp>
23 </generator>
24
25 <definitions>
26 <definition class="compliance" id="oval:test-pass:def:1" version="1">
27 <metadata>
28 <title>PASS</title>
29 <description>pass</description>
30 </metadata>
31 <criteria>
32 <criterion comment="PASS test" test_ref="oval:x:tst:1"/>
33 </criteria>
34 </definition>
35 </definitions>
36
37 <tests>
38 <variable_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:x:tst:1" check="all" comment="always pass" version="1">
39 <object object_ref="oval:x:obj:1"/>
40 </variable_test>
41 </tests>
42
43 <objects>
44 <variable_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:x:obj:1" version="1" comment="x">
45 <var_ref>oval:x:var:1</var_ref>
46 </variable_object>
47 </objects>
48
49 <variables>
50 <constant_variable id="oval:x:var:1" version="1" comment="x" datatype="int">
51 <value>100</value>
52 </constant_variable>
53 </variables>
54
55 </oval_definitions>
56 </ds:component>
57
58 <ds:component id="scap_org.open-scap_comp_test_single_rule.xccdf.xml" timestamp="2017-06-09T09:15:45">
59 <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" xml:lang="en-US">
60 <status>accepted</status>
61 <version>1.0</version>
62
63 <Profile id="xccdf_com.example.www_profile_test_remote_res">
64 <title>xccdf_test_profile</title>
65 <description>This profile is for testing.</description>
66 <select idref="xccdf_com.example.www_rule_test-pass" selected="true"/>
67 <select idref="xccdf_com.example.www_rule_test-remote_res" selected="true"/>
68 </Profile>
69
70 <Value id="xccdf_com.example.www_value_val1" type="number" operator="equals" interactive="0">
71 <title>test value</title>
72 <description>foo</description>
73 <value selector="bar_1">50</value>
74 <value selector="bar_2">100</value>
75 </Value>
76 <Rule selected="true" id="xccdf_com.example.www_rule_test-pass">
77 <title>This rule always pass</title>
78 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
79 <check-content-ref href="test_single_rule.oval.xml" name="oval:test-pass:def:1"/>
80 </check>
81 </Rule>
82 <Rule selected="true" id="xccdf_com.example.www_rule_test-remote_res">
83 <title>This rule checks remote resource</title>
84 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" multi-check="true">
85 <check-content-ref href="remote.oval.xml"/>
86 </check>
87 </Rule>
88 <Rule selected="true" id="xccdf_com.example.www_rule_test-pass2">
89 <title>This rule always pass</title>
90 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
91 <check-content-ref href="test_single_rule.oval.xml" name="oval:test-pass:def:1"/>
92 </check>
93 </Rule>
94 </Benchmark>
95 </ds:component>
96 </ds:data-stream-collection>