| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows |
| 3 | http://oval.mitre.org/language/download/schema/version5.4/ovaldefinition/complete/windows-definitions-schema.xsd |
| 4 | http://oval.mitre.org/XMLSchema/oval-definitions-5#independent |
| 5 | http://oval.mitre.org/language/download/schema/version5.4/ovaldefinition/complete/independent-definitions-schema.xsd |
| 6 | http://oval.mitre.org/XMLSchema/oval-definitions-5 |
| 7 | http://oval.mitre.org/language/download/schema/version5.4/ovaldefinition/complete/oval-definitions-schema.xsd |
| 8 | http://oval.mitre.org/XMLSchema/oval-common-5 |
| 9 | http://oval.mitre.org/language/download/schema/version5.4/ovaldefinition/complete/oval-common-schema.xsd |
| 10 | http://oval.mitre.org/XMLSchema/oval-definitions-5#linux |
| 11 | http://oval.mitre.org/language/download/schema/version5.4/ovaldefinition/complete/linux-definitions-schema.xsd |
| 12 | http://oval.mitre.org/XMLSchema/oval-definitions-5#unix |
| 13 | http://oval.mitre.org/language/download/schema/version5.4/ovaldefinition/complete/unix-definitions-schema.xsd"> |
| 14 | <generator> |
| 15 | <oval:product_name>NIST Validation Content Generation Script</oval:product_name> |
| 16 | <oval:product_version>1.0</oval:product_version> |
| 17 | <oval:schema_version>5.4</oval:schema_version> |
| 18 | <oval:timestamp>2016-05-25T14:00:00-05:00</oval:timestamp> |
| 19 | </generator> |
| 20 | <definitions> |
| 21 | <definition id="oval:gov.nist.validation.r1100_scap11_win_rhel:def:1" version="1" class="compliance"> |
| 22 | <metadata> |
| 23 | <title>Test 1</title> |
| 24 | <affected family="windows"/> |
| 25 | <affected family="unix"/> |
| 26 | <reference source="http://cce.mitre.org" ref_id="CCE-3744-0"/> |
| 27 | <description>Test</description> |
| 28 | </metadata> |
| 29 | <criteria> |
| 30 | <criterion test_ref="oval:gov.nist.validation.r1100_scap11_win_rhel:tst:1" comment="comment ..."/> |
| 31 | </criteria> |
| 32 | </definition> |
| 33 | <definition id="oval:gov.nist.validation.r1100_scap11_win_rhel:def:2" version="1" class="compliance"> |
| 34 | <metadata> |
| 35 | <title>Test 2</title> |
| 36 | <affected family="windows"/> |
| 37 | <affected family="unix"/> |
| 38 | <reference source="http://cce.mitre.org" ref_id="CCE-3993-3"/> |
| 39 | <description>Test 2</description> |
| 40 | </metadata> |
| 41 | <criteria> |
| 42 | <criterion test_ref="oval:gov.nist.validation.r1100_scap11_win_rhel:tst:2" comment="comment ..."/> |
| 43 | </criteria> |
| 44 | </definition> |
| 45 | |
| 46 | <definition id="oval:gov.nist.validation.r1100_scap11_win_rhel:def:3" version="1" class="compliance"> |
| 47 | <metadata> |
| 48 | <title>Test 3</title> |
| 49 | <affected family="windows"/> |
| 50 | <affected family="unix"/> |
| 51 | <reference source="http://cce.mitre.org" ref_id="CCE-3207-8"/> |
| 52 | <description>Test 3</description> |
| 53 | </metadata> |
| 54 | <criteria> |
| 55 | <criterion test_ref="oval:gov.nist.validation.r1100_scap11_win_rhel:tst:3" comment="comment ..."/> |
| 56 | </criteria> |
| 57 | </definition> |
| 58 | |
| 59 | <definition id="oval:gov.nist.validation.r1100_scap11_win_rhel:def:4" version="1" class="compliance"> |
| 60 | <metadata> |
| 61 | <title>Sample Defintion 4</title> |
| 62 | <affected family="windows"/> |
| 63 | <affected family="unix"/> |
| 64 | <reference source="http://cce.mitre.org" ref_id="CCE-3929-7"/> |
| 65 | <description>Test 4</description> |
| 66 | </metadata> |
| 67 | <criteria> |
| 68 | <criterion test_ref="oval:gov.nist.validation.r1100_scap11_win_rhel:tst:4" comment="comment ..."/> |
| 69 | </criteria> |
| 70 | </definition> |
| 71 | |
| 72 | <definition id="oval:gov.nist.validation.r1100_scap11_win_rhel:def:5" version="1" class="compliance"> |
| 73 | <metadata> |
| 74 | <title>Sample Defintion 5</title> |
| 75 | <affected family="windows"/> |
| 76 | <affected family="unix"/> |
| 77 | <reference source="http://cce.mitre.org" ref_id="CCE-3933-9"/> |
| 78 | <description>Test 5</description> |
| 79 | </metadata> |
| 80 | <criteria> |
| 81 | <criterion test_ref="oval:gov.nist.validation.r1100_scap11_win_rhel:tst:2" comment="comment ..."/> |
| 82 | </criteria> |
| 83 | </definition> |
| 84 | </definitions> |
| 85 | <tests> |
| 86 | <ind-def:variable_test check="all" comment="comment ..." version="1" id="oval:gov.nist.validation.r1100_scap11_win_rhel:tst:1"> |
| 87 | <ind-def:object object_ref="oval:gov.nist.validation.r1100_scap11_win_rhel:obj:1"/> |
| 88 | <ind-def:state state_ref="oval:gov.nist.validation.r1100_scap11_win_rhel:ste:1"/> |
| 89 | </ind-def:variable_test> |
| 90 | <ind-def:variable_test check="all" comment="comment ..." version="1" id="oval:gov.nist.validation.r1100_scap11_win_rhel:tst:2"> |
| 91 | <ind-def:object object_ref="oval:gov.nist.validation.r1100_scap11_win_rhel:obj:2"/> |
| 92 | <ind-def:state state_ref="oval:gov.nist.validation.r1100_scap11_win_rhel:ste:2"/> |
| 93 | </ind-def:variable_test> |
| 94 | <ind-def:variable_test check="all" comment="comment ..." version="1" id="oval:gov.nist.validation.r1100_scap11_win_rhel:tst:3"> |
| 95 | <ind-def:object object_ref="oval:gov.nist.validation.r1100_scap11_win_rhel:obj:1"/> |
| 96 | <ind-def:state state_ref="oval:gov.nist.validation.r1100_scap11_win_rhel:ste:3"/> |
| 97 | </ind-def:variable_test> |
| 98 | <family_test check_existence="at_least_one_exists" id="oval:gov.nist.validation.r1100_scap11_win_rhel:tst:4" version="1" check="only one" comment="installed operating system is part of the Unix family" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 99 | <ind-def:object object_ref="oval:gov.nist.validation.r1100_scap11_win_rhel:obj:4"/> |
| 100 | <ind-def:state state_ref="oval:gov.nist.validation.r1100_scap11_win_rhel:ste:4"/> |
| 101 | </family_test> |
| 102 | </tests> |
| 103 | <objects> |
| 104 | <family_object id="oval:gov.nist.validation.r1100_scap11_win_rhel:obj:4" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"/> |
| 105 | <ind-def:variable_object version="1" id="oval:gov.nist.validation.r1100_scap11_win_rhel:obj:1"> |
| 106 | <ind-def:var_ref datatype="string">oval:gov.nist.validation.r1100_scap11_win_rhel:var:1</ind-def:var_ref> |
| 107 | </ind-def:variable_object> |
| 108 | <ind-def:variable_object version="1" id="oval:gov.nist.validation.r1100_scap11_win_rhel:obj:2"> |
| 109 | <ind-def:var_ref datatype="string">oval:gov.nist.validation.r1100_scap11_win_rhel:var:2</ind-def:var_ref> |
| 110 | </ind-def:variable_object> |
| 111 | </objects> |
| 112 | <states> |
| 113 | <ind-def:variable_state version="1" id="oval:gov.nist.validation.r1100_scap11_win_rhel:ste:1"> |
| 114 | <ind-def:value datatype="string" operation="equals" var_ref="oval:gov.nist.validation.r1100_scap11_win_rhel:var:10"/> |
| 115 | </ind-def:variable_state> |
| 116 | <ind-def:variable_state version="1" id="oval:gov.nist.validation.r1100_scap11_win_rhel:ste:2"> |
| 117 | <ind-def:value datatype="string" operation="not equal">2000</ind-def:value> |
| 118 | </ind-def:variable_state> |
| 119 | <ind-def:variable_state version="1" id="oval:gov.nist.validation.r1100_scap11_win_rhel:ste:3"> |
| 120 | <ind-def:value datatype="string" operation="equals">0</ind-def:value> |
| 121 | </ind-def:variable_state> |
| 122 | <family_state id="oval:gov.nist.validation.r1100_scap11_win_rhel:ste:4" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 123 | <family datatype="string" operation="pattern match" var_ref="oval:gov.nist.validation.r1100_scap11_win_rhel:var:4" var_check="all"/> |
| 124 | </family_state> |
| 125 | </states> |
| 126 | <variables> |
| 127 | <local_variable id="oval:gov.nist.validation.r1100_scap11_win_rhel:var:1" version="2" datatype="string" comment="A sample variable"> |
| 128 | <literal_component>1</literal_component> |
| 129 | </local_variable> |
| 130 | <local_variable id="oval:gov.nist.validation.r1100_scap11_win_rhel:var:2" version="1" datatype="string" comment="A sample variable"> |
| 131 | <literal_component>2</literal_component> |
| 132 | </local_variable> |
| 133 | <local_variable id="oval:gov.nist.validation.r1100_scap11_win_rhel:var:4" version="1" datatype="string" comment="A sample variable"> |
| 134 | <literal_component>^.+$</literal_component> |
| 135 | </local_variable> |
| 136 | <external_variable id="oval:gov.nist.validation.r1100_scap11_win_rhel:var:10" version="2" comment="External variable" datatype="string"/> |
| 137 | </variables> |
| 138 | </oval_definitions> |