File: simple_ds_modified.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 (149 lines) | stat: -rw-r--r-- 8,236 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<?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: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: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>1000</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>
  <!-- review with SCAP 1.3 specification, section 3.11 -->
  <Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="dsig-9348625547">
    <SignedInfo>
      <CanonicalizationMethod Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
      <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
      <Reference URI="#scap_org.open-scap_datastream_simple">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
        <DigestValue>X1pcMhskV4RlSXnYGEDGdNPeyubxuxweLGeAvvJ8izc=</DigestValue>
      </Reference>
      <Reference Type="http://www.w3.org/2000/09/xmldsig#SignatureProperties" URI="#sig-props-9348625547">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha512"/>
        <DigestValue>OT65MT47VElRhYpnZR8jxrdGI6dC78V8o2towquMU749EiB0FqvR/fUWjPoAChmI
WltLh7EHFR3EnI7qtRVubA==</DigestValue>
      </Reference>
      <Reference Type="http://www.w3.org/2000/09/xmldsig#Manifest" URI="#manifest-9348625547">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
        <DigestValue>9jhD0EcyT48TrZdTyGgoCZCSDtkca+FlUqEsDNT06/A=</DigestValue>
      </Reference>
    </SignedInfo>
    <SignatureValue>XvCjpTNg8OefZ3syPueU5ifPm7w6rQ3VbfeaQtk3noWhxO7OoPE7+OCHDQZZPZdi
2gHmsAx2R5N+46XNSKJ20JU0Er3Vdwbg+Zr7/Rk1HNzXB/fHkw1HYIOA8bMOkJcc
Xwrf9ylsFb8R+g/walqmejPaMfsVUPzFOpLyL5gh92o=</SignatureValue>
    <KeyInfo>
      <KeyValue>
<RSAKeyValue>
<Modulus>
3fi4CEX85zqrPgVTyFwDP+0MU1YJb27VU4TnC2oRn7rz/M3U+XXli7PRaXnCsZ/+
37OcsCKChqVbvPjCYO130dQa3yCTk5T9fOiqksyudYpzSQDdlljVjt9Y673W0tUj
JPacZRWlteU5ffpY0U6ujYeUs0r5WdlRSzTeMJhKJBM=
</Modulus>
<Exponent>
AQAB
</Exponent>
</RSAKeyValue>
</KeyValue>
    </KeyInfo>
    <Object>
      <SignatureProperties Id="sig-props-9348625547">
        <SignatureProperty Target="#dsig-9348625547">
          <dsig:signature-info xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dsig="http://scap.nist.gov/schema/xml-dsig/1.0">
            <dc:date>2021-02-01T08:07:06+01:00</dc:date>
            <dsig:nonce>a58dwer623su96</dsig:nonce>
          </dsig:signature-info>
        </SignatureProperty>
      </SignatureProperties>
    </Object>
    <Object>
      <Manifest Id="manifest-9348625547">
        <Reference URI="#scap_org.open-scap_comp_test_single_rule.oval.xml">
          <Transforms>
            <Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
          </Transforms>
          <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
          <DigestValue>shkpPebd5G2ovAe7Smubc37HAlbYP6Yaop07QBIOxAg=</DigestValue>
        </Reference>
        <Reference URI="#scap_org.open-scap_comp_test_single_rule.xccdf.xml">
          <Transforms>
            <Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
          </Transforms>
          <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
          <DigestValue>HllNGlBUwOZuzILcW0anKSKwXr66xHzaMnVF/uYK5G8=</DigestValue>
        </Reference>
      </Manifest>
    </Object>
  </Signature>
</ds:data-stream-collection>