| 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" resolved="1" xml:lang="en-US"> |
| 3 | <status date="2012-11-06">draft</status> |
| 4 | <status date="2012-12-06">accepted</status> |
| 5 | <title xml:lang="en-US">Title</title> |
| 6 | <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">Description.</description> |
| 7 | <notice xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US" id="terms_of_use">Notice.</notice> |
| 8 | <front-matter xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">test</front-matter> |
| 9 | <rear-matter xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">bla bla</rear-matter> |
| 10 | <reference href="TODO::INSERT"/> |
| 11 | <version>0.1</version> |
| 12 | <model system="urn:xccdf:scoring:default"/> |
| 13 | <Profile id="test"> |
| 14 | <title xml:lang="en-US">test</title> |
| 15 | <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">This profile is for testing.</description> |
| 16 | <select idref="ssh_server_disabled" selected="true"/> |
| 17 | <refine-value idref="val1" selector="5_minutes"/> |
| 18 | </Profile> |
| 19 | <Profile id="test2"> |
| 20 | <title xml:lang="en-US">test</title> |
| 21 | <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">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="10_minutes"/> |
| 25 | </Profile> |
| 26 | <Group id="ssh"> |
| 27 | <version time="2012-12-01T20:47:54">0.1</version> |
| 28 | <title xml:lang="en-US">SSH Server</title> |
| 29 | <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">The SSH protocol is recommended.</description> |
| 30 | <Value id="val1" operator="equals" type="number"> |
| 31 | <title xml:lang="en-US">SSH session Idle time</title> |
| 32 | <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">Specify duration of allowed idle time.</description> |
| 33 | <value selector="5_minutes">300</value> |
| 34 | <value>100</value> |
| 35 | <value selector="10_minutes">600</value> |
| 36 | </Value> |
| 37 | <Value id="val2" operator="equals" type="number"> |
| 38 | <title xml:lang="en-US">SSH session Idle time</title> |
| 39 | <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">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" operator="equals" type="number"> |
| 45 | <title xml:lang="en-US">SSH session Idle time</title> |
| 46 | <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">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" selected="true" severity="low" role="full"> |
| 52 | <title xml:lang="en-US">Disable SSH Server If Possible (Unusual)</title> |
| 53 | <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">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 name="oval:x:def:1" href="test_default_selector.oval.xml"/> |
| 59 | </check> |
| 60 | </Rule> |
| 61 | </Group> |
| 62 | <TestResult id="xccdf_org.open-scap_testresult_default-profile" start-time="2012-12-01T20:47:54" end-time="2012-12-01T20:47:54"> |
| 63 | <title xml:lang="en-US">OSCAP Scan Result</title> |
| 64 | <target>mars</target> |
| 65 | <target-address>127.0.0.1</target-address> |
| 66 | <target-address>192.168.1.116</target-address> |
| 67 | <target-address>192.168.122.1</target-address> |
| 68 | <target-address>10.36.5.11</target-address> |
| 69 | <target-address>0:0:0:0:0:0:0:1</target-address> |
| 70 | <target-address>fe80:0:0:0:224:d7ff:fe8f:3e38</target-address> |
| 71 | <target-facts> |
| 72 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">00:00:00:00:00:00</fact> |
| 73 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">00:24:D7:8F:3E:38</fact> |
| 74 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">52:54:00:CB:16:48</fact> |
| 75 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">00:00:00:00:00:00</fact> |
| 76 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">00:00:00:00:00:00</fact> |
| 77 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">00:24:D7:8F:3E:38</fact> |
| 78 | </target-facts> |
| 79 | <rule-result idref="ssh_server_disabled" time="2012-12-01T20:47:54" severity="low" weight="1.000000"> |
| 80 | <result>pass</result> |
| 81 | <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 82 | <check-export export-name="oval:ssg:var:1" value-id="val1"/> |
| 83 | <check-export export-name="oval:ssg:var:2" value-id="val2"/> |
| 84 | <check-export export-name="oval:ssg:var:3" value-id="val3"/> |
| 85 | <check-content-ref name="oval:x:def:1" href="test_default_selector.oval.xml"/> |
| 86 | </check> |
| 87 | </rule-result> |
| 88 | <score system="urn:xccdf:scoring:default" maximum="100.000000">100.000000</score> |
| 89 | </TestResult> |
| 90 | </Benchmark> |