| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <oval_definitions xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"> |
| 3 | <generator> |
| 4 | <oval:schema_version>5.10</oval:schema_version> |
| 5 | <oval:timestamp>2015-12-12T10:41:00+01:00</oval:timestamp> |
| 6 | </generator> |
| 7 | <definitions> |
| 8 | <definition id="oval:x:def:282" version="3" class="miscellaneous"> |
| 9 | <metadata> |
| 10 | <title>Test presence /etc/passwd</title> |
| 11 | <description>Test presence /etc/passwd</description> |
| 12 | </metadata> |
| 13 | <criteria> |
| 14 | <criterion comment="Test that /etc/passwd exists." test_ref="oval:x:tst:1288"/> |
| 15 | </criteria> |
| 16 | </definition> |
| 17 | </definitions> |
| 18 | <tests> |
| 19 | <file_test id="oval:x:tst:1288" version="1" comment="Test that /etc/passwd is collected if filename in object was empty." check_existence="at_least_one_exists" check="only one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"> |
| 20 | <object object_ref="oval:x:obj:512"/> |
| 21 | <state state_ref="oval:x:ste:1"/> |
| 22 | </file_test> |
| 23 | </tests> |
| 24 | <objects> |
| 25 | <file_object id="oval:x:obj:512" version="1" comment="File /etc/passwd" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"> |
| 26 | <path operation="pattern match">^/etc$</path> |
| 27 | <filename operation="pattern match">^passwd$</filename> |
| 28 | </file_object> |
| 29 | </objects> |
| 30 | </oval_definitions> |