| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2" id="xccdf_moc.elpmaxe.www_benchmark_test"> |
| 3 |
<status>accepted</status> |
| 4 |
<version>1.0</version> |
| 5 |
<Rule selected="true" id="xccdf_moc.elpmaxe.www_rule_1"> |
| 6 |
<title>Ensure that file exists and it is not executable</title> |
| 7 |
<fix system="urn:xccdf:fix:script:sh"> |
| 8 |
|
| 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 href="test_remediation_simple.oval.xml" name="oval:moc.elpmaxe.www:def:1"/> |
| 14 |
</check> |
| 15 |
</Rule> |
| 16 |
</Benchmark> |