Debian Codegraph @

tests/API/XCCDF/unittests/test_remediate_simple.xccdf.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3 <status>accepted</status>
4 <version>1.0</version>
5 <model system="urn:xccdf:scoring:default"/>
6 <Rule id="xccdf_moc.elpmaxe.www_rule_1" selected="true">
7 <title>Ensure that file exists and it is not executable</title>
8 <fix xmlns:xhtml="http://www.w3.org/1999/xhtml" system="urn:xccdf:fix:script:sh">
9 <!-- exit 9 -->
10 touch test_file
11 chmod a-x test_file
12 </fix>
13 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14 <check-content-ref name="oval:moc.elpmaxe.www:def:1" href="test_remediation_simple.oval.xml"/>
15 </check>
16 </Rule>
17 <TestResult id="xccdf_org.open-scap_testresult_default-profile" start-time="2013-02-27T14:54:43" end-time="2013-02-27T14:54:44">
18 <title>OSCAP Scan Result</title>
19 <target>x.x.example.com</target>
20 <target-address>127.0.0.1</target-address>
21 <target-address>::1</target-address>
22 <target-facts>
23 <fact name="urn:xccdf:fact:ethernet:MAC" type="string">00:00:00:00:00:00</fact>
24 </target-facts>
25 <rule-result idref="xccdf_moc.elpmaxe.www_rule_1" time="2013-02-27T14:54:44" weight="1.000000">
26 <result>fail</result>
27 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
28 <check-content-ref name="oval:moc.elpmaxe.www:def:1" href="test_remediation_simple.oval.xml"/>
29 </check>
30 </rule-result>
31 <score system="urn:xccdf:scoring:default" maximum="100.000000">0.000000</score>
32 </TestResult>
33 <TestResult id="xccdf_org.open-scap_testresult_default-profile001" start-time="2013-02-27T15:01:56" end-time="2013-02-27T15:01:56">
34 <title>OSCAP Scan Result</title>
35 <target>x.x.example.com</target>
36 <target-address>127.0.0.1</target-address>
37 <target-address>::1</target-address>
38 <target-facts>
39 <fact name="urn:xccdf:fact:ethernet:MAC" type="string">00:00:00:00:00:00</fact>
40 </target-facts>
41 <rule-result idref="xccdf_moc.elpmaxe.www_rule_1" time="2013-02-27T15:01:57" weight="1.000000">
42 <result>fail</result>
43 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
44 <check-content-ref name="oval:moc.elpmaxe.www:def:0000" href="test_remediation_simple.oval.xml"/>
45 </check>
46 </rule-result>
47 <score system="urn:xccdf:scoring:default" maximum="100.000000">0.000000</score>
48 </TestResult>
49 <TestResult id="xccdf_org.open-scap_testresult_default-profile002" start-time="2013-02-27T15:01:57" end-time="2013-02-27T15:01:57">
50 <title>OSCAP Scan Result</title>
51 <target>x.x.example.com</target>
52 <target-address>127.0.0.1</target-address>
53 <target-address>::1</target-address>
54 <target-facts>
55 <fact name="urn:xccdf:fact:ethernet:MAC" type="string">00:00:00:00:00:00</fact>
56 </target-facts>
57 <rule-result idref="xccdf_moc.elpmaxe.www_rule_1" time="2013-02-27T15:01:56" weight="1.000000">
58 <result>notchecked</result>
59 <message severity="info">No candidate or applicable check found.</message>
60 </rule-result>
61 <score system="urn:xccdf:scoring:default" maximum="100.000000">0.000000</score>
62 </TestResult>
63 </Benchmark>