|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<oval_definitions 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" 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"> |
| 3 | + <generator> |
| 4 | + <oval:schema_version>5.11.1</oval:schema_version> |
| 5 | + <oval:timestamp>2009-05-21T11:46:00-04:00</oval:timestamp> |
| 6 | + </generator> |
| 7 | + <definitions> |
| 8 | + <definition class="compliance" version="1" id="oval:x:def:1"> |
| 9 | + <metadata><title/><description/></metadata> |
| 10 | + <criteria operator="AND"> |
| 11 | + <criterion test_ref="oval:x:tst:1"/> |
| 12 | + </criteria> |
| 13 | + </definition> |
| 14 | + <definition class="compliance" version="1" id="oval:x:def:2"> |
| 15 | + <metadata><title/><description/></metadata> |
| 16 | + <criteria operator="AND"> |
| 17 | + <criterion test_ref="oval:x:tst:2"/> |
| 18 | + </criteria> |
| 19 | + </definition> |
| 20 | + <definition class="compliance" version="1" id="oval:x:def:3"> |
| 21 | + <metadata><title/><description/></metadata> |
| 22 | + <criteria operator="AND"> |
| 23 | + <criterion test_ref="oval:x:tst:3"/> |
| 24 | + </criteria> |
| 25 | + </definition> |
| 26 | + <definition class="compliance" version="1" id="oval:x:def:4"> |
| 27 | + <metadata><title/><description/></metadata> |
| 28 | + <criteria operator="AND"> |
| 29 | + <criterion test_ref="oval:x:tst:4"/> |
| 30 | + </criteria> |
| 31 | + </definition> |
| 32 | + </definitions> |
| 33 | + <tests> |
| 34 | + <file_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" check_existence="at_least_one_exists" version="1" id="oval:x:tst:1" check="all" comment="a file"> |
| 35 | + <object object_ref="oval:x:obj:1"/> |
| 36 | + </file_test> |
| 37 | + <file_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" check_existence="none_exist" version="1" id="oval:x:tst:2" check="all" comment="a file"> |
| 38 | + <object object_ref="oval:x:obj:2"/> |
| 39 | + </file_test> |
| 40 | + <textfilecontent54_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" check_existence="at_least_one_exists" version="1" id="oval:x:tst:3" check="all" comment="a file"> |
| 41 | + <object object_ref="oval:x:obj:3"/> |
| 42 | + </textfilecontent54_test> |
| 43 | + <textfilecontent54_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" check_existence="none_exist" version="1" id="oval:x:tst:4" check="all" comment="a file"> |
| 44 | + <object object_ref="oval:x:obj:4"/> |
| 45 | + </textfilecontent54_test> |
| 46 | + </tests> |
| 47 | + <objects> |
| 48 | + <file_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" version="1" id="oval:x:obj:1"> |
| 49 | + <filepath>/tmp/oscap_test_skip_paths/a/x</filepath> |
| 50 | + </file_object> |
| 51 | + <file_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" version="1" id="oval:x:obj:2"> |
| 52 | + <filepath>/tmp/oscap_test_skip_paths/b/y</filepath> |
| 53 | + </file_object> |
| 54 | + <textfilecontent54_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" version="1" id="oval:x:obj:3"> |
| 55 | + <filepath>/tmp/oscap_test_skip_paths/a/x</filepath> |
| 56 | + <pattern>^.*$</pattern> |
| 57 | + <instance datatype="int" operation="greater than or equal">1</instance> |
| 58 | + </textfilecontent54_object> |
| 59 | + <textfilecontent54_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" version="1" id="oval:x:obj:4"> |
| 60 | + <filepath>/tmp/oscap_test_skip_paths/b/y</filepath> |
| 61 | + <pattern>^.*$</pattern> |
| 62 | + <instance datatype="int" operation="greater than or equal">1</instance> |
| 63 | + </textfilecontent54_object> |
| 64 | + </objects> |
| 65 | +</oval_definitions> |
0 commit comments