Debian Codegraph @

tests/utils/test_utils_args_xccdf_profile.xml

raw symbols SCIP
1 <Benchmark xmlns="http://checklists.nist.gov/xccdf/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="benchmark" resolved="1" xml:lang="en-US">
2 <status date="2014-06-06">draft</status>
3 <title xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">Test</title>
4 <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">test</description>
5 <version>0.1</version>
6 <model system="urn:xccdf:scoring:default"/>
7
8 <Profile id="default">
9 <title xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">Default selections</title>
10 <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">This profile contains rules based on default selections.</description>
11 <refine-value idref="value" selector="off"/>
12 </Profile>
13 <Profile id="alternative">
14 <title xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">Profile selections</title>
15 <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">This profile contains rules based on profile selections.</description>
16 <select idref="rule_1" selected="false"/>
17 <select idref="rule_2" selected="true"/>
18 <refine-value idref="value" selector="off"/>
19 </Profile>
20
21 <Group id="group">
22 <title xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">group</title>
23
24 <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">
25 description
26 </description>
27
28 <Value id="value" type="string">
29 <title xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">value_title</title>
30 <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">value_description</description>
31 <value>off_default</value>
32 <value selector="on">on_value</value>
33 <value selector="off">off_value</value>
34 </Value>
35
36 <Rule id="rule_1" selected="true" severity="low">
37 <title xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">rule_1_title</title>
38 <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">rule_1_description</description>
39 <fix system="urn:xccdf:fix:script:sh">substituted value = "<sub idref="value"/>"
40 </fix>
41 </Rule>
42 <Rule id="rule_2" selected="false" severity="low">
43 <title xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">rule_2_title</title>
44 <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">rule_2_description</description>
45 <fix system="urn:xccdf:fix:script:sh">substituted value = "<sub idref="value"/>"
46 </fix>
47 </Rule>
48 </Group>
49 </Benchmark>