<?xml version="1.0" encoding="UTF-8"?>
<Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2" id="xccdf_moc.elpmaxe.www_benchmark_test">
  <status>accepted</status>
  <version>1.0</version>
  <Rule selected="true" id="xccdf_moc.elpmaxe.www_rule_1">
    <title>Ensure that file exists and it is not executable</title>
    <fix system="urn:xccdf:fix:script:python">
import os
def touch(fname, times=None):
    if not os.path.exists(fname):
	open(fname, 'w').close()

touch('test_file')
    </fix>
    <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
      <check-content-ref href="test_remediation_simple.oval.xml" name="oval:moc.elpmaxe.www:def:1"/>
    </check>
  </Rule>
  <TestResult id="xccdf_org.open-scap_testresult_default-profile" start-time="2013-02-27T14:54:43" end-time="2013-02-27T14:54:44">
    <title>OSCAP Scan Result</title>
    <target>x.x.example.com</target>
    <target-address>127.0.0.1</target-address>
    <target-address>::1</target-address>
    <target-facts>
      <fact name="urn:xccdf:fact:ethernet:MAC" type="string">00:00:00:00:00:00</fact>
    </target-facts>
    <rule-result idref="xccdf_moc.elpmaxe.www_rule_1" time="2013-02-27T14:54:44" weight="1.000000">
      <result>fail</result>
      <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
        <check-content-ref name="oval:moc.elpmaxe.www:def:1" href="test_remediation_simple.oval.xml"/>
      </check>
    </rule-result>
    <score system="urn:xccdf:scoring:default" maximum="100.000000">0.000000</score>
  </TestResult>
</Benchmark>
