Debian Codegraph @

tests/probes/partition/test_probes_partition.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>environmentvariable58</oval:product_name>
6 <oval:product_version>1.0</oval:product_version>
7 <oval:schema_version>5.10</oval:schema_version>
8 <oval:timestamp>2011-07-13T00:00:00-00:00</oval:timestamp>
9 </generator>
10
11 <definitions>
12
13 <definition class="compliance" version="1" id="oval:1:def:1"> <!-- comment="true" -->
14 <metadata>
15 <title></title>
16 <description></description>
17 </metadata>
18 <criteria>
19 <criteria operator="AND">
20 <criterion test_ref="oval:1:tst:1"/>
21 </criteria>
22 </criteria>
23 </definition>
24 <definition class="compliance" version="1" id="oval:1:def:2"> <!-- comment="true" -->
25 <metadata>
26 <title></title>
27 <description></description>
28 </metadata>
29 <criteria>
30 <criteria operator="AND">
31 <criterion test_ref="oval:1:tst:2"/>
32 </criteria>
33 </criteria>
34 </definition>
35 <definition class="compliance" version="1" id="oval:1:def:3"> <!-- comment="true" -->
36 <metadata>
37 <title></title>
38 <description></description>
39 </metadata>
40 <criteria>
41 <criteria operator="AND">
42 <criterion test_ref="oval:1:tst:3"/>
43 </criteria>
44 </criteria>
45 </definition>
46
47 </definitions>
48
49 <tests>
50 <partition_test version="1" id="oval:1:tst:1" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
51 <object object_ref="oval:1:obj:1"/>
52 <state state_ref="oval:1:ste:1"/>
53 </partition_test>
54 <partition_test version="1" id="oval:1:tst:2" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
55 <object object_ref="oval:1:obj:2"/>
56 <state state_ref="oval:1:ste:2"/>
57 </partition_test>
58 <partition_test version="1" id="oval:1:tst:3" check="at least one" check_existence="none_exist" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
59 <object object_ref="oval:1:obj:3"/>
60 </partition_test>
61 </tests>
62
63 <objects>
64 <partition_object version="1" id="oval:1:obj:1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
65 <mount_point>/proc</mount_point>
66 </partition_object>
67 <partition_object version="1" id="oval:1:obj:2" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
68 <mount_point operation="pattern match">^\/proc$</mount_point>
69 </partition_object>
70 <partition_object version="1" id="oval:1:obj:3" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
71 <mount_point operation="pattern match">^something.*without.*leading.*slash$</mount_point>
72 </partition_object>
73 </objects>
74
75 <states>
76 <partition_state version="1" id="oval:1:ste:1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
77 <device>proc</device>
78 </partition_state>
79 <partition_state version="1" id="oval:1:ste:2" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
80 <device>proc</device>
81 </partition_state>
82 </states>
83
84 </oval_definitions>