| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <Benchmark xmlns="http://checklists.nist.gov/xccdf/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="RHEL-6" xsi:schemaLocation="http://checklists.nist.gov/xccdf/1.1 xccdf-1.1.4.xsd" resolved="0" xml:lang="en-US"> |
| 3 | <status date="2011-12-08">draft</status> |
| 4 | <title xml:lang="en-US">Sample XCCDF using SCE test engine</title> |
| 5 | <description xml:lang="en-US">abcd</description> |
| 6 | <version>0.1</version> |
| 7 | <model system="urn:xccdf:scoring:default"/> |
| 8 | <model system="urn:xccdf:scoring:flat"/> |
| 9 | <Profile id="default"> |
| 10 | <title xml:lang="en-US">Profile For Default Installation</title> |
| 11 | <description xml:lang="en-US">abcd</description> |
| 12 | <select idref="rule-1000" selected="true"/> |
| 13 | <select idref="rule-1001" selected="true"/> |
| 14 | <select idref="rule-1002" selected="true"/> |
| 15 | <select idref="rule-1003" selected="true"/> |
| 16 | </Profile> |
| 17 | <Group id="bash-passer" hidden="false"> |
| 18 | <title xml:lang="en-US">Check in bash that always passes</title> |
| 19 | <description xml:lang="en-US">abcd</description> |
| 20 | <Rule id="rule-1000" selected="false" weight="10.000000"> |
| 21 | <title xml:lang="en-US">Always passes (bash)</title> |
| 22 | <check system="http://open-scap.org/page/SCE"> |
| 23 | <check-content-ref href="bash_passer.sh"/> |
| 24 | </check> |
| 25 | </Rule> |
| 26 | </Group> |
| 27 | <Group id="python-passer" hidden="false"> |
| 28 | <title xml:lang="en-US">Check in python that always passes</title> |
| 29 | <description xml:lang="en-US">abcd</description> |
| 30 | <Rule id="rule-1001" selected="false" weight="10.000000"> |
| 31 | <title xml:lang="en-US">Always passes (Python)</title> |
| 32 | <check system="http://open-scap.org/page/SCE"> |
| 33 | <check-content-ref href="python_passer.py"/> |
| 34 | </check> |
| 35 | </Rule> |
| 36 | </Group> |
| 37 | <Group id="python-is16" hidden="false"> |
| 38 | <title xml:lang="en-US">Check in python that passed value is 16</title> |
| 39 | <description xml:lang="en-US">abcd</description> |
| 40 | <Value id="var-1.1" type="number" operator="equals"> |
| 41 | <title>testing variable</title> |
| 42 | <description> |
| 43 | This is just to test whether passing environment variables works. |
| 44 | </description> |
| 45 | <question xml:lang="en">Select your favourite power of 2</question> |
| 46 | <value>16</value> |
| 47 | <value selector="0">0</value> |
| 48 | <value selector="1">1</value> |
| 49 | <value selector="2">2</value> |
| 50 | <value selector="4">4</value> |
| 51 | <value selector="8">8</value> |
| 52 | <value selector="16">16</value> |
| 53 | </Value> |
| 54 | <Rule id="rule-1002" selected="false" weight="10.000000"> |
| 55 | <title xml:lang="en-US">Checks that passed variable is 16 (Python)</title> |
| 56 | <check system="http://open-scap.org/page/SCE"> |
| 57 | <check-export value-id="var-1.1" export-name="passed_value" /> |
| 58 | <check-content-ref href="python_is16.py"/> |
| 59 | </check> |
| 60 | </Rule> |
| 61 | </Group> |
| 62 | <Group id="lua-passer" hidden="false"> |
| 63 | <title xml:lang="en-US">Check in lua that always passes</title> |
| 64 | <description xml:lang="en-US">abcd</description> |
| 65 | <Rule id="rule-1003" selected="false" weight="10.000000"> |
| 66 | <title xml:lang="en-US">Always passes (Lua)</title> |
| 67 | <check system="http://open-scap.org/page/SCE"> |
| 68 | <check-content-ref href="lua_passer.lua"/> |
| 69 | </check> |
| 70 | </Rule> |
| 71 | </Group> |
| 72 | </Benchmark> |