Debian Codegraph @

tests/API/XCCDF/unittests/test_remediation_subs_value_refine_value.xccdf.xml

raw symbols SCIP
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 <Profile id="xccdf_moc.elpmaxe.www_profile_1">
6 <title>This is cumpulsory title.</title>
7 <refine-value idref="xccdf_moc.elpmaxe.www_value_1" selector="my_file"/>
8 </Profile>
9 <Value id="xccdf_moc.elpmaxe.www_value_1" type="number" operator="equals" interactive="0">
10 <value>delme.xblah.txt</value>
11 <value selector="nothing">delme.txt</value>
12 <value selector="my_file">test_file</value>
13 <value selector="hi">delme.txt</value>
14 </Value>
15 <Rule selected="true" id="xccdf_moc.elpmaxe.www_rule_1">
16 <title>Ensure that file exists and it is not executable</title>
17 <fix system="urn:xccdf:fix:script:sh">
18 touch <sub idref="xccdf_moc.elpmaxe.www_value_1"/>
19 chmod a-x <sub idref="xccdf_moc.elpmaxe.www_value_1"/>
20 </fix>
21 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
22 <check-content-ref href="test_remediation_simple.oval.xml" name="oval:moc.elpmaxe.www:def:1"/>
23 </check>
24 </Rule>
25 </Benchmark>