| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="xccdf_moc.elpmaxe.www_benchmark_test" resolved="1"> |
| 3 | <status>accepted</status> |
| 4 | <version>1.0</version> |
| 5 | <model system="urn:xccdf:scoring:default"/> |
| 6 | <Rule id="xccdf_moc.elpmaxe.www_rule_1" selected="true"> |
| 7 | <title>Ensure that file exists and it is not executable</title> |
| 8 | <fix xmlns:xhtml="http://www.w3.org/1999/xhtml" system="urn:xccdf:fix:script:sh" platform="cpe:/o:example:applicable:5"> |
| 9 | touch test_file |
| 10 | chmod a-x test_file |
| 11 | </fix> |
| 12 | <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 13 | <check-content-ref name="oval:moc.elpmaxe.www:def:1" href="../unittests/test_remediation_simple.oval.xml"/> |
| 14 | </check> |
| 15 | </Rule> |
| 16 | <TestResult id="xccdf_org.open-scap_testresult_default-profile" start-time="2013-02-27T14:54:43" end-time="2013-02-27T14:54:44"> |
| 17 | <title>OSCAP Scan Result</title> |
| 18 | <target>x.x.example.com</target> |
| 19 | <target-address>127.0.0.1</target-address> |
| 20 | <target-address>0:0:0:0:0:0:0:1</target-address> |
| 21 | <target-facts> |
| 22 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">00:00:00:00:00:00</fact> |
| 23 | </target-facts> |
| 24 | <rule-result idref="xccdf_moc.elpmaxe.www_rule_1" time="2013-02-27T14:54:44" weight="1.000000"> |
| 25 | <result>fail</result> |
| 26 | <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 27 | <check-content-ref name="oval:moc.elpmaxe.www:def:1" href="../unittests/test_remediation_simple.oval.xml"/> |
| 28 | </check> |
| 29 | </rule-result> |
| 30 | <score system="urn:xccdf:scoring:default" maximum="100.000000">0.000000</score> |
| 31 | </TestResult> |
| 32 | </Benchmark> |