File: test_fix_instance.xccdf.xml

package info (click to toggle)
openscap 1.4.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 125,040 kB
  • sloc: xml: 527,109; ansic: 91,390; sh: 19,789; python: 2,515; perl: 444; makefile: 49
file content (42 lines) | stat: -rw-r--r-- 2,197 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<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">
  <status>draft</status>
  <version>0.1</version>
  <Rule id="test_fix_element" selected="true">
        <fix system="urn:xccdf:fix:script:sh">
           echo Hello &gt; test_file #<instance/>
        </fix>
        <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
          <check-content-ref href="test_fix_instance.oval.xml" name="oval:x:def:1"/>
        </check>
  </Rule>
  <TestResult id="xccdf_org.open-scap_testresult_default-profile" start-time="2015-03-02T14:26:09" end-time="2015-03-02T14:26:09" version="0.1">
    <benchmark href="test_fix.xccdf.xml"/>
    <title>OSCAP Scan Result</title>
    <identity authenticated="false" privileged="false">user</identity>
    <target>some_machine</target>
    <target-address>127.0.0.1</target-address>
    <target-facts>
      <fact name="urn:xccdf:fact:scanner:name" type="string">OpenSCAP</fact>
      <fact name="urn:xccdf:fact:scanner:version" type="string">1.1.2</fact>
      <fact name="urn:xccdf:fact:ethernet:MAC" type="string">00:00:00:00:00:00</fact>
    </target-facts>
    <rule-result idref="test_fix_element" time="2015-03-02T14:26:09" weight="1.000000">
      <result>fail</result>
      <instance>a</instance>
      <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
        <check-content-ref name="oval:x:def:1" href="test_fix_instance.oval.xml"/>
      </check>
    </rule-result>
    <rule-result idref="test_fix_element" time="2015-03-02T14:26:09" weight="1.000000">
      <result>fail</result>
      <instance>b</instance>
      <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
        <check-content-ref name="oval:x:def:1" href="test_fix_instance.oval.xml"/>
      </check>
    </rule-result>
    <score system="urn:xccdf:scoring:default" maximum="100.000000">0.000000</score>
  </TestResult>

</Benchmark>