| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <oval_definitions |
| 3 | xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" |
| 4 | xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" |
| 5 | xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" |
| 6 | xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" |
| 7 | xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" |
| 8 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| 9 | <generator> |
| 10 | <oval:product_name>vim</oval:product_name> |
| 11 | <oval:schema_version>5.10.1</oval:schema_version> |
| 12 | <oval:timestamp>2012-11-22T15:00:00+01:00</oval:timestamp> |
| 13 | </generator> |
| 14 | <definitions> |
| 15 | <definition class="inventory" id="oval:x:def:1" version="1"> |
| 16 | <metadata> |
| 17 | <title>Always succeed</title> |
| 18 | <reference ref_id="cpe:/o:xxx:yyy" source="CPE"/> |
| 19 | <description>Should pass on every platform</description> |
| 20 | </metadata> |
| 21 | <criteria> |
| 22 | <criterion comment="x" test_ref="oval:x:tst:1"/> |
| 23 | </criteria> |
| 24 | </definition> |
| 25 | </definitions> |
| 26 | <tests> |
| 27 | <ind-def:variable_test id="oval:x:tst:1" version="1" check="all" comment="."> |
| 28 | <ind-def:object object_ref="oval:x:obj:1"/> |
| 29 | <ind-def:state state_ref="oval:x:ste:1"/> |
| 30 | </ind-def:variable_test> |
| 31 | </tests> |
| 32 | <objects> |
| 33 | <ind-def:variable_object id="oval:x:obj:1" version="1"> |
| 34 | <ind-def:var_ref>oval:x:var:1</ind-def:var_ref> |
| 35 | </ind-def:variable_object> |
| 36 | </objects> |
| 37 | <states> |
| 38 | <ind-def:variable_state id="oval:x:ste:1" version="1"> |
| 39 | <ind-def:value operation="greater than" datatype="float">1.0</ind-def:value> |
| 40 | </ind-def:variable_state> |
| 41 | </states> |
| 42 | <variables> |
| 43 | <constant_variable id="oval:x:var:1" version="1" datatype="float" comment="."> |
| 44 | <value>4.0</value> |
| 45 | </constant_variable> |
| 46 | </variables> |
| 47 | </oval_definitions> |