| 1 | <oval_definitions 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" 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"> |
| 2 | <generator> |
| 3 | <oval:schema_version>5.11</oval:schema_version> |
| 4 | <oval:timestamp>2009-01-12T10:41:00-05:00</oval:timestamp> |
| 5 | </generator> |
| 6 | |
| 7 | <definitions> |
| 8 | <definition class="compliance" id="oval:test-pass:def:1" version="1"> |
| 9 | <metadata> |
| 10 | <title>PASS</title> |
| 11 | <description>pass</description> |
| 12 | </metadata> |
| 13 | <criteria> |
| 14 | <criterion comment="PASS test" test_ref="oval:x:tst:1"/> |
| 15 | </criteria> |
| 16 | </definition> |
| 17 | <definition class="compliance" id="oval:test-fail:def:2" version="1"> |
| 18 | <metadata> |
| 19 | <title>FAIL</title> |
| 20 | <description>conditional fail</description> |
| 21 | </metadata> |
| 22 | <criteria> |
| 23 | <criterion comment="FAIL test" test_ref="oval:x:tst:2"/> |
| 24 | </criteria> |
| 25 | </definition> |
| 26 | </definitions> |
| 27 | |
| 28 | <tests> |
| 29 | <variable_test id="oval:x:tst:1" check="all" comment="always pass" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 30 | <object object_ref="oval:x:obj:1"/> |
| 31 | </variable_test> |
| 32 | |
| 33 | <variable_test id="oval:x:tst:2" check="all" comment="always fail" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 34 | <object object_ref="oval:x:obj:1"/> |
| 35 | <state state_ref="oval:x:ste:1"/> |
| 36 | </variable_test> |
| 37 | </tests> |
| 38 | |
| 39 | <objects> |
| 40 | <variable_object id="oval:x:obj:1" version="1" comment="x" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 41 | <var_ref>oval:x:var:1</var_ref> |
| 42 | </variable_object> |
| 43 | </objects> |
| 44 | |
| 45 | <states> |
| 46 | <variable_state id="oval:x:ste:1" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 47 | <value datatype="int" operation="equals" var_ref="oval:ssg:var:1" /> |
| 48 | </variable_state> |
| 49 | </states> |
| 50 | |
| 51 | <variables> |
| 52 | <constant_variable id="oval:x:var:1" version="1" comment="x" datatype="int"> |
| 53 | <value>100</value> |
| 54 | </constant_variable> |
| 55 | <external_variable comment="default1" datatype="int" id="oval:ssg:var:1" version="1"/> |
| 56 | </variables> |
| 57 | |
| 58 | </oval_definitions> |