| 1 | <?xml version="1.0"?> |
| 2 | <Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="xccdf_com.example.www_benchmark_dummy" xsi:schemaLocation="http://checklists.nist.gov/xccdf/1.1 xccdf-1.1.4.xsd" resolved="false" xml:lang="en-US"> |
| 3 | <status>accepted</status> |
| 4 | <version>1.0</version> |
| 5 | |
| 6 | <Profile id="xccdf_com.example.www_profile_baseline1"> |
| 7 | <title>Baseline Testing Profile 1</title> |
| 8 | <description>This profile is for testing. This profile selects both rules.</description> |
| 9 | <select idref="xccdf_com.example.www_rule_first" selected="true"/> |
| 10 | <select idref="xccdf_com.example.www_rule_second" selected="true"/> |
| 11 | </Profile> |
| 12 | <Profile id="xccdf_com.example.www_profile_baseline2"> |
| 13 | <title>Baseline Testing Profile 2</title> |
| 14 | <description>This profile is for testing. This profile selects only the second rule.</description> |
| 15 | <select idref="xccdf_com.example.www_rule_first" selected="false"/> |
| 16 | <select idref="xccdf_com.example.www_rule_second" selected="true"/> |
| 17 | </Profile> |
| 18 | |
| 19 | <Rule selected="false" id="xccdf_com.example.www_rule_first"> |
| 20 | <title>The first rule -- always fails</title> |
| 21 | <fix id="fix_for_failing_rule" system="urn:xccdf:fix:script:sh">echo "Fix the first rule"</fix> |
| 22 | <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 23 | <check-content-ref href="baseline.oval.xml" name="oval:x:def:1"/> |
| 24 | </check> |
| 25 | </Rule> |
| 26 | <Rule selected="false" id="xccdf_com.example.www_rule_second"> |
| 27 | <title>The second rule -- always passes</title> |
| 28 | <fix id="fix_for_failing_rule" system="urn:xccdf:fix:script:sh">echo "Fix the second rule"</fix> |
| 29 | <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 30 | <check-content-ref href="baseline.oval.xml" name="oval:x:def:2"/> |
| 31 | </check> |
| 32 | </Rule> |
| 33 | </Benchmark> |