| 1 | <Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="xccdf_moc.elpmaxe.www_benchmark_test" resolved="1"> |
| 2 | <status>incomplete</status> |
| 3 | <title xmlns:xhtml="http://www.w3.org/1999/xhtml">Security Benchmark</title> |
| 4 | <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">A sample benchmark</description> |
| 5 | <version>1.0</version> |
| 6 | <model system="urn:xccdf:scoring:default"/> |
| 7 | <model system="urn:xccdf:scoring:flat"/> |
| 8 | <model system="urn:xccdf:scoring:flat-unweighted"/> |
| 9 | <model system="urn:xccdf:scoring:absolute"/> |
| 10 | <Profile id="xccdf_moc.elpmaxe.www_profile_standard"> |
| 11 | <title xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">Standard System Security Profile</title> |
| 12 | <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">This profile contains rules to ensure standard security baseline of your system.</description> |
| 13 | <select idref="xccdf_moc.elpmaxe.www_rule_1" selected="true"/> |
| 14 | <select idref="xccdf_moc.elpmaxe.www_rule_2" selected="true"/> |
| 15 | </Profile> |
| 16 | <Profile id="xccdf_moc.elpmaxe.www_profile_common"> |
| 17 | <title xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">Common Security Profile</title> |
| 18 | <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">This profile contains rules to ensure standard security baseline of your system.</description> |
| 19 | <select idref="xccdf_moc.elpmaxe.www_rule_1" selected="true"/> |
| 20 | <select idref="xccdf_moc.elpmaxe.www_rule_2" selected="true"/> |
| 21 | </Profile> |
| 22 | <Profile id="xccdf_moc.elpmaxe.www_profile_uncommon"> |
| 23 | <title xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">Uncommon Security Profile</title> |
| 24 | <description xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="en-US">This profile contains rules to ensure standard security baseline of your system.</description> |
| 25 | <select idref="xccdf_moc.elpmaxe.www_rule_1" selected="true"/> |
| 26 | <select idref="xccdf_moc.elpmaxe.www_rule_2" selected="true"/> |
| 27 | </Profile> |
| 28 | <Rule id="xccdf_moc.elpmaxe.www_rule_1" selected="false"> |
| 29 | <title xmlns:xhtml="http://www.w3.org/1999/xhtml">Passing rule</title> |
| 30 | <fix xmlns:xhtml="http://www.w3.org/1999/xhtml" id="bash_fix_for_passing_rule" system="urn:xccdf:fix:script:sh">echo this_is_ok</fix> |
| 31 | <fix xmlns:xhtml="http://www.w3.org/1999/xhtml" id="ansible_fix_for_passing_rule" system="urn:xccdf:fix:script:ansible">- name: ensure everything passes |
| 32 | shell: /bin/true</fix> |
| 33 | <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 34 | <check-content-ref name="oval:moc.elpmaxe.www:def:1" href="oval/pass/oval.xml"/> |
| 35 | </check> |
| 36 | </Rule> |
| 37 | <Rule id="xccdf_moc.elpmaxe.www_rule_2" selected="false"> |
| 38 | <title xmlns:xhtml="http://www.w3.org/1999/xhtml">Failing rule</title> |
| 39 | <fix xmlns:xhtml="http://www.w3.org/1999/xhtml" id="fix_for_failing_rule" system="urn:xccdf:fix:script:sh">echo fix_me_please</fix> |
| 40 | <fix xmlns:xhtml="http://www.w3.org/1999/xhtml" id="ansible_fix_for_failing_rule" system="urn:xccdf:fix:script:ansible">- name: correct the failing case |
| 41 | shell: /bin/false</fix> |
| 42 | <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 43 | <check-content-ref name="oval:moc.elpmaxe.www:def:1" href="oval/fail/oval.xml"/> |
| 44 | </check> |
| 45 | </Rule> |
| 46 | <TestResult id="xccdf_org.open-scap_testresult_xccdf_moc.elpmaxe.www_profile_common" start-time="2017-06-30T14:04:25" end-time="2017-06-30T14:04:25" version="1.0" test-system="cpe:/a:redhat:openscap:1.2.15"> |
| 47 | <benchmark href="./test_fix_resultid_by_suffix.xccdf.xml" id="xccdf_moc.elpmaxe.www_benchmark_test"/> |
| 48 | <title>OSCAP Scan Result</title> |
| 49 | <identity authenticated="false" privileged="false">kjankov</identity> |
| 50 | <profile idref="xccdf_moc.elpmaxe.www_profile_common"/> |
| 51 | <target>localhost.localdomain</target> |
| 52 | <target-address>127.0.0.1</target-address> |
| 53 | <target-address>10.18.57.26</target-address> |
| 54 | <target-address>0:0:0:0:0:0:0:1</target-address> |
| 55 | <target-address>2620:52:0:1238:a5a3:450:3839:6fb3</target-address> |
| 56 | <target-address>fe80:0:0:0:942a:b1b:9eb7:cd74</target-address> |
| 57 | <target-facts> |
| 58 | <fact name="urn:xccdf:fact:scanner:name" type="string">OpenSCAP</fact> |
| 59 | <fact name="urn:xccdf:fact:scanner:version" type="string">1.2.15</fact> |
| 60 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">00:00:00:00:00:00</fact> |
| 61 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">28:D2:44:EA:54:01</fact> |
| 62 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">00:00:00:00:00:00</fact> |
| 63 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">28:D2:44:EA:54:01</fact> |
| 64 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">28:D2:44:EA:54:01</fact> |
| 65 | </target-facts> |
| 66 | <rule-result idref="xccdf_moc.elpmaxe.www_rule_1" time="2017-06-30T14:04:25" weight="1.000000"> |
| 67 | <result>pass</result> |
| 68 | <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 69 | <check-content-ref name="oval:moc.elpmaxe.www:def:1" href="oval/pass/oval.xml"/> |
| 70 | </check> |
| 71 | </rule-result> |
| 72 | <rule-result idref="xccdf_moc.elpmaxe.www_rule_2" time="2017-06-30T14:04:25" weight="1.000000"> |
| 73 | <result>fail</result> |
| 74 | <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 75 | <check-content-ref name="oval:moc.elpmaxe.www:def:1" href="oval/fail/oval.xml"/> |
| 76 | </check> |
| 77 | </rule-result> |
| 78 | <score system="urn:xccdf:scoring:default" maximum="100.000000">50.000000</score> |
| 79 | <score system="urn:xccdf:scoring:flat" maximum="2.000000">1.000000</score> |
| 80 | <score system="urn:xccdf:scoring:flat-unweighted" maximum="2.000000">1.000000</score> |
| 81 | <score system="urn:xccdf:scoring:absolute" maximum="2.000000">0.000000</score> |
| 82 | </TestResult> |
| 83 | <TestResult id="xccdf_org.open-scap_testresult_xccdf_moc.elpmaxe.www_profile_uncommon" start-time="2017-06-30T14:04:25" end-time="2017-06-30T14:04:25" version="1.0" test-system="cpe:/a:redhat:openscap:1.2.15"> |
| 84 | <benchmark href="./test_fix_resultid_by_suffix.xccdf.xml" id="xccdf_moc.elpmaxe.www_benchmark_test"/> |
| 85 | <title>OSCAP Scan Result</title> |
| 86 | <identity authenticated="false" privileged="false">kjankov</identity> |
| 87 | <profile idref="xccdf_moc.elpmaxe.www_profile_uncommon"/> |
| 88 | <target>localhost.localdomain</target> |
| 89 | <target-address>127.0.0.1</target-address> |
| 90 | <target-address>10.18.57.26</target-address> |
| 91 | <target-address>0:0:0:0:0:0:0:1</target-address> |
| 92 | <target-address>2620:52:0:1238:a5a3:450:3839:6fb3</target-address> |
| 93 | <target-address>fe80:0:0:0:942a:b1b:9eb7:cd74</target-address> |
| 94 | <target-facts> |
| 95 | <fact name="urn:xccdf:fact:scanner:name" type="string">OpenSCAP</fact> |
| 96 | <fact name="urn:xccdf:fact:scanner:version" type="string">1.2.15</fact> |
| 97 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">00:00:00:00:00:00</fact> |
| 98 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">28:D2:44:EA:54:01</fact> |
| 99 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">00:00:00:00:00:00</fact> |
| 100 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">28:D2:44:EA:54:01</fact> |
| 101 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">28:D2:44:EA:54:01</fact> |
| 102 | </target-facts> |
| 103 | <rule-result idref="xccdf_moc.elpmaxe.www_rule_1" time="2017-06-30T14:04:25" weight="1.000000"> |
| 104 | <result>pass</result> |
| 105 | <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 106 | <check-content-ref name="oval:moc.elpmaxe.www:def:1" href="oval/pass/oval.xml"/> |
| 107 | </check> |
| 108 | </rule-result> |
| 109 | <rule-result idref="xccdf_moc.elpmaxe.www_rule_2" time="2017-06-30T14:04:25" weight="1.000000"> |
| 110 | <result>fail</result> |
| 111 | <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 112 | <check-content-ref name="oval:moc.elpmaxe.www:def:1" href="oval/fail/oval.xml"/> |
| 113 | </check> |
| 114 | </rule-result> |
| 115 | <score system="urn:xccdf:scoring:default" maximum="100.000000">50.000000</score> |
| 116 | <score system="urn:xccdf:scoring:flat" maximum="2.000000">1.000000</score> |
| 117 | <score system="urn:xccdf:scoring:flat-unweighted" maximum="2.000000">1.000000</score> |
| 118 | <score system="urn:xccdf:scoring:absolute" maximum="2.000000">0.000000</score> |
| 119 | </TestResult> |
| 120 | <TestResult id="xccdf_org.open-scap_testresult_xccdf_moc.elpmaxe.www_profile_standard" start-time="2017-06-30T14:04:25" end-time="2017-06-30T14:04:25" version="1.0" test-system="cpe:/a:redhat:openscap:1.2.15"> |
| 121 | <benchmark href="./test_fix_resultid_by_suffix.xccdf.xml" id="xccdf_moc.elpmaxe.www_benchmark_test"/> |
| 122 | <title>OSCAP Scan Result</title> |
| 123 | <identity authenticated="false" privileged="false">kjankov</identity> |
| 124 | <profile idref="xccdf_moc.elpmaxe.www_profile_standard"/> |
| 125 | <target>localhost.localdomain</target> |
| 126 | <target-address>127.0.0.1</target-address> |
| 127 | <target-address>10.18.57.26</target-address> |
| 128 | <target-address>0:0:0:0:0:0:0:1</target-address> |
| 129 | <target-address>2620:52:0:1238:a5a3:450:3839:6fb3</target-address> |
| 130 | <target-address>fe80:0:0:0:942a:b1b:9eb7:cd74</target-address> |
| 131 | <target-facts> |
| 132 | <fact name="urn:xccdf:fact:scanner:name" type="string">OpenSCAP</fact> |
| 133 | <fact name="urn:xccdf:fact:scanner:version" type="string">1.2.15</fact> |
| 134 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">00:00:00:00:00:00</fact> |
| 135 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">28:D2:44:EA:54:01</fact> |
| 136 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">00:00:00:00:00:00</fact> |
| 137 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">28:D2:44:EA:54:01</fact> |
| 138 | <fact name="urn:xccdf:fact:ethernet:MAC" type="string">28:D2:44:EA:54:01</fact> |
| 139 | </target-facts> |
| 140 | <rule-result idref="xccdf_moc.elpmaxe.www_rule_1" time="2017-06-30T14:04:25" weight="1.000000"> |
| 141 | <result>pass</result> |
| 142 | <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 143 | <check-content-ref name="oval:moc.elpmaxe.www:def:1" href="oval/pass/oval.xml"/> |
| 144 | </check> |
| 145 | </rule-result> |
| 146 | <rule-result idref="xccdf_moc.elpmaxe.www_rule_2" time="2017-06-30T14:04:25" weight="1.000000"> |
| 147 | <result>fail</result> |
| 148 | <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"> |
| 149 | <check-content-ref name="oval:moc.elpmaxe.www:def:1" href="oval/fail/oval.xml"/> |
| 150 | </check> |
| 151 | </rule-result> |
| 152 | <score system="urn:xccdf:scoring:default" maximum="100.000000">50.000000</score> |
| 153 | <score system="urn:xccdf:scoring:flat" maximum="2.000000">1.000000</score> |
| 154 | <score system="urn:xccdf:scoring:flat-unweighted" maximum="2.000000">1.000000</score> |
| 155 | <score system="urn:xccdf:scoring:absolute" maximum="2.000000">0.000000</score> |
| 156 | </TestResult> |
| 157 | </Benchmark> |