Blob Blame History Raw
<?xml version="1.0" encoding="utf-8"?>
<oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
      <generator>
        <oval:product_name>vim, emacs</oval:product_name>
        <oval:schema_version>5.5</oval:schema_version>
        <oval:timestamp>2010-08-30T12:00:00-04:00</oval:timestamp>
      </generator>
      <definitions>
        <definition class="compliance" id="oval:org.open-scap.f14:def:20000" version="1">
          <metadata>
            <title>Ensure that /root/must_exist.txt file exists.</title>
            <reference ref_id="TBD" source="CCE"/>
            <description>
              Testing check.
            </description>
          </metadata>
          <criteria>
            <criterion comment="Check /root/must_exist.txt file exists" test_ref="oval:org.open-scap.f14:tst:20000"/>
          </criteria>
        </definition>
      </definitions>
      <tests>
        <unix-def:file_test check="all" check_existence="at_least_one_exists" comment="Check /root/must_exist.txt file exists" id="oval:org.open-scap.f14:tst:20000" version="1">
          <unix-def:object object_ref="oval:org.open-scap.f14:obj:20000"/>
        </unix-def:file_test>
      </tests>
      <objects>
        <unix-def:file_object comment="Check existance of /root/must_exist.txt" id="oval:org.open-scap.f14:obj:20000" version="1">
          <unix-def:path operation="pattern match">^/root$</unix-def:path>
          <unix-def:filename>must_exist.txt</unix-def:filename>
        </unix-def:file_object>
      </objects>
    </oval_definitions>