| 1 | <Benchmark xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns="http://checklists.nist.gov/xccdf/1.1" id="RHEL-6" xsi:schemaLocation="http://checklists.nist.gov/xccdf/1.1 xccdf-1.1.4.xsd" resolved="false" xml:lang="en-US"> |
| 2 | <status date="2012-11-06+01:00">draft</status> |
| 3 | <title>Title</title> |
| 4 | <description>Description.</description> |
| 5 | <notice id="terms_of_use">Notice.</notice> |
| 6 | <front-matter>test</front-matter> |
| 7 | <rear-matter>bla bla</rear-matter> |
| 8 | <reference href="TODO::INSERT"/> |
| 9 | <version>0.1</version> |
| 10 | |
| 11 | <Profile id="test"> |
| 12 | <title>test</title> |
| 13 | <description>This profile is for testing.</description> |
| 14 | <select idref="ssh_server_disabled" selected="true"/> |
| 15 | <refine-value idref="val1" selector="5_minutes"/> |
| 16 | <refine-value idref="val3" selector="10_minutes"/> |
| 17 | </Profile> |
| 18 | |
| 19 | <Profile id="test2" extends="test"> |
| 20 | <title>test</title> |
| 21 | <description>This profile is for testing.</description> |
| 22 | <select idref="ssh_server_disabled" selected="true"/> |
| 23 | <refine-value idref="val1" selector="10_minutes"/> |
| 24 | <refine-value idref="val2" selector="5_minutes"/> |
| 25 | </Profile> |
| 26 | |
| 27 | <Group id="ssh"> |
| 28 | <title>SSH Server</title> |
| 29 | <description>The SSH protocol is recommended.</description> |
| 30 | <Value id="val1" type="number" operator="equals" interactive="0"> |
| 31 | <title>SSH session Idle time</title> |
| 32 | <description>Specify duration of allowed idle time.</description> |
| 33 | <value selector="5_minutes">300</value> |
| 34 | <value selector="">100</value> |
| 35 | <value selector="10_minutes">600</value> |
| 36 | </Value> |
| 37 | <Value id="val2" type="number" operator="equals" interactive="0"> |
| 38 | <title>SSH session Idle time</title> |
| 39 | <description>Specify duration of allowed idle time.</description> |
| 40 | <value selector="5_minutes">300</value> |
| 41 | <value selector="10_minutes">600</value> |
| 42 | <value>100</value> |
| 43 | </Value> |
| 44 | <Value id="val3" type="number" operator="equals" interactive="0"> |
| 45 | <title>SSH session Idle time</title> |
| 46 | <description>Specify duration of allowed idle time.</description> |
| 47 | <value selector="100_seconds">100</value> |
| 48 | <value selector="5_minutes">300</value> |
| 49 | <value selector="10_minutes">600</value> |
| 50 | </Value> |
| 51 | <Rule id="ssh_server_disabled" severity="low" selected="true"> |
| 52 | <title>Disable SSH Server If Possible (Unusual)</title> |
| 53 | <description>Bla bla</description> |
| 54 | <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 55 | <check-export export-name="oval:ssg:var:1" value-id="val1"/> |
| 56 | <check-export export-name="oval:ssg:var:2" value-id="val2"/> |
| 57 | <check-export export-name="oval:ssg:var:3" value-id="val3"/> |
| 58 | <check-content-ref href="test_inherit_selector.oval.xml" name="oval:x:def:1"/> |
| 59 | </check> |
| 60 | </Rule> |
| 61 | </Group> |
| 62 | </Benchmark> |
| 63 |