Debian Codegraph @

tests/probes/yamlfilecontent/test_probes_yamlfilecontent_content.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <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">
3
4 <generator>
5 <oval:product_name>yamlfilecontent</oval:product_name>
6 <oval:product_version>1.0</oval:product_version>
7 <oval:schema_version>5.11.3</oval:schema_version>
8 <oval:timestamp>2020-02-13T00:00:00-00:00</oval:timestamp>
9 </generator>
10
11 <definitions>
12
13 <definition class="compliance" version="1" id="oval:0:def:1">
14 <metadata>
15 <title></title>
16 <description></description>
17 </metadata>
18 <criteria operator="AND">
19 <criterion comment="comment" test_ref="oval:0:tst:1"/>
20 <criterion comment="comment" test_ref="oval:0:tst:2"/>
21 <criterion comment="comment" test_ref="oval:0:tst:3"/>
22 <criterion comment="comment" test_ref="oval:0:tst:4"/>
23 </criteria>
24 </definition>
25
26 </definitions>
27
28 <tests>
29
30 <ind-def:yamlfilecontent_test version="1" id="oval:0:tst:1" check="all" comment="true">
31 <ind-def:object object_ref="oval:0:obj:1"/>
32 </ind-def:yamlfilecontent_test>
33
34 <ind-def:yamlfilecontent_test version="1" id="oval:0:tst:2" check="all" comment="true">
35 <ind-def:object object_ref="oval:0:obj:2"/>
36 </ind-def:yamlfilecontent_test>
37
38 <ind-def:yamlfilecontent_test version="1" id="oval:0:tst:3" check="all" comment="true">
39 <ind-def:object object_ref="oval:0:obj:3"/>
40 </ind-def:yamlfilecontent_test>
41
42 <ind-def:yamlfilecontent_test version="1" id="oval:0:tst:4" check="all" comment="true">
43 <ind-def:object object_ref="oval:0:obj:4"/>
44 </ind-def:yamlfilecontent_test>
45
46 </tests>
47
48 <objects>
49
50 <ind-def:yamlfilecontent_object version="1" id="oval:0:obj:1">
51 <ind-def:content>{foo: bar, yaml: '{baz: true, ancored: &amp;anc "&lt;value&gt;"}'}</ind-def:content>
52 <ind-def:yamlpath>.*</ind-def:yamlpath>
53 </ind-def:yamlfilecontent_object>
54
55 <ind-def:yamlfilecontent_object version="1" id="oval:0:obj:2">
56 <ind-def:content var_ref="oval:0:var:1"/>
57 <ind-def:yamlpath>.baz</ind-def:yamlpath>
58 </ind-def:yamlfilecontent_object>
59
60 <ind-def:yamlfilecontent_object version="1" id="oval:0:obj:3">
61 <ind-def:content var_ref="oval:0:var:1"/>
62 <ind-def:yamlpath>.ancored</ind-def:yamlpath>
63 </ind-def:yamlfilecontent_object>
64
65 <ind-def:yamlfilecontent_object version="1" id="oval:0:obj:4">
66 <ind-def:content var_ref="oval:0:var:1"/>
67 <ind-def:yamlpath>&amp;anc</ind-def:yamlpath>
68 </ind-def:yamlfilecontent_object>
69
70 </objects>
71
72 <variables>
73
74 <local_variable id="oval:0:var:1" comment="variable with embedded YAML document, {baz: true}" version="1" datatype="string">
75 <object_component object_ref="oval:0:obj:1" item_field="value" record_field="yaml"/>
76 </local_variable>
77
78 </variables>
79
80 </oval_definitions>