Debian Codegraph @

tests/probes/textfilecontent54/test_symlinks.xml.tpl

raw
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 <generator>
4 <oval:schema_version>5.10.1</oval:schema_version>
5 <oval:timestamp>0001-01-01T00:00:00+00:00</oval:timestamp>
6 </generator>
7
8 <definitions>
9 <definition class="compliance" version="1" id="oval:x:def:1">
10 <metadata>
11 <title>x</title>
12 <description>x</description>
13 <affected family="unix">
14 <platform>x</platform>
15 </affected>
16 </metadata>
17 <criteria comment="x">
18 <criterion test_ref="oval:x:tst:1"/>
19 <criterion test_ref="oval:x:tst:2"/>
20 <criterion test_ref="oval:x:tst:3"/>
21 <criterion test_ref="oval:x:tst:4"/>
22 </criteria>
23 </definition>
24 </definitions>
25
26 <tests>
27 <textfilecontent54_test id="oval:x:tst:1" check="all" comment="x" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
28 <object object_ref="oval:x:obj:1"/>
29 </textfilecontent54_test>
30 <textfilecontent54_test id="oval:x:tst:2" check="all" comment="x" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
31 <object object_ref="oval:x:obj:2"/>
32 </textfilecontent54_test>
33 <textfilecontent54_test id="oval:x:tst:3" check="all" comment="x" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
34 <object object_ref="oval:x:obj:3"/>
35 </textfilecontent54_test>
36 <textfilecontent54_test id="oval:x:tst:4" check="all" comment="x" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
37 <object object_ref="oval:x:obj:4"/>
38 </textfilecontent54_test>
39 </tests>
40
41 <objects>
42 <textfilecontent54_object id="oval:x:obj:1" version="1" comment="x" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
43 <path datatype="string" operation="equals">%PATH%</path>
44 <filename datatype="string" operation="equals">sl1</filename>
45 <pattern datatype="string" operation="pattern match">.*</pattern>
46 <instance datatype="int" operation="equals">1</instance>
47 </textfilecontent54_object>
48 <textfilecontent54_object id="oval:x:obj:2" version="1" comment="x" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
49 <path datatype="string" operation="equals">%PATH%</path>
50 <filename datatype="string" operation="equals">sl2</filename>
51 <pattern datatype="string" operation="pattern match">.*</pattern>
52 <instance datatype="int" operation="equals">1</instance>
53 </textfilecontent54_object>
54 <textfilecontent54_object id="oval:x:obj:3" version="1" comment="x" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
55 <path datatype="string" operation="equals">%PATH%</path>
56 <filename datatype="string" operation="equals">sl3</filename>
57 <pattern datatype="string" operation="pattern match">.*</pattern>
58 <instance datatype="int" operation="equals">1</instance>
59 </textfilecontent54_object>
60 <textfilecontent54_object id="oval:x:obj:4" version="1" comment="x" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
61 <path datatype="string" operation="equals">/etc</path>
62 <filename datatype="string" operation="equals">hosts</filename>
63 <pattern datatype="string" operation="pattern match">.*</pattern>
64 <instance datatype="int" operation="equals">1</instance>
65 </textfilecontent54_object>
66 </objects>
67 </oval_definitions>