| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <oval_definitions xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd"> |
| 3 | <generator> |
| 4 | <oval:product_name>cpe:/a:open-scap:oscap</oval:product_name> |
| 5 | <oval:schema_version>5.8</oval:schema_version> |
| 6 | <oval:timestamp>2013-12-04T11:55:04</oval:timestamp> |
| 7 | </generator> |
| 8 | <definitions> |
| 9 | <definition id="oval:x:def:1" version="1" class="compliance"> |
| 10 | <metadata> |
| 11 | <title>Subset: State and system contains the same address. We expect 'true' result.</title> |
| 12 | <description>.</description> |
| 13 | </metadata> |
| 14 | <criteria> |
| 15 | <criterion test_ref="oval:x:tst:1" comment="."/> |
| 16 | </criteria> |
| 17 | </definition> |
| 18 | <definition id="oval:x:def:2" version="1" class="compliance"> |
| 19 | <metadata> |
| 20 | <title>Subset: Set of ipv6 addresses defined by state has greater cardinality. We expect 'true' result.</title> |
| 21 | <description>.</description> |
| 22 | </metadata> |
| 23 | <criteria> |
| 24 | <criterion test_ref="oval:x:tst:2" comment="."/> |
| 25 | </criteria> |
| 26 | </definition> |
| 27 | <definition id="oval:x:def:3" version="1" class="compliance"> |
| 28 | <metadata> |
| 29 | <title>Subset: Set of ipv6 addresses defined by system has greater cardinality. We expect 'false' result.</title> |
| 30 | <description>.</description> |
| 31 | </metadata> |
| 32 | <criteria> |
| 33 | <criterion test_ref="oval:x:tst:3" comment="."/> |
| 34 | </criteria> |
| 35 | </definition> |
| 36 | <definition id="oval:x:def:4" version="1" class="compliance"> |
| 37 | <metadata> |
| 38 | <title>Subset: Different addresses with different prefix length. We expect 'false' result.</title> |
| 39 | <description>.</description> |
| 40 | </metadata> |
| 41 | <criteria> |
| 42 | <criterion test_ref="oval:x:tst:4" comment="."/> |
| 43 | </criteria> |
| 44 | </definition> |
| 45 | <definition id="oval:x:def:5" version="1" class="compliance"> |
| 46 | <metadata> |
| 47 | <title>Subset: Compare different ipv6 addresses. The address on system has shorter prefix length (32); |
| 48 | both addresses match on first 32b, but differ beyond. We expect 'false' result.</title> |
| 49 | <description>.</description> |
| 50 | </metadata> |
| 51 | <criteria> |
| 52 | <criterion test_ref="oval:x:tst:5" comment="."/> |
| 53 | </criteria> |
| 54 | </definition> |
| 55 | <definition id="oval:x:def:6" version="1" class="compliance"> |
| 56 | <metadata> |
| 57 | <title>Subset: Compare different ipv6 addresses. The address in state has shorter prefix length (32); |
| 58 | both addresses match on first 32b. Thus syschar is 'subset of' state. We expect 'true' result.</title> |
| 59 | <description>.</description> |
| 60 | </metadata> |
| 61 | <criteria> |
| 62 | <criterion test_ref="oval:x:tst:6" comment="."/> |
| 63 | </criteria> |
| 64 | </definition> |
| 65 | </definitions> |
| 66 | <tests> |
| 67 | <ind-def:variable_test id="oval:x:tst:1" version="1" check="all" comment="."> |
| 68 | <ind-def:object object_ref="oval:x:obj:1"/> |
| 69 | <ind-def:state state_ref="oval:x:ste:1"/> |
| 70 | </ind-def:variable_test> |
| 71 | <ind-def:variable_test id="oval:x:tst:2" version="1" check="all" comment="."> |
| 72 | <ind-def:object object_ref="oval:x:obj:1"/> |
| 73 | <ind-def:state state_ref="oval:x:ste:2"/> |
| 74 | </ind-def:variable_test> |
| 75 | <ind-def:variable_test id="oval:x:tst:3" version="1" check="all" comment="."> |
| 76 | <ind-def:object object_ref="oval:x:obj:2"/> |
| 77 | <ind-def:state state_ref="oval:x:ste:1"/> |
| 78 | </ind-def:variable_test> |
| 79 | <ind-def:variable_test id="oval:x:tst:4" version="1" check="all" comment="."> |
| 80 | <ind-def:object object_ref="oval:x:obj:3"/> |
| 81 | <ind-def:state state_ref="oval:x:ste:3"/> |
| 82 | </ind-def:variable_test> |
| 83 | <ind-def:variable_test id="oval:x:tst:5" version="1" check="all" comment="."> |
| 84 | <ind-def:object object_ref="oval:x:obj:4"/> |
| 85 | <ind-def:state state_ref="oval:x:ste:3"/> |
| 86 | </ind-def:variable_test> |
| 87 | <ind-def:variable_test id="oval:x:tst:6" version="1" check="all" comment="."> |
| 88 | <ind-def:object object_ref="oval:x:obj:5"/> |
| 89 | <ind-def:state state_ref="oval:x:ste:4"/> |
| 90 | </ind-def:variable_test> |
| 91 | </tests> |
| 92 | <objects> |
| 93 | <ind-def:variable_object id="oval:x:obj:1" version="1"> |
| 94 | <ind-def:var_ref>oval:x:var:1</ind-def:var_ref> |
| 95 | </ind-def:variable_object> |
| 96 | <ind-def:variable_object id="oval:x:obj:2" version="1"> |
| 97 | <ind-def:var_ref>oval:x:var:2</ind-def:var_ref> |
| 98 | </ind-def:variable_object> |
| 99 | <ind-def:variable_object id="oval:x:obj:3" version="1"> |
| 100 | <ind-def:var_ref>oval:x:var:3</ind-def:var_ref> |
| 101 | </ind-def:variable_object> |
| 102 | <ind-def:variable_object id="oval:x:obj:4" version="1"> |
| 103 | <ind-def:var_ref>oval:x:var:4</ind-def:var_ref> |
| 104 | </ind-def:variable_object> |
| 105 | <ind-def:variable_object id="oval:x:obj:5" version="1"> |
| 106 | <ind-def:var_ref>oval:x:var:5</ind-def:var_ref> |
| 107 | </ind-def:variable_object> |
| 108 | </objects> |
| 109 | <states> |
| 110 | <ind-def:variable_state id="oval:x:ste:1" version="1"> |
| 111 | <ind-def:value operation="subset of" datatype="ipv6_address">700:1a7e:70:face:b055::f1ee:f1ee</ind-def:value> |
| 112 | </ind-def:variable_state> |
| 113 | <ind-def:variable_state id="oval:x:ste:2" version="1"> |
| 114 | <ind-def:value operation="subset of" datatype="ipv6_address">700:1a7e:70:face:b055::f1ee:f100/120</ind-def:value> |
| 115 | </ind-def:variable_state> |
| 116 | <ind-def:variable_state id="oval:x:ste:3" version="1"> |
| 117 | <ind-def:value operation="subset of" datatype="ipv6_address">700:1a7e:70:face:b055::f1ee:0000/120</ind-def:value> |
| 118 | </ind-def:variable_state> |
| 119 | <ind-def:variable_state id="oval:x:ste:4" version="1"> |
| 120 | <ind-def:value operation="subset of" datatype="ipv6_address">700:1a7e:70:face:b055::f1ee:0000/32</ind-def:value> |
| 121 | </ind-def:variable_state> |
| 122 | </states> |
| 123 | <variables> |
| 124 | <constant_variable id="oval:x:var:1" version="1" datatype="ipv6_address" comment="."> |
| 125 | <value>700:1a7e:70:face:b055::f1ee:f1ee</value> |
| 126 | </constant_variable> |
| 127 | <constant_variable id="oval:x:var:2" version="1" datatype="ipv6_address" comment="."> |
| 128 | <value>700:1a7e:70:face:b055::f1ee:f1ee/64</value> |
| 129 | </constant_variable> |
| 130 | <constant_variable id="oval:x:var:3" version="1" datatype="ipv6_address" comment="."> |
| 131 | <value>700:1a7e::1a57:b007:1057:a11:da7a</value> |
| 132 | </constant_variable> |
| 133 | <constant_variable id="oval:x:var:4" version="1" datatype="ipv6_address" comment="."> |
| 134 | <value>700:1a7e::1a57:b007:1057:a11:da7a/32</value> |
| 135 | </constant_variable> |
| 136 | <constant_variable id="oval:x:var:5" version="1" datatype="ipv6_address" comment="."> |
| 137 | <value>700:1a7e::1a57:b007:1057:a11:da7a/120</value> |
| 138 | </constant_variable> |
| 139 | </variables> |
| 140 | </oval_definitions> |