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