| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <oval_definitions xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" |
| 3 | xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" |
| 4 | xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" |
| 5 | xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" |
| 6 | xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" |
| 7 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 8 | xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd |
| 9 | http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd |
| 10 | http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd |
| 11 | http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd |
| 12 | http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd"> |
| 13 | <generator> |
| 14 | <oval:product_name>Text Editors</oval:product_name> |
| 15 | <oval:schema_version>5.8</oval:schema_version> |
| 16 | <oval:timestamp>2010-06-08T12:00:00-04:00</oval:timestamp> |
| 17 | </generator> |
| 18 | <definitions> |
| 19 | <definition class="compliance" id="oval:moc.elpmaxe.www:def:1" version="1"> |
| 20 | <metadata><title>PASS</title><description>Bla.</description></metadata> |
| 21 | <criteria><criterion test_ref="oval:moc.elpmaxe.www:tst:1" comment="Is not executable"/></criteria> |
| 22 | </definition> |
| 23 | <definition class="vulnerability" id="oval:moc.elpmaxe.www:def:2" version="1"> |
| 24 | <metadata><title>FAIL</title><description>Bla.</description></metadata> |
| 25 | <criteria><criterion test_ref="oval:moc.elpmaxe.www:tst:2" comment="Is executable"/></criteria> |
| 26 | </definition> |
| 27 | <definition class="inventory" id="oval:moc.elpmaxe.www:def:3" version="1"> |
| 28 | <metadata><title>PASS</title><description>Bla.</description></metadata> |
| 29 | <criteria><criterion test_ref="oval:moc.elpmaxe.www:tst:1" comment="Is not executable"/></criteria> |
| 30 | </definition> |
| 31 | <definition class="patch" id="oval:moc.elpmaxe.www:def:4" version="1"> |
| 32 | <metadata><title>FAIL</title><description>Bla.</description></metadata> |
| 33 | <criteria><criterion test_ref="oval:moc.elpmaxe.www:tst:2" comment="Is executable"/></criteria> |
| 34 | </definition> |
| 35 | </definitions> |
| 36 | <tests> |
| 37 | <unix-def:file_test check_existence="all_exist" id="oval:moc.elpmaxe.www:tst:1" version="1" check="all" comment="Testing permissions on ./not_executable"> |
| 38 | <unix-def:object object_ref="oval:moc.elpmaxe.www:obj:1"/> |
| 39 | <unix-def:state state_ref="oval:moc.elpmaxe.www:ste:1"/> |
| 40 | </unix-def:file_test> |
| 41 | <unix-def:file_test check_existence="all_exist" id="oval:moc.elpmaxe.www:tst:2" version="1" check="all" comment="Testing permissions on ./not_executable"> |
| 42 | <unix-def:object object_ref="oval:moc.elpmaxe.www:obj:1"/> |
| 43 | <unix-def:state state_ref="oval:moc.elpmaxe.www:ste:2"/> |
| 44 | </unix-def:file_test> |
| 45 | </tests> |
| 46 | <objects> |
| 47 | <unix-def:file_object id="oval:moc.elpmaxe.www:obj:1" version="1" comment="not_executable"> |
| 48 | <unix-def:path>./</unix-def:path> |
| 49 | <unix-def:filename>not_executable</unix-def:filename> |
| 50 | </unix-def:file_object> |
| 51 | </objects> |
| 52 | <states> |
| 53 | <unix-def:file_state id="oval:moc.elpmaxe.www:ste:1" version="1"> |
| 54 | <unix-def:oexec datatype="boolean">false</unix-def:oexec> |
| 55 | </unix-def:file_state> |
| 56 | <unix-def:file_state id="oval:moc.elpmaxe.www:ste:2" version="1"> |
| 57 | <unix-def:oexec datatype="boolean">true</unix-def:oexec> |
| 58 | </unix-def:file_state> |
| 59 | </states> |
| 60 | </oval_definitions> |