File: simple-ds.xml

package info (click to toggle)
openscap 1.0.9-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 129,588 kB
  • ctags: 26,325
  • sloc: xml: 611,156; ansic: 90,367; sh: 26,693; makefile: 2,463; python: 804; perl: 445; cpp: 123
file content (102 lines) | stat: -rw-r--r-- 5,901 bytes parent folder | download | duplicates (3)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?xml version="1.0" encoding="utf-8"?>
<ds:data-stream-collection xmlns:ds="http://scap.nist.gov/schema/scap/source/1.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:cat="urn:oasis:names:tc:entity:xmlns:xml:catalog" id="scap_org.open-scap_collection_from_xccdf_simple-xccdf.xml" schematron-version="1.0">
  <ds:data-stream id="scap_org.open-scap_datastream_from_xccdf_simple-xccdf.xml" scap-version="1.2" use-case="OTHER">
    <ds:checklists>
      <ds:component-ref id="scap_org.open-scap_cref_simple-xccdf.xml" xlink:href="#scap_org.open-scap_comp_simple-xccdf.xml">
        <cat:catalog>
          <cat:uri name="simple-oval.xml" uri="#scap_org.open-scap_cref_simple-oval.xml"/>
        </cat:catalog>
      </ds:component-ref>
      <ds:component-ref id="scap_org.open-scap_cref_simple-tailoring.xml" xlink:href="#scap_org.open-scap_comp_simple-tailoring.xml"/>
    </ds:checklists>
    <ds:checks>
      <ds:component-ref id="scap_org.open-scap_cref_simple-oval.xml" xlink:href="#scap_org.open-scap_comp_simple-oval.xml"/>
    </ds:checks>
  </ds:data-stream>
  <ds:component id="scap_org.open-scap_comp_simple-oval.xml" timestamp="2013-01-22T15:13:00">
    <oval_definitions xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd">
      <generator>
        <oval:schema_version>5.10</oval:schema_version>
        <oval:timestamp>0001-01-01T00:00:00+00:00</oval:timestamp>
      </generator>
      <definitions>
        <definition class="compliance" version="1" id="oval:x:def:1">
          <metadata>
            <title>x</title>
            <description>x</description>
            <affected family="unix">
              <platform>x</platform>
            </affected>
          </metadata>
          <criteria comment="x" operator="OR">
            <criterion test_ref="oval:x:tst:1" comment="always pass"/>
            <criterion test_ref="oval:x:tst:2" comment="always fail"/>
          </criteria>
        </definition>
        <definition class="compliance" version="1" id="oval:x:def:2">
          <metadata>
            <title>x</title>
            <description>x</description>
            <affected family="unix">
              <platform>x</platform>
            </affected>
          </metadata>
          <criteria comment="x" operator="AND">
            <criterion test_ref="oval:x:tst:1" comment="always pass"/>
            <criterion test_ref="oval:x:tst:2" comment="always fail"/>
          </criteria>
        </definition>
      </definitions>
      <tests>
        <variable_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:x:tst:1" check="all" comment="always pass" version="1">
          <object object_ref="oval:x:obj:1"/>
        </variable_test>
        <variable_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:x:tst:2" check="all" check_existence="none_exist" comment="always fail" version="1">
          <object object_ref="oval:x:obj:1"/>
        </variable_test>
      </tests>
      <objects>
        <variable_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:x:obj:1" version="1" comment="x">
          <var_ref>oval:x:var:1</var_ref>
        </variable_object>
      </objects>
      <variables>
        <constant_variable id="oval:x:var:1" version="1" comment="x" datatype="string">
          <value>x</value>
        </constant_variable>
      </variables>
    </oval_definitions>
  </ds:component>
  <ds:component id="scap_org.open-scap_comp_simple-xccdf.xml" timestamp="2013-01-22T12:20:35">
    <Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2" id="xccdf_moc.elpmaxe.www_benchmark_test">
      <status>incomplete</status>
      <version>1.0</version>
      <Profile id="xccdf_org.open-scap_profile_override">
        <title>Override</title>
        <select idref="xccdf_moc.elpmaxe.www_rule_1" selected="false"/>
      </Profile>
      <Rule selected="true" id="xccdf_moc.elpmaxe.www_rule_1">
        <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
          <check-content-ref href="simple-oval.xml" name="oval:x:def:1"/>
        </check>
      </Rule>
    </Benchmark>
  </ds:component>
  <ds:component id="scap_org.open-scap_comp_simple-tailoring.xml" timestamp="2013-01-22T12:20:35">
    <Tailoring xmlns="http://checklists.nist.gov/xccdf/1.2" id="xccdf_org.open-scap_tailoring_example">
      <status>incomplete</status>
      <version time="2013-01-15T16:00:00.000+02:00">1.0</version>
      <Profile id="xccdf_org.open-scap_profile_default">
        <title>Default</title>
      </Profile>
      <Profile id="xccdf_org.open-scap_profile_unselecting">
        <title>Unselecting</title>
        <select idref="xccdf_moc.elpmaxe.www_rule_1" selected="false"/>
      </Profile>
      <Profile id="xccdf_org.open-scap_profile_override" extends="xccdf_org.open-scap_profile_override">
        <title>Override</title>
        <select idref="xccdf_moc.elpmaxe.www_rule_1" selected="true"/>
      </Profile>
    </Tailoring>
  </ds:component>
</ds:data-stream-collection>