Debian Codegraph @

tests/API/OVAL/unittests/test_ipv4_comparison.oval.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <oval_definitions xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" 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:product_name>cpe:/a:open-scap:oscap</oval:product_name>
5 <oval:schema_version>5.8</oval:schema_version>
6 <oval:timestamp>2013-12-04T11:55:04</oval:timestamp>
7 </generator>
8 <definitions>
9 <definition id="oval:x:def:1" version="1" class="compliance">
10 <metadata>
11 <title>.</title>
12 <description>.</description>
13 </metadata>
14 <criteria>
15 <criterion test_ref="oval:x:tst:1" comment="."/>
16 </criteria>
17 </definition>
18 <definition id="oval:x:def:2" version="1" class="compliance">
19 <metadata>
20 <title>.</title>
21 <description>.</description>
22 </metadata>
23 <criteria>
24 <criterion test_ref="oval:x:tst:2" comment="."/>
25 </criteria>
26 </definition>
27 <definition id="oval:x:def:3" version="1" class="compliance">
28 <metadata>
29 <title>test operation "greater than"</title>
30 <description>if prefix lengths are not equal, an error must be reported</description>
31 </metadata>
32 <criteria>
33 <criterion test_ref="oval:x:tst:3" comment="."/>
34 </criteria>
35 </definition>
36 <definition id="oval:x:def:4" version="1" class="compliance">
37 <metadata>
38 <title>test operation "greater than or equal"</title>
39 <description>if prefix lengths are not equal, an error must be reported</description>
40 </metadata>
41 <criteria>
42 <criterion test_ref="oval:x:tst:4" comment="."/>
43 </criteria>
44 </definition>
45 <definition id="oval:x:def:5" version="1" class="compliance">
46 <metadata>
47 <title>test operation "less than"</title>
48 <description>if prefix lengths are not equal, an error must be reported</description>
49 </metadata>
50 <criteria>
51 <criterion test_ref="oval:x:tst:5" comment="."/>
52 </criteria>
53 </definition>
54 <definition id="oval:x:def:6" version="1" class="compliance">
55 <metadata>
56 <title>test operation "less than or equal"</title>
57 <description>if prefix lengths are not equal, an error must be reported</description>
58 </metadata>
59 <criteria>
60 <criterion test_ref="oval:x:tst:6" comment="."/>
61 </criteria>
62 </definition>
63 </definitions>
64 <tests>
65 <ind-def:variable_test id="oval:x:tst:1" version="1" check="all" comment=".">
66 <ind-def:object object_ref="oval:x:obj:1"/>
67 <ind-def:state state_ref="oval:x:ste:1"/>
68 </ind-def:variable_test>
69 <ind-def:variable_test id="oval:x:tst:2" version="1" check="all" comment=".">
70 <ind-def:object object_ref="oval:x:obj:2"/>
71 <ind-def:state state_ref="oval:x:ste:2"/>
72 </ind-def:variable_test>
73 <ind-def:variable_test id="oval:x:tst:3" version="1" check="all" comment=".">
74 <ind-def:object object_ref="oval:x:obj:3"/>
75 <ind-def:state state_ref="oval:x:ste:3"/>
76 </ind-def:variable_test>
77 <ind-def:variable_test id="oval:x:tst:4" version="1" check="all" comment=".">
78 <ind-def:object object_ref="oval:x:obj:3"/>
79 <ind-def:state state_ref="oval:x:ste:4"/>
80 </ind-def:variable_test>
81 <ind-def:variable_test id="oval:x:tst:5" version="1" check="all" comment=".">
82 <ind-def:object object_ref="oval:x:obj:3"/>
83 <ind-def:state state_ref="oval:x:ste:5"/>
84 </ind-def:variable_test>
85 <ind-def:variable_test id="oval:x:tst:6" version="1" check="all" comment=".">
86 <ind-def:object object_ref="oval:x:obj:3"/>
87 <ind-def:state state_ref="oval:x:ste:6"/>
88 </ind-def:variable_test>
89 </tests>
90 <objects>
91 <ind-def:variable_object id="oval:x:obj:1" version="1">
92 <ind-def:var_ref>oval:x:var:1</ind-def:var_ref>
93 </ind-def:variable_object>
94 <ind-def:variable_object id="oval:x:obj:2" version="1">
95 <ind-def:var_ref>oval:x:var:2</ind-def:var_ref>
96 </ind-def:variable_object>
97 <ind-def:variable_object id="oval:x:obj:3" version="1">
98 <ind-def:var_ref>oval:x:var:3</ind-def:var_ref>
99 </ind-def:variable_object>
100 </objects>
101 <states>
102 <ind-def:variable_state id="oval:x:ste:1" version="1">
103 <ind-def:value operation="greater than" datatype="ipv4_address">1.1.192.192/32</ind-def:value>
104 </ind-def:variable_state>
105 <ind-def:variable_state id="oval:x:ste:2" version="1">
106 <ind-def:value operation="greater than" datatype="ipv4_address">1.1.1.1</ind-def:value>
107 </ind-def:variable_state>
108 <ind-def:variable_state id="oval:x:ste:3" version="1">
109 <ind-def:value operation="greater than" datatype="ipv4_address">192.168.120.53/16</ind-def:value>
110 </ind-def:variable_state>
111 <ind-def:variable_state id="oval:x:ste:4" version="1">
112 <ind-def:value operation="greater than or equal" datatype="ipv4_address">192.168.120.80/16</ind-def:value>
113 </ind-def:variable_state>
114 <ind-def:variable_state id="oval:x:ste:5" version="1">
115 <ind-def:value operation="less than" datatype="ipv4_address">192.168.120.221/16</ind-def:value>
116 </ind-def:variable_state>
117 <ind-def:variable_state id="oval:x:ste:6" version="1">
118 <ind-def:value operation="less than or equal" datatype="ipv4_address">192.168.120.80/16</ind-def:value>
119 </ind-def:variable_state>
120 </states>
121 <variables>
122 <constant_variable id="oval:x:var:1" version="1" datatype="ipv4_address" comment=".">
123 <value>192.192.1.1</value>
124 </constant_variable>
125 <constant_variable id="oval:x:var:2" version="1" datatype="ipv4_address" comment=".">
126 <value>42.42.42.42</value>
127 </constant_variable>
128 <constant_variable id="oval:x:var:3" version="1" datatype="ipv4_address" comment=".">
129 <value>192.168.120.80/24</value>
130 </constant_variable>
131 </variables>
132 </oval_definitions>