| 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 | <plain-text id="my_filename">test_file</plain-text> |
| 5 | <version>1.0</version> |
| 6 | <Rule selected="true" id="xccdf_moc.elpmaxe.www_rule_1"> |
| 7 | <title>Ensure that file exists and it is not executable</title> |
| 8 | <fix system="urn:xccdf:fix:script:sh"> |
| 9 | touch <sub idref="my_filename"/> |
| 10 | chmod a-x <sub idref="my_filename"/> |
| 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> |