File: simple_data_stream.xml

package info (click to toggle)
scap-security-guide 0.1.76-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 110,644 kB
  • sloc: xml: 241,883; sh: 73,777; python: 32,527; makefile: 27
file content (111 lines) | stat: -rw-r--r-- 7,123 bytes parent folder | download
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
103
104
105
106
107
108
109
110
111
<?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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="scap_org.open-scap_collection_from_xccdf_test_single_rule.xccdf.xml" schematron-version="1.3" xsi:schemaLocation="http://scap.nist.gov/schema/scap/source/1.2 https://scap.nist.gov/schema/scap/1.3/scap-source-data-stream_1.3.xsd">
  <ds:data-stream id="scap_org.open-scap_datastream_simple" scap-version="1.3" use-case="OTHER">
    <ds:checklists>
      <ds:component-ref id="scap_org.open-scap_cref_test_single_rule.xccdf.xml" xlink:href="#scap_org.open-scap_comp_test_single_rule.xccdf.xml">
        <cat:catalog>
          <cat:uri name="test_single_rule.oval.xml" uri="#scap_org.open-scap_cref_test_single_rule.oval.xml"/>
          <cat:uri name="cpe.oval.xml" uri="#scap_org.open-scap_cref_cpe.oval.xml"/>
        </cat:catalog>
      </ds:component-ref>
    </ds:checklists>
    <ds:checks>
      <ds:component-ref id="scap_org.open-scap_cref_test_single_rule.oval.xml" xlink:href="#scap_org.open-scap_comp_test_single_rule.oval.xml"/>
      <ds:component-ref id="scap_org.open-scap_cref_cpe.oval.xml" xlink:href="#scap_org.open-scap_comp_cpe.oval.xml"/>
    </ds:checks>
  </ds:data-stream>
  <ds:component id="scap_org.open-scap_comp_test_single_rule.oval.xml" timestamp="2021-02-01T08:07:06+01:00">
    <oval_definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:win-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd    http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#windows windows-definitions-schema.xsd">
      <generator>
        <oval:schema_version>5.11.2</oval:schema_version>
        <oval:timestamp>2021-02-01T08:07:06+01:00</oval:timestamp>
      </generator>
      <definitions>
        <definition class="compliance" id="oval:x:def:1" version="1">
          <metadata>
            <title>PASS</title>
            <description>pass</description>
          </metadata>
          <criteria>
            <criterion comment="PASS test" test_ref="oval:x:tst:1"/>
          </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>
      </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="int">
          <value>100</value>
        </constant_variable>
      </variables>
    </oval_definitions>
  </ds:component>
  <ds:component id="scap_org.open-scap_comp_cpe.oval.xml" timestamp="2021-02-01T08:07:06+01:00">
    <oval_definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:win-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd    http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#windows windows-definitions-schema.xsd">
      <generator>
        <oval:schema_version>5.11.2</oval:schema_version>
        <oval:timestamp>2021-02-01T08:07:06+01:00</oval:timestamp>
      </generator>
      <definitions>
        <definition class="compliance" id="oval:x:def:1" version="1">
          <metadata>
            <title>PASS</title>
            <description>pass</description>
          </metadata>
          <criteria>
            <criterion comment="PASS test" test_ref="oval:x:tst:1"/>
          </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>
      </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="int">
          <value>100</value>
        </constant_variable>
      </variables>
    </oval_definitions>
  </ds:component>
  <ds:component id="scap_org.open-scap_comp_test_single_rule.xccdf.xml" timestamp="2021-02-01T08:07:06+01:00">
    <Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="xccdf_com.example.www_benchmark_dummy" xsi:schemaLocation="http://checklists.nist.gov/xccdf/1.1 xccdf-1.1.4.xsd" resolved="false" xml:lang="en-US">
      <status date="2021-01-21">accepted</status>
      <title>Test Benchmark</title>
      <description>Description</description>
      <version>1.0</version>
      <metadata>
        <dc:contributor xmlns:dc="http://purl.org/dc/elements/1.1/">OpenSCAP</dc:contributor>
        <dc:publisher xmlns:dc="http://purl.org/dc/elements/1.1/">OpenSCAP</dc:publisher>
        <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">OpenSCAP</dc:creator>
        <dc:source xmlns:dc="http://purl.org/dc/elements/1.1/">http://scap.nist.gov</dc:source>
      </metadata>
      <Profile id="xccdf_com.example.www_profile_test_single_rule">
        <title>xccdf_test_profile</title>
        <description>This profile is for testing.</description>
        <select idref="xccdf_com.example.www_rule_test-pass" selected="true"/>
      </Profile>
      <Rule selected="true" id="xccdf_com.example.www_rule_test-pass">
        <title>This rule always passes</title>
        <description>Description</description>
        <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
          <check-content-ref href="test_single_rule.oval.xml" name="oval:x:def:1"/>
        </check>
      </Rule>
    </Benchmark>
  </ds:component>
</ds:data-stream-collection>