| 1 | <?xml version="1.0"?> |
| 2 | <oval_definitions xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" 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:schema_version>5.10.1</oval:schema_version> |
| 5 | <oval:timestamp>0001-01-01T00:00:00+00:00</oval:timestamp> |
| 6 | </generator> |
| 7 | |
| 8 | <definitions> |
| 9 | <definition class="compliance" version="1" id="oval:x:def:1"> |
| 10 | <metadata> |
| 11 | <title>x</title> |
| 12 | <description>x</description> |
| 13 | <affected family="unix"> |
| 14 | <platform>x</platform> |
| 15 | </affected> |
| 16 | </metadata> |
| 17 | <criteria comment="x" operator="OR"> |
| 18 | <criterion test_ref="oval:x:tst:1" comment="always pass"/> |
| 19 | <criterion test_ref="oval:x:tst:2" comment="always fail"/> |
| 20 | </criteria> |
| 21 | </definition> |
| 22 | <definition class="compliance" version="1" id="oval:x:def:2"> |
| 23 | <metadata> |
| 24 | <title>x</title> |
| 25 | <description>x</description> |
| 26 | <affected family="unix"> |
| 27 | <platform>x</platform> |
| 28 | </affected> |
| 29 | </metadata> |
| 30 | <criteria comment="x" operator="AND"> |
| 31 | <criterion test_ref="oval:x:tst:1" comment="always pass"/> |
| 32 | <criterion test_ref="oval:x:tst:2" comment="always fail"/> |
| 33 | </criteria> |
| 34 | </definition> |
| 35 | </definitions> |
| 36 | |
| 37 | <tests> |
| 38 | <variable_test id="oval:x:tst:1" check="all" comment="always pass" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 39 | <object object_ref="oval:x:obj:1"/> |
| 40 | </variable_test> |
| 41 | |
| 42 | <variable_test id="oval:x:tst:2" check="all" check_existence="none_exist" comment="always fail" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 43 | <object object_ref="oval:x:obj:1"/> |
| 44 | </variable_test> |
| 45 | </tests> |
| 46 | |
| 47 | <objects> |
| 48 | <variable_object id="oval:x:obj:1" version="1" comment="x" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 49 | <var_ref>oval:x:var:1</var_ref> |
| 50 | </variable_object> |
| 51 | </objects> |
| 52 | |
| 53 | <variables> |
| 54 | <constant_variable id="oval:x:var:1" version="1" comment="x" datatype="string"> |
| 55 | <value>x</value> |
| 56 | </constant_variable> |
| 57 | </variables> |
| 58 | </oval_definitions> |