| 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" xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux"> |
| 3 | <generator> |
| 4 | <oval:schema_version>5.11.1</oval:schema_version> |
| 5 | <oval:timestamp>2015-01-12T10:41:00-05:00</oval:timestamp> |
| 6 | </generator> |
| 7 | <definitions> |
| 8 | <definition id="oval:x:def:1" version="1" class="miscellaneous"> |
| 9 | <metadata> |
| 10 | <title>Test new rpmverifyfile_object behaviors added in OVAL 5.11.1.</title> |
| 11 | <description>Evaluate to ...</description> |
| 12 | </metadata> |
| 13 | <criteria> |
| 14 | <criterion comment="Test that all files are from /etc directory." test_ref="oval:x:tst:1"/> |
| 15 | </criteria> |
| 16 | </definition> |
| 17 | </definitions> |
| 18 | |
| 19 | <tests> |
| 20 | <lin-def:rpmverifyfile_test id="oval:x:tst:1" version="1" comment="Test" check="all"> |
| 21 | <lin-def:object object_ref="oval:x:obj:1"/> |
| 22 | </lin-def:rpmverifyfile_test> |
| 23 | </tests> |
| 24 | |
| 25 | <objects> |
| 26 | <lin-def:rpmverifyfile_object id="oval:x:obj:1" version="1" comment="Object"> |
| 27 | <lin-def:behaviors nolinkto="true" nosize="true" nouser="true" nogroup="true" nomtime="true" nomode="true" nordev="true" noghostfiles="true" nofiledigest="true" nocaps="true"/> |
| 28 | <lin-def:name operation="pattern match"/> |
| 29 | <lin-def:epoch operation="pattern match"/> |
| 30 | <lin-def:version operation="pattern match"/> |
| 31 | <lin-def:release operation="pattern match"/> |
| 32 | <lin-def:arch operation="pattern match"/> |
| 33 | <lin-def:filepath>/usr/bin/true</lin-def:filepath> |
| 34 | </lin-def:rpmverifyfile_object> |
| 35 | </objects> |
| 36 | |
| 37 | </oval_definitions> |