| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<data-stream-collection xmlns="http://scap.nist.gov/schema/scap/source/1.2" xmlns:cat="urn:oasis:names:tc:entity:xmlns:xml:catalog" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="scap_gov.nist_collection_ind_unknown_test-datastream.zip" schematron-version="1.2" xsi:schemaLocation="http://scap.nist.gov/schema/scap/source/1.2 http://scap.nist.gov/schema/scap/1.2/scap-source-data-stream_1.2.xsd"> |
| 3 |
<data-stream id="scap_gov.nist_datastream_ind_unknown_test-datastream.zip" scap-version="1.2" timestamp="2016-05-25T14:00:00" use-case="CONFIGURATION"> |
| 4 |
<dictionaries> |
| 5 |
<component-ref id="scap_gov.nist_cref_ind_unknown_test_content-cpe-dictionary.xml" xlink:href="#scap_gov.nist_comp_ind_unknown_test_content-cpe-dictionary.xml"> |
| 6 |
<cat:catalog> |
| 7 |
<cat:uri name="ind_unknown_test_content-cpe-oval.xml" uri="#scap_gov.nist_cref_ind_unknown_test_content-cpe-oval.xml"/> |
| 8 |
</cat:catalog> |
| 9 |
</component-ref> |
| 10 |
</dictionaries> |
| 11 |
<checklists> |
| 12 |
<component-ref id="scap_gov.nist_cref_ind_unknown_test_content-xccdf.xml" xlink:href="#scap_gov.nist_comp_ind_unknown_test_content-xccdf.xml"> |
| 13 |
<cat:catalog> |
| 14 |
<cat:uri name="ind_unknown_test_content-oval.xml" uri="#scap_gov.nist_cref_ind_unknown_test_content-oval.xml"/> |
| 15 |
</cat:catalog> |
| 16 |
</component-ref> |
| 17 |
</checklists> |
| 18 |
<checks> |
| 19 |
<component-ref id="scap_gov.nist_cref_ind_unknown_test_content-oval.xml" xlink:href="#scap_gov.nist_comp_ind_unknown_test_content-oval.xml"/> |
| 20 |
<component-ref id="scap_gov.nist_cref_ind_unknown_test_content-cpe-oval.xml" xlink:href="#scap_gov.nist_comp_ind_unknown_test_content-cpe-oval.xml"/> |
| 21 |
</checks> |
| 22 |
</data-stream> |
| 23 |
<component id="scap_gov.nist_comp_ind_unknown_test_content-xccdf.xml" timestamp="2016-05-25T14:00:00"> |
| 24 |
<xccdf:Benchmark xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2" id="xccdf_gov.nist_benchmark_xccdf-for-unknown-test-validation-content" style="SCAP_1.2" xml:lang="en" xsi:schemaLocation="http://checklists.nist.gov/xccdf/1.2 http://scap.nist.gov/schema/xccdf/1.2/xccdf_1.2.xsd http://cpe.mitre.org/dictionary/2.0 http://scap.nist.gov/schema/cpe/2.3/cpe-dictionary_2.3.xsd"> |
| 25 |
<xccdf:status date="2016-05-25">draft</xccdf:status> |
| 26 |
<xccdf:title>XCCDF Benchmark That References the Validation Content for the unknown test type</xccdf:title> |
| 27 |
<xccdf:description>This XCCDF Benchmark references the OVAL Defintitions in the validation content for the unknown test</xccdf:description> |
| 28 |
<xccdf:version time="2016-05-25T14:00:00" update="http://scap.nist.gov/validation/resources.html">1-2.1.1.0</xccdf:version> |
| 29 |
<xccdf:metadata> |
| 30 |
<dc:contributor xmlns:dc="http://purl.org/dc/elements/1.1/">National Institute of Standards and Technology</dc:contributor> |
| 31 |
<dc:publisher xmlns:dc="http://purl.org/dc/elements/1.1/">National Institute of Standards and Technology</dc:publisher> |
| 32 |
<dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">National Institute of Standards and Technology</dc:creator> |
| 33 |
<dc:source xmlns:dc="http://purl.org/dc/elements/1.1/">http://scap.nist.gov</dc:source> |
| 34 |
</xccdf:metadata> |
| 35 |
<xccdf:Profile id="xccdf_gov.nist_profile_unknown_test-validation" prohibitChanges="1"> |
| 36 |
<xccdf:title>XCCDF Profile That References the Validation Content for the unknown_test</xccdf:title> |
| 37 |
<xccdf:description>a profile</xccdf:description> |
| 38 |
<xccdf:select idref="xccdf_gov.nist_rule_unknown_test_rule-1" selected="true"/> |
| 39 |
</xccdf:Profile> |
| 40 |
<xccdf:Rule id="xccdf_gov.nist_rule_unknown_test_rule-1" selected="true"> |
| 41 |
<xccdf:title>Test the unknown test type</xccdf:title> |
| 42 |
<xccdf:description>Make sure the unknown test type returns properly</xccdf:description> |
| 43 |
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 44 |
<xccdf:check-content-ref href="ind_unknown_test_content-oval.xml" name="oval:nist.validation.unknown:def:1"/> |
| 45 |
</xccdf:check> |
| 46 |
</xccdf:Rule> |
| 47 |
</xccdf:Benchmark> |
| 48 |
</component> |
| 49 |
<component id="scap_gov.nist_comp_ind_unknown_test_content-oval.xml" timestamp="2016-05-25T14:00:00"> |
| 50 |
<oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:ind="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/windows-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/oval-common-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/linux-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#unix http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/unix-definitions-schema.xsd"> |
| 51 |
<generator> |
| 52 |
<oval:product_name>NIST Validation Content Generation Script</oval:product_name> |
| 53 |
<oval:product_version>1.0</oval:product_version> |
| 54 |
<oval:schema_version>5.10.1</oval:schema_version> |
| 55 |
<oval:timestamp>2016-05-25T14:00:00-05:00</oval:timestamp> |
| 56 |
</generator> |
| 57 |
<definitions> |
| 58 |
<definition class="compliance" id="oval:nist.validation.unknown:def:1" version="1"> |
| 59 |
<metadata> |
| 60 |
<title>Test the unknown test type</title> |
| 61 |
<description>Test the unknown test type</description> |
| 62 |
<expected_results> |
| 63 |
<result configuration="1">unknown</result> |
| 64 |
</expected_results> |
| 65 |
</metadata> |
| 66 |
<criteria> |
| 67 |
<criterion comment="Unknown test type." test_ref="oval:nist.validation.unknown:tst:1"/> |
| 68 |
</criteria> |
| 69 |
</definition> |
| 70 |
</definitions> |
| 71 |
<tests> |
| 72 |
<ind:unknown_test check="all" comment="Test the unknown test type" id="oval:nist.validation.unknown:tst:1" version="1"> |
| 73 |
<notes> |
| 74 |
<note>This tests the unknown test type.</note> |
| 75 |
</notes> |
| 76 |
</ind:unknown_test> |
| 77 |
</tests> |
| 78 |
</oval_definitions> |
| 79 |
</component> |
| 80 |
<component id="scap_gov.nist_comp_ind_unknown_test_content-cpe-oval.xml" timestamp="2016-05-25T14:00:00"> |
| 81 |
<oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:win-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/windows-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/oval-common-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux http://oval.mitre.org/language/download/schema/version5.10.1/ovaldefinition/complete/linux-definitions-schema.xsd"> |
| 82 |
<generator> |
| 83 |
<oval:product_name>National Institute of Standards and Technology</oval:product_name> |
| 84 |
<oval:schema_version>5.10.1</oval:schema_version> |
| 85 |
<oval:timestamp>2016-05-25T14:00:00-05:00</oval:timestamp> |
| 86 |
</generator> |
| 87 |
|
| 88 |
|
| 89 |
|
| 90 |
<definitions> |
| 91 |
<definition class="inventory" id="oval:gov.nist.validation.cpe.oval:def:1" version="4"> |
| 92 |
<metadata> |
| 93 |
<title>Microsoft Windows is installed</title> |
| 94 |
<affected family="windows"> |
| 95 |
<platform>Microsoft Windows XP</platform> |
| 96 |
<platform>Microsoft Windows Vista</platform> |
| 97 |
<platform>Microsoft Windows 7</platform> |
| 98 |
<platform>Microsoft Windows 8</platform> |
| 99 |
<platform>Microsoft Windows 8.1</platform> |
| 100 |
<platform>Microsoft Windows 10</platform> |
| 101 |
<platform>Microsoft Windows Server 2012</platform> |
| 102 |
<platform>Microsoft Windows Server 2012 R2</platform> |
| 103 |
</affected> |
| 104 |
<reference ref_id="cpe:/o:microsoft:windows" source="CPE"/> |
| 105 |
<description>The operating system installed on the system is Microsoft Windows</description> |
| 106 |
</metadata> |
| 107 |
<criteria> |
| 108 |
<criterion comment="the installed operating system is part of the Microsoft Windows family" test_ref="oval:org.mitre.oval:tst:99"/> |
| 109 |
</criteria> |
| 110 |
</definition> |
| 111 |
<definition class="inventory" id="oval:gov.nist.validation.cpe.oval:def:100" version="2"> |
| 112 |
<metadata> |
| 113 |
<title>Red Hat Enterprise Linux 3, 4, 5, 6, or 7</title> |
| 114 |
<affected family="unix"> |
| 115 |
<platform>Red Hat Enterprise Linux</platform> |
| 116 |
</affected> |
| 117 |
<reference ref_id="cpe:/o:redhat:enterprise_linux" source="CPE"/> |
| 118 |
<description>The operating system installed on the system is Red Hat Enterprise Linux 3, 4, 5, 6, or 7</description> |
| 119 |
</metadata> |
| 120 |
<criteria> |
| 121 |
<criterion comment="Installed operating system is part of the unix family" test_ref="oval:gov.nist.validation.cpe.oval:tst:100"/> |
| 122 |
<criterion comment="Red Hat Enterprise Linux 3, 4, 5, 6, or 7 is installed" test_ref="oval:gov.nist.validation.cpe.oval:tst:101"/> |
| 123 |
</criteria> |
| 124 |
</definition> |
| 125 |
</definitions> |
| 126 |
|
| 127 |
|
| 128 |
|
| 129 |
<tests> |
| 130 |
<family_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" check="only one" check_existence="at_least_one_exists" comment="the installed operating system is part of the Microsoft Windows family" id="oval:org.mitre.oval:tst:99" version="1"> |
| 131 |
<object object_ref="oval:org.mitre.oval:obj:99"/> |
| 132 |
<state state_ref="oval:org.mitre.oval:ste:99"/> |
| 133 |
</family_test> |
| 134 |
<family_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" check="only one" check_existence="at_least_one_exists" comment="installed operating system is part of the Unix family" id="oval:gov.nist.validation.cpe.oval:tst:100" version="1"> |
| 135 |
<object object_ref="oval:gov.nist.validation.cpe.oval:obj:100"/> |
| 136 |
<state state_ref="oval:gov.nist.validation.cpe.oval:ste:100"/> |
| 137 |
</family_test> |
| 138 |
<rpminfo_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" check="at least one" check_existence="at_least_one_exists" comment="redhat-release is version 3, 4, 5, 6, or 7" id="oval:gov.nist.validation.cpe.oval:tst:101" version="2"> |
| 139 |
<object object_ref="oval:gov.nist.validation.cpe.oval:obj:101"/> |
| 140 |
<state state_ref="oval:gov.nist.validation.cpe.oval:ste:101"/> |
| 141 |
</rpminfo_test> |
| 142 |
</tests> |
| 143 |
|
| 144 |
|
| 145 |
|
| 146 |
<objects> |
| 147 |
<family_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" comment="This is the default family object. Only one family object should exist." id="oval:org.mitre.oval:obj:99" version="1"/> |
| 148 |
<family_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:gov.nist.validation.cpe.oval:obj:100" version="1"/> |
| 149 |
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" comment="the redhat-release rpm" id="oval:gov.nist.validation.cpe.oval:obj:101" version="2"> |
| 150 |
<name operation="pattern match">^redhat-release.*$</name> |
| 151 |
</rpminfo_object> |
| 152 |
</objects> |
| 153 |
|
| 154 |
|
| 155 |
|
| 156 |
<states> |
| 157 |
<family_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" comment="Microsoft Windows family" id="oval:org.mitre.oval:ste:99" version="2"> |
| 158 |
<family operation="equals">windows</family> |
| 159 |
</family_state> |
| 160 |
<family_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:gov.nist.validation.cpe.oval:ste:100" version="1"> |
| 161 |
<family>unix</family> |
| 162 |
</family_state> |
| 163 |
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:gov.nist.validation.cpe.oval:ste:101" version="2"> |
| 164 |
<version operation="pattern match">^[3-7]\D</version> |
| 165 |
</rpminfo_state> |
| 166 |
</states> |
| 167 |
|
| 168 |
|
| 169 |
|
| 170 |
</oval_definitions> |
| 171 |
</component> |
| 172 |
<component id="scap_gov.nist_comp_ind_unknown_test_content-cpe-dictionary.xml" timestamp="2016-05-25T14:00:00"> |
| 173 |
<cpe-list xmlns="http://cpe.mitre.org/dictionary/2.0" xsi:schemaLocation="http://cpe.mitre.org/dictionary/2.0 http://cpe.mitre.org/files/cpe-dictionary_2.1.xsd"> |
| 174 |
<cpe-item name="cpe:/o:microsoft:windows"> |
| 175 |
<title xml:lang="en-US">Microsoft Windows</title> |
| 176 |
<notes xml:lang="en-US"> |
| 177 |
<note>This CPE Name represents the Windows OS</note> |
| 178 |
</notes> |
| 179 |
<check href="ind_unknown_test_content-cpe-oval.xml" system="http://oval.mitre.org/XMLSchema/oval-definitions-5">oval:gov.nist.validation.cpe.oval:def:1</check> |
| 180 |
</cpe-item> |
| 181 |
<cpe-item name="cpe:/o:redhat:enterprise_linux"> |
| 182 |
<title xml:lang="en-us">Red Hat Enterprise Linux</title> |
| 183 |
<notes xml:lang="en-us"> |
| 184 |
<note>This CPE Name represents Red Hat Enterprise Linux OS</note> |
| 185 |
</notes> |
| 186 |
<check href="ind_unknown_test_content-cpe-oval.xml" system="http://oval.mitre.org/XMLSchema/oval-definitions-5">oval:gov.nist.validation.cpe.oval:def:100</check> |
| 187 |
</cpe-item> |
| 188 |
</cpe-list> |
| 189 |
</component> |
| 190 |
</data-stream-collection> |