| 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_P1"> |
| 62 | <title>xccdf_test_profile</title> |
| 63 | <description>This profile is for testing.</description> |
| 64 | <select idref="xccdf_com.example.www_rule_R1" selected="true"/> |
| 65 | <select idref="xccdf_com.example.www_rule_R2" selected="true"/> |
| 66 | <select idref="xccdf_com.example.www_rule_R3" selected="true"/> |
| 67 | <select idref="xccdf_com.example.www_rule_R4" selected="true"/> |
| 68 | </Profile> |
| 69 | <Rule selected="true" id="xccdf_com.example.www_rule_R1"> |
| 70 | <title>Rule R1</title> |
| 71 | <description>Description</description> |
| 72 | <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 73 | <check-content-ref href="test_single_rule.oval.xml" name="oval:x:def:1"/> |
| 74 | </check> |
| 75 | </Rule> |
| 76 | <Rule selected="true" id="xccdf_com.example.www_rule_R2"> |
| 77 | <title>Rule R2</title> |
| 78 | <description>Description</description> |
| 79 | <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 80 | <check-content-ref href="test_single_rule.oval.xml" name="oval:x:def:1"/> |
| 81 | </check> |
| 82 | </Rule> |
| 83 | <Rule selected="true" id="xccdf_com.example.www_rule_R3"> |
| 84 | <title>Rule R3</title> |
| 85 | <description>Description</description> |
| 86 | <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 87 | <check-content-ref href="test_single_rule.oval.xml" name="oval:x:def:1"/> |
| 88 | </check> |
| 89 | </Rule> |
| 90 | <Rule selected="true" id="xccdf_com.example.www_rule_R4"> |
| 91 | <title>Rule R4</title> |
| 92 | <description>Description</description> |
| 93 | <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 94 | <check-content-ref href="test_single_rule.oval.xml" name="oval:x:def:1"/> |
| 95 | </check> |
| 96 | </Rule> |
| 97 | </Benchmark> |
| 98 | </ds:component> |
| 99 | </ds:data-stream-collection> |