File: test_utils_args_xccdf_profile.xml

package info (click to toggle)
openscap 1.4.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 125,116 kB
  • sloc: xml: 527,136; ansic: 91,867; sh: 19,831; python: 2,531; perl: 444; makefile: 49
file content (49 lines) | stat: -rw-r--r-- 2,753 bytes parent folder | download | duplicates (7)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<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">
    <status date="2014-06-06">draft</status>
    <title xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">Test</title>
    <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">test</description>
    <version>0.1</version>
    <model system="urn:xccdf:scoring:default"/>

    <Profile id="default">
        <title xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">Default selections</title>
        <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">This profile contains rules based on default selections.</description>
        <refine-value idref="value" selector="off"/>
    </Profile>
    <Profile id="alternative">
        <title xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">Profile selections</title>
        <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">This profile contains rules based on profile selections.</description>
        <select idref="rule_1" selected="false"/>
        <select idref="rule_2" selected="true"/>
        <refine-value idref="value" selector="off"/>
    </Profile>

    <Group id="group">
        <title xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">group</title>

        <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">
            description
        </description>

        <Value id="value" type="string">
            <title xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">value_title</title>
            <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">value_description</description>
            <value>off_default</value>
            <value selector="on">on_value</value>
            <value selector="off">off_value</value>
        </Value>

        <Rule id="rule_1" selected="true" severity="low">
            <title xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">rule_1_title</title>
            <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">rule_1_description</description>
            <fix system="urn:xccdf:fix:script:sh">substituted value = "<sub idref="value"/>"
            </fix>
        </Rule>
        <Rule id="rule_2" selected="false" severity="low">
            <title xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">rule_2_title</title>
            <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">rule_2_description</description>
            <fix system="urn:xccdf:fix:script:sh">substituted value = "<sub idref="value"/>"
            </fix>
        </Rule>
    </Group>
</Benchmark>