Skip to content
Newer
Older
100644 606 lines (605 sloc) 51.5 KB
083f604 @djhaynes adding 5.10.1 schemas
djhaynes authored
1 <?xml version="1.0" encoding="utf-8"?>
2 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:aix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#aix" xmlns:sch="http://purl.oclc.org/dsdl/schematron" targetNamespace="http://oval.mitre.org/XMLSchema/oval-definitions-5#aix" elementFormDefault="qualified" version="5.10.1">
3 <xsd:import namespace="http://oval.mitre.org/XMLSchema/oval-definitions-5" schemaLocation="oval-definitions-schema.xsd"/>
4 <xsd:annotation>
5 <xsd:documentation>The following is a description of the elements, types, and attributes that compose the AIX specific tests found in Open Vulnerability and Assessment Language (OVAL). Each test is an extension of the standard test element defined in the Core Definition Schema. Through extension, each test inherits a set of elements and attributes that are shared amongst all OVAL tests. Each test is described in detail and should provide the information necessary to understand what each element and attribute represents. This document is intended for developers and assumes some familiarity with XML. A high level description of the interaction between the different tests and their relationship to the Core Definition Schema is not outlined here.</xsd:documentation>
6 <xsd:documentation>This schema was originally developed by Yuzheng Zhou and Todd Dolinsky at Hewlett-Packard. The OVAL Schema is maintained by The MITRE Corporation and developed by the public OVAL Community. For more information, including how to get involved in the project and how to submit change requests, please visit the OVAL website at http://oval.mitre.org.</xsd:documentation>
7 <xsd:appinfo>
8 <schema>AIX Definition</schema>
9 <version>5.10.1</version>
10 <date>1/27/2012 1:22:32 PM</date>
11 <terms_of_use>Copyright (c) 2002-2012, The MITRE Corporation. All rights reserved. The contents of this file are subject to the terms of the OVAL License located at http://oval.mitre.org/oval/about/termsofuse.html. See the OVAL License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the OVAL Schema, this license header must be included.</terms_of_use>
12 <sch:ns prefix="oval-def" uri="http://oval.mitre.org/XMLSchema/oval-definitions-5"/>
13 <sch:ns prefix="aix-def" uri="http://oval.mitre.org/XMLSchema/oval-definitions-5#aix"/>
14 <sch:ns prefix="xsi" uri="http://www.w3.org/2001/XMLSchema-instance"/>
15 </xsd:appinfo>
16 </xsd:annotation>
17 <!-- =============================================================================== -->
18 <!-- ================================ INTERIM FIX TEST =========================== -->
19 <!-- =============================================================================== -->
20 <xsd:element name="interim_fix_test" substitutionGroup="oval-def:test">
21 <xsd:annotation>
22 <xsd:documentation>The interim fix test is used to check information associated with different interim or emergency fixes installed on the system. The information being tested is based off the emgr -l -u VUID command. It extends the standard TestType as defined in the oval-definitions-schema and one should refer to the TestType description for more information. The required object element references an interim_fix_object and the optional state element specifies the information to check.</xsd:documentation>
23 <xsd:appinfo>
24 <oval:element_mapping>
25 <oval:test>interim_fix_test</oval:test>
26 <oval:object>interim_fix_object</oval:object>
27 <oval:state>interim_fix_state</oval:state>
28 <oval:item target_namespace="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#aix">interim_fix_item</oval:item>
29 </oval:element_mapping>
30 </xsd:appinfo>
31 <xsd:appinfo>
32 <sch:pattern id="aix-def_interimfixtst">
33 <sch:rule context="aix-def:interim_fix_test/aix-def:object">
34 <sch:assert test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/aix-def:interim_fix_object/@id"><sch:value-of select="../@id"/> - the object child element of a <sch:name path=".."/> must reference a interim_fix_object</sch:assert>
35 </sch:rule>
36 <sch:rule context="aix-def:interim_fix_test/aix-def:state">
37 <sch:assert test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/aix-def:interim_fix_state/@id"><sch:value-of select="../@id"/> - the state child element of a <sch:name path=".."/> must reference a interim_fix_state</sch:assert>
38 </sch:rule>
39 </sch:pattern>
40 </xsd:appinfo>
41 </xsd:annotation>
42 <xsd:complexType>
43 <xsd:complexContent>
44 <xsd:extension base="oval-def:TestType">
45 <xsd:sequence>
46 <xsd:element name="object" type="oval-def:ObjectRefType" />
47 <xsd:element name="state" type="oval-def:StateRefType" minOccurs="0" maxOccurs="unbounded"/>
48 </xsd:sequence>
49 </xsd:extension>
50 </xsd:complexContent>
51 </xsd:complexType>
52 </xsd:element>
53 <xsd:element name="interim_fix_object" substitutionGroup="oval-def:object">
54 <xsd:annotation>
55 <xsd:documentation>The interim_fix_object element is used by a interim_fix_test to define the specific fix to be evaluated. Each object extends the standard ObjectType as defined in the oval-definitions-schema and one should refer to the ObjectType description for more information. The common set element allows complex objects to be created using filters and set logic. Again, please refer to the description of the set element in the oval-definitions-schema.</xsd:documentation>
56 <xsd:documentation>An interim_fix_object consists of a single vuid entity that identifies the fix to be used.</xsd:documentation>
57 <xsd:appinfo>
58 <sch:pattern id="aix-def_interim_fix_object_verify_filter_state">
59 <sch:rule context="aix-def:interim_fix_object//oval-def:filter">
60 <sch:let name="parent_object" value="ancestor::aix-def:interim_fix_object"/>
61 <sch:let name="parent_object_id" value="$parent_object/@id"/>
62 <sch:let name="state_ref" value="."/>
63 <sch:let name="reffed_state" value="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/>
64 <sch:let name="state_name" value="local-name($reffed_state)"/>
65 <sch:let name="state_namespace" value="namespace-uri($reffed_state)"/>
66 <sch:assert test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#aix') and ($state_name='interim_fix_state'))">State referenced in filter for <sch:value-of select="name($parent_object)"/> '<sch:value-of select="$parent_object_id"/>' is of the wrong type. </sch:assert>
67 </sch:rule>
68 </sch:pattern>
69 </xsd:appinfo>
70 </xsd:annotation>
71 <xsd:complexType>
72 <xsd:complexContent>
73 <xsd:extension base="oval-def:ObjectType">
74 <xsd:sequence>
75 <xsd:choice>
76 <xsd:element ref="oval-def:set"/>
77 <xsd:sequence>
78 <xsd:element name="vuid" type="oval-def:EntityObjectStringType">
79 <xsd:annotation>
80 <xsd:documentation>Virtually Unique ID. A combination of time and cpuid, this ID can be used to differentiate fixes that are otherwise identical.</xsd:documentation>
81 </xsd:annotation>
82 </xsd:element>
83 <xsd:element ref="oval-def:filter" minOccurs="0" maxOccurs="unbounded"/>
84 </xsd:sequence>
85 </xsd:choice>
86 </xsd:sequence>
87 </xsd:extension>
88 </xsd:complexContent>
89 </xsd:complexType>
90 </xsd:element>
91 <xsd:element name="interim_fix_state" substitutionGroup="oval-def:state">
92 <xsd:annotation>
93 <xsd:documentation>The interim_fix_state element defines the different information associated with a specific interim fix installed on the system. Please refer to the individual elements in the schema for more details about what each represents.</xsd:documentation>
94 </xsd:annotation>
95 <xsd:complexType>
96 <xsd:complexContent>
97 <xsd:extension base="oval-def:StateType">
98 <xsd:sequence>
99 <xsd:element name="vuid" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
100 <xsd:annotation>
101 <xsd:documentation>Virtually Unique ID. A combination of time and cpuid, this ID can be used to differentiate fixes that are otherwise identical.</xsd:documentation>
102 </xsd:annotation>
103 </xsd:element>
104 <xsd:element name="label" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
105 <xsd:annotation>
106 <xsd:documentation>Each efix that is installed on a given system has a unique efix label.</xsd:documentation>
107 </xsd:annotation>
108 </xsd:element>
109 <xsd:element name="abstract" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
110 <xsd:annotation>
111 <xsd:documentation>Describes the efix package.</xsd:documentation>
112 </xsd:annotation>
113 </xsd:element>
114 <xsd:element name="state" type="aix-def:EntityStateInterimFixStateType" minOccurs="0" maxOccurs="1">
115 <xsd:annotation>
116 <xsd:documentation>The the emergency fix state.</xsd:documentation>
117 </xsd:annotation>
118 </xsd:element>
119 </xsd:sequence>
120 </xsd:extension>
121 </xsd:complexContent>
122 </xsd:complexType>
123 </xsd:element>
124 <!-- =============================================================================== -->
125 <!-- =============================== FILESET TEST ================================ -->
126 <!-- =============================================================================== -->
127 <xsd:element name="fileset_test" substitutionGroup="oval-def:test">
128 <xsd:annotation>
129 <xsd:documentation>The fileset_test is used to check information associated with different filesets installed on the system. The information used by this test is modeled after the /usr/bin/lslpp -l command. It extends the standard TestType as defined in the oval-definitions-schema and one should refer to the TestType description for more information. The required object element references an inetd_object and the optional state element specifies the information to check.</xsd:documentation>
130 <xsd:appinfo>
131 <oval:element_mapping>
132 <oval:test>fileset_test</oval:test>
133 <oval:object>fileset_object</oval:object>
134 <oval:state>fileset_state</oval:state>
135 <oval:item target_namespace="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#aix">fileset_item</oval:item>
136 </oval:element_mapping>
137 </xsd:appinfo>
138 <xsd:appinfo>
139 <sch:pattern id="aix-def_filesettst">
140 <sch:rule context="aix-def:fileset_test/aix-def:object">
141 <sch:assert test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/aix-def:fileset_object/@id"><sch:value-of select="../@id"/> - the object child element of a fileset_test must reference a fileset_object</sch:assert>
142 </sch:rule>
143 <sch:rule context="aix-def:fileset_test/aix-def:state">
144 <sch:assert test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/aix-def:fileset_state/@id"><sch:value-of select="../@id"/> - the state child element of a fileset_test must reference a fileset_state</sch:assert>
145 </sch:rule>
146 </sch:pattern>
147 </xsd:appinfo>
148 </xsd:annotation>
149 <xsd:complexType>
150 <xsd:complexContent>
151 <xsd:extension base="oval-def:TestType">
152 <xsd:sequence>
153 <xsd:element name="object" type="oval-def:ObjectRefType" />
154 <xsd:element name="state" type="oval-def:StateRefType" minOccurs="0" maxOccurs="unbounded"/>
155 </xsd:sequence>
156 </xsd:extension>
157 </xsd:complexContent>
158 </xsd:complexType>
159 </xsd:element>
160 <xsd:element name="fileset_object" substitutionGroup="oval-def:object">
161 <xsd:annotation>
162 <xsd:documentation>The fileset_object element is used by a fileset_test to define the fileset to be evaluated. Each object extends the standard ObjectType as defined in the oval-definitions-schema and one should refer to the ObjectType description for more information. The common set element allows complex objects to be created using filters and set logic. Again, please refer to the description of the set element in the oval-definitions-schema.</xsd:documentation>
163 <xsd:documentation>A fileset_object consists of a single flstinst entity that identifies the fileset to be used.</xsd:documentation>
164 <xsd:appinfo>
165 <sch:pattern id="aix-def_fileset_object_verify_filter_state">
166 <sch:rule context="aix-def:fileset_object//oval-def:filter">
167 <sch:let name="parent_object" value="ancestor::aix-def:fileset_object"/>
168 <sch:let name="parent_object_id" value="$parent_object/@id"/>
169 <sch:let name="state_ref" value="."/>
170 <sch:let name="reffed_state" value="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/>
171 <sch:let name="state_name" value="local-name($reffed_state)"/>
172 <sch:let name="state_namespace" value="namespace-uri($reffed_state)"/>
173 <sch:assert test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#aix') and ($state_name='fileset_state'))">State referenced in filter for <sch:value-of select="name($parent_object)"/> '<sch:value-of select="$parent_object_id"/>' is of the wrong type. </sch:assert>
174 </sch:rule>
175 </sch:pattern>
176 </xsd:appinfo>
177 </xsd:annotation>
178 <xsd:complexType>
179 <xsd:complexContent>
180 <xsd:extension base="oval-def:ObjectType">
181 <xsd:sequence>
182 <xsd:choice>
183 <xsd:element ref="oval-def:set"/>
184 <xsd:sequence>
185 <xsd:element name="flstinst" type="oval-def:EntityObjectStringType">
186 <xsd:annotation>
187 <xsd:documentation>The flstinst entity represents the fileset name we want to check. For example, if we want to check the status of the fileset 'bos.rte', we can use fileset test and the flstinst entity will be 'bos.rte' or 'bot.*' or etc.</xsd:documentation>
188 </xsd:annotation>
189 </xsd:element>
190 <xsd:element ref="oval-def:filter" minOccurs="0" maxOccurs="unbounded"/>
191 </xsd:sequence>
192 </xsd:choice>
193 </xsd:sequence>
194 </xsd:extension>
195 </xsd:complexContent>
196 </xsd:complexType>
197 </xsd:element>
198 <xsd:element name="fileset_state" substitutionGroup="oval-def:state">
199 <xsd:annotation>
200 <xsd:documentation>The fileset_state element defines the different information associated with filesets installed on the system. Please refer to the individual elements in the schema for more details about what each represents.</xsd:documentation>
201 </xsd:annotation>
202 <xsd:complexType>
203 <xsd:complexContent>
204 <xsd:extension base="oval-def:StateType">
205 <xsd:sequence>
206 <xsd:element name="flstinst" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
207 <xsd:annotation>
208 <xsd:documentation>Represents the name of a fileset.</xsd:documentation>
209 </xsd:annotation>
210 </xsd:element>
211 <xsd:element name="level" type="oval-def:EntityStateVersionType" minOccurs="0" maxOccurs="1">
212 <xsd:annotation>
213 <xsd:documentation>Maintenance level (also known as version in Solaris or Linux) of a fileset. For example, "5.3.0.10" is the level for 'bos.txt.tfs' fileset in one AIX machine.</xsd:documentation>
214 </xsd:annotation>
215 </xsd:element>
216 <xsd:element name="state" type="aix-def:EntityStateFilesetStateType" minOccurs="0" maxOccurs="1">
217 <xsd:annotation>
218 <xsd:documentation>This gives the state of a fileset. The state can be 'APPLIED', 'APPLYING','BROKEN', 'COMMITTED', 'EFIX LOCKED', 'OBSOLETE', 'COMMITTING','REJECTING'. See the manpage of the 'lslpp' command more information.</xsd:documentation>
219 </xsd:annotation>
220 </xsd:element>
221 <xsd:element name="description" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
222 <xsd:annotation>
223 <xsd:documentation>Short description of a fileset.</xsd:documentation>
224 </xsd:annotation>
225 </xsd:element>
226 </xsd:sequence>
227 </xsd:extension>
228 </xsd:complexContent>
229 </xsd:complexType>
230 </xsd:element>
231 <!-- =============================================================================== -->
232 <!-- ================================ FIX TEST =================================== -->
233 <!-- =============================================================================== -->
234 <xsd:element name="fix_test" substitutionGroup="oval-def:test">
235 <xsd:annotation>
236 <xsd:documentation>The fix test is used to check information associated with different fixes installed on the system. The information being tested is based off the /usr/sbin/instfix -iavk command. It extends the standard TestType as defined in the oval-definitions-schema and one should refer to the TestType description for more information. The required object element references an fix_object and the optional state element specifies the information to check.</xsd:documentation>
237 <xsd:appinfo>
238 <oval:element_mapping>
239 <oval:test>fix_test</oval:test>
240 <oval:object>fix_object</oval:object>
241 <oval:state>fix_state</oval:state>
242 <oval:item target_namespace="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#aix">fix_item</oval:item>
243 </oval:element_mapping>
244 </xsd:appinfo>
245 <xsd:appinfo>
246 <sch:pattern id="aix-def_fixtst">
247 <sch:rule context="aix-def:fix_test/aix-def:object">
248 <sch:assert test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/aix-def:fix_object/@id"><sch:value-of select="../@id"/> - the object child element of a fix_test must reference a fix_object</sch:assert>
249 </sch:rule>
250 <sch:rule context="aix-def:fix_test/aix-def:state">
251 <sch:assert test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/aix-def:fix_state/@id"><sch:value-of select="../@id"/> - the state child element of a fix_test must reference a fix_state</sch:assert>
252 </sch:rule>
253 </sch:pattern>
254 </xsd:appinfo>
255 </xsd:annotation>
256 <xsd:complexType>
257 <xsd:complexContent>
258 <xsd:extension base="oval-def:TestType">
259 <xsd:sequence>
260 <xsd:element name="object" type="oval-def:ObjectRefType" />
261 <xsd:element name="state" type="oval-def:StateRefType" minOccurs="0" maxOccurs="unbounded"/>
262 </xsd:sequence>
263 </xsd:extension>
264 </xsd:complexContent>
265 </xsd:complexType>
266 </xsd:element>
267 <xsd:element name="fix_object" substitutionGroup="oval-def:object">
268 <xsd:annotation>
269 <xsd:documentation>The fix_object element is used by a fix test to define the specific fix to be evaluated. Each object extends the standard ObjectType as defined in the oval-definitions-schema and one should refer to the ObjectType description for more information. The common set element allows complex objects to be created using filters and set logic. Again, please refer to the description of the set element in the oval-definitions-schema.</xsd:documentation>
270 <xsd:documentation>A fix object consists of a single apar_number entity that identifies the fix to be used.</xsd:documentation>
271 <xsd:appinfo>
272 <sch:pattern id="aix-def_fix_object_verify_filter_state">
273 <sch:rule context="aix-def:fix_object//oval-def:filter">
274 <sch:let name="parent_object" value="ancestor::aix-def:fix_object"/>
275 <sch:let name="parent_object_id" value="$parent_object/@id"/>
276 <sch:let name="state_ref" value="."/>
277 <sch:let name="reffed_state" value="ancestor::oval-def:oval_definitions/oval-def:states/*[@id=$state_ref]"/>
278 <sch:let name="state_name" value="local-name($reffed_state)"/>
279 <sch:let name="state_namespace" value="namespace-uri($reffed_state)"/>
280 <sch:assert test="(($state_namespace='http://oval.mitre.org/XMLSchema/oval-definitions-5#aix') and ($state_name='fix_state'))">State referenced in filter for <sch:value-of select="name($parent_object)"/> '<sch:value-of select="$parent_object_id"/>' is of the wrong type. </sch:assert>
281 </sch:rule>
282 </sch:pattern>
283 </xsd:appinfo>
284 </xsd:annotation>
285 <xsd:complexType>
286 <xsd:complexContent>
287 <xsd:extension base="oval-def:ObjectType">
288 <xsd:sequence>
289 <xsd:choice>
290 <xsd:element ref="oval-def:set"/>
291 <xsd:sequence>
292 <xsd:element name="apar_number" type="oval-def:EntityObjectStringType">
293 <xsd:annotation>
294 <xsd:documentation>APAR is the short for 'Authorized Program Analysis Report'. APAR identifies and describes a software product defect. An APAR number can obtain a PTF (Program Temporary Fix) for the defect, if a PTF is available. An example of an apar_number is 'IY78751', it includes two alphabetic characters and a 5-digit integer.</xsd:documentation>
295 </xsd:annotation>
296 </xsd:element>
297 <xsd:element ref="oval-def:filter" minOccurs="0" maxOccurs="unbounded"/>
298 </xsd:sequence>
299 </xsd:choice>
300 </xsd:sequence>
301 </xsd:extension>
302 </xsd:complexContent>
303 </xsd:complexType>
304 </xsd:element>
305 <xsd:element name="fix_state" substitutionGroup="oval-def:state">
306 <xsd:annotation>
307 <xsd:documentation>The fix_state element defines the different information associated with a specific fix installed on the system. Please refer to the individual elements in the schema for more details about what each represents.</xsd:documentation>
308 </xsd:annotation>
309 <xsd:complexType>
310 <xsd:complexContent>
311 <xsd:extension base="oval-def:StateType">
312 <xsd:sequence>
313 <xsd:element name="apar_number" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
314 <xsd:annotation>
315 <xsd:documentation>APAR is the short for 'Authorized Program Analysis Report'. APAR identifies and describes a software product defect. An APAR number can obtain a PTF (Program Temporary Fix) for the defect, if a PTF is available. An example of an apar_number is 'IY78751', it includes two alphabetic characters and a 5-digit integer.</xsd:documentation>
316 </xsd:annotation>
317 </xsd:element>
318 <xsd:element name="abstract" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
319 <xsd:annotation>
320 <xsd:documentation>The abstract of an APAR. For instance, 'LL syas rXct are available even when not susea' is the abstract of APAR 'IY78751'.</xsd:documentation>
321 </xsd:annotation>
322 </xsd:element>
323 <xsd:element name="symptom" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
324 <xsd:annotation>
325 <xsd:documentation>The symptom text related to an APAR. For example, the symptom text for 'IY75211' is 'Daylight savings change for year 2007 and beyond'.</xsd:documentation>
326 </xsd:annotation>
327 </xsd:element>
328 <xsd:element name="installation_status" type="aix-def:EntityStateFixInstallationStatusType" minOccurs="0" maxOccurs="1">
329 <xsd:annotation>
330 <xsd:documentation>The installation status of files associated with the APAR. This cannot be got from the output of the instfix command directly. The last line of the output is 'All filesets for XXXXXXX were found', or 'Not all filesets for XXXXXXX were found' or 'No filesets which have fixes for XXXXXXX are currently installed.'. These can be translated to the correct value as defined by the EntityStateFixInstallationStatusType.</xsd:documentation>
331 </xsd:annotation>
332 </xsd:element>
333 </xsd:sequence>
334 </xsd:extension>
335 </xsd:complexContent>
336 </xsd:complexType>
337 </xsd:element>
338 <!-- =============================================================================== -->
339 <!-- =================================== NO TEST ================================= -->
340 <!-- =============================================================================== -->
341 <xsd:element name="no_test" substitutionGroup="oval-def:test">
342 <xsd:annotation>
343 <xsd:documentation>The no test is used to check information related to the /usr/sbin/no command and the parameters it manages. The no command sets or displays current or next boot values for network tuning parameters. The information being tested is based off the /usr/sbin/no -o command. It extends the standard TestType as defined in the oval-definitions-schema and one should refer to the TestType description for more information. The required object element references a no_object and the optional state element specifies the value to check for.</xsd:documentation>
344 <xsd:appinfo>
345 <sch:pattern id="aix-def_notst">
346 <sch:rule context="aix-def:no_test/aix-def:object">
347 <sch:assert test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/aix-def:no_object/@id"><sch:value-of select="../@id"/> - the object child element of a <sch:name path=".."/> must reference a no_object</sch:assert>
348 </sch:rule>
349 <sch:rule context="aix-def:no_test/aix-def:state">
350 <sch:assert test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/aix-def:no_state/@id"><sch:value-of select="../@id"/> - the state child element of a <sch:name path=".."/> must reference a no_state</sch:assert>
351 </sch:rule>
352 </sch:pattern>
353 </xsd:appinfo>
354 </xsd:annotation>
355 <xsd:complexType>
356 <xsd:complexContent>
357 <xsd:extension base="oval-def:TestType">
358 <xsd:sequence>
359 <xsd:element name="object" type="oval-def:ObjectRefType" />
360 <xsd:element name="state" type="oval-def:StateRefType" minOccurs="0" maxOccurs="unbounded"/>
361 </xsd:sequence>
362 </xsd:extension>
363 </xsd:complexContent>
364 </xsd:complexType>
365 </xsd:element>
366 <xsd:element name="no_object" substitutionGroup="oval-def:object">
367 <xsd:annotation>
368 <xsd:documentation>The no_object element is used by a no_test to define the specific parameter to be evaluated. Each object extends the standard ObjectType as defined in the oval-definitions-schema and one should refer to the ObjectType description for more information. The common set element allows complex objects to be created using filters and set logic. Again, please refer to the description of the set element in the oval-definitions-schema.</xsd:documentation>
369 <xsd:documentation>A no_object consists of a single tunable entity that identifies the parameter to be looked at.</xsd:documentation>
370 </xsd:annotation>
371 <xsd:complexType>
372 <xsd:complexContent>
373 <xsd:extension base="oval-def:ObjectType">
374 <xsd:sequence>
375 <xsd:choice>
376 <xsd:element ref="oval-def:set"/>
377 <xsd:sequence>
378 <xsd:element name="tunable" type="oval-def:EntityObjectStringType">
379 <xsd:annotation>
380 <xsd:documentation>The tunable entity holds the name of the tunable parameter to be queried by the /usr/sbin/no command. Examples include ip_forwarding and tcp_keepalive_interval.</xsd:documentation>
381 </xsd:annotation>
382 </xsd:element>
383 <xsd:element ref="oval-def:filter" minOccurs="0" maxOccurs="unbounded"/>
384 </xsd:sequence>
385 </xsd:choice>
386 </xsd:sequence>
387 </xsd:extension>
388 </xsd:complexContent>
389 </xsd:complexType>
390 </xsd:element>
391 <xsd:element name="no_state" substitutionGroup="oval-def:state">
392 <xsd:annotation>
393 <xsd:documentation>The no_state element defines the different information associated with a specific call to /usr/sbin/no. Please refer to the individual elements in the schema for more details about what each represents.</xsd:documentation>
394 </xsd:annotation>
395 <xsd:complexType>
396 <xsd:complexContent>
397 <xsd:extension base="oval-def:StateType">
398 <xsd:sequence>
399 <xsd:element name="tunable" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
400 <xsd:annotation>
401 <xsd:documentation>The tunable entity is used to check the name of the tunable parameter that was used by the /usr/sbin/no command. Examples include ip_forwarding and tcp_keepalive_interval.</xsd:documentation>
402 </xsd:annotation>
403 </xsd:element>
404 <xsd:element name="value" type="oval-def:EntityStateAnySimpleType" minOccurs="0" maxOccurs="1">
405 <xsd:annotation>
406 <xsd:documentation>The value entity defines the value to check against the tunable parameter being examined.</xsd:documentation>
407 </xsd:annotation>
408 </xsd:element>
409 </xsd:sequence>
410 </xsd:extension>
411 </xsd:complexContent>
412 </xsd:complexType>
413 </xsd:element>
414 <!-- =============================================================================== -->
415 <!-- =============================== OSLEVEL TEST ================================ -->
416 <!-- =============================================================================== -->
417 <xsd:element name="oslevel_test" substitutionGroup="oval-def:test">
418 <xsd:annotation>
419 <xsd:documentation>The oslevel test reveals information about the release and maintenance level of AIX operating system. This information can be retrieved by the /usr/bin/oslevel -r command. It extends the standard TestType as defined in the oval-definitions-schema and one should refer to the TestType description for more information. The required object element references an oslevel_object and the optional state element specifies the metadata to check.</xsd:documentation>
420 <xsd:appinfo>
421 <sch:pattern id="aix-def_osleveltst">
422 <sch:rule context="aix-def:oslevel_test/aix-def:object">
423 <sch:assert test="@object_ref=ancestor::oval-def:oval_definitions/oval-def:objects/aix-def:oslevel_object/@id"><sch:value-of select="../@id"/> - the object child element of a oslevel_test must reference a oslevel_object</sch:assert>
424 </sch:rule>
425 <sch:rule context="aix-def:oslevel_test/aix-def:state">
426 <sch:assert test="@state_ref=ancestor::oval-def:oval_definitions/oval-def:states/aix-def:oslevel_state/@id"><sch:value-of select="../@id"/> - the state child element of a oslevel_test must reference a oslevel_state</sch:assert>
427 </sch:rule>
428 </sch:pattern>
429 </xsd:appinfo>
430 </xsd:annotation>
431 <xsd:complexType>
432 <xsd:complexContent>
433 <xsd:extension base="oval-def:TestType">
434 <xsd:sequence>
435 <xsd:element name="object" type="oval-def:ObjectRefType" />
436 <xsd:element name="state" type="oval-def:StateRefType" minOccurs="0" maxOccurs="unbounded"/>
437 </xsd:sequence>
438 </xsd:extension>
439 </xsd:complexContent>
440 </xsd:complexType>
441 </xsd:element>
442 <xsd:element name="oslevel_object" substitutionGroup="oval-def:object">
443 <xsd:annotation>
444 <xsd:documentation>The oslevel_object element is used by an oslevel test to define those objects to be evaluated based on a specified state. There is actually only one object relating to oslevel and this is the system as a whole. Therefore, there are no child entities defined. Any OVAL Test written to check oslevel will reference the same oslevel_object which is basically an empty object element.</xsd:documentation>
445 </xsd:annotation>
446 <xsd:complexType>
447 <xsd:complexContent>
448 <xsd:extension base="oval-def:ObjectType"/>
449 </xsd:complexContent>
450 </xsd:complexType>
451 </xsd:element>
452 <xsd:element name="oslevel_state" substitutionGroup="oval-def:state">
453 <xsd:annotation>
454 <xsd:documentation>The oslevel_state element defines the information about maintenance level (system version). Please refer to the individual elements in the schema for more details about what each represents.</xsd:documentation>
455 </xsd:annotation>
456 <xsd:complexType>
457 <xsd:complexContent>
458 <xsd:extension base="oval-def:StateType">
459 <xsd:sequence>
460 <xsd:element name="maintenance_level" type="oval-def:EntityStateVersionType">
461 <xsd:annotation>
462 <xsd:documentation>This is the maintenance level (system version) of current AIX operating system.</xsd:documentation>
463 </xsd:annotation>
464 </xsd:element>
465 </xsd:sequence>
466 </xsd:extension>
467 </xsd:complexContent>
468 </xsd:complexType>
469 </xsd:element>
470 <!-- =============================================================================== -->
471 <!-- =============================================================================== -->
472 <!-- =============================================================================== -->
473 <xsd:complexType name="EntityStateFilesetStateType">
474 <xsd:annotation>
475 <xsd:documentation>The EntityStateFilesetStateType complex type defines the different values that are valid for the state entity of a fileset state. The empty string is also allowed as a valid value to support an empty element that is found when a variable reference is used within the state entity. Note that when using pattern matches and variables care must be taken to ensure that the regular expression and variable values align with the enumerated values.</xsd:documentation>
476 </xsd:annotation>
477 <xsd:simpleContent>
478 <xsd:restriction base="oval-def:EntityStateStringType">
479 <xsd:enumeration value="APPLIED">
480 <xsd:annotation>
481 <xsd:documentation>The specified fileset is installed on the system. The APPLIED state means that the fileset can be rejected with the installp command and the previous level of the fileset restored. This state is only valid for Version 4 fileset updates and 3.2 migrated filesets.</xsd:documentation>
482 </xsd:annotation>
483 </xsd:enumeration>
484 <xsd:enumeration value="APPLYING">
485 <xsd:annotation>
486 <xsd:documentation>An attempt was made to apply the specified fileset, but it did not complete successfully, and cleanup was not performed.</xsd:documentation>
487 </xsd:annotation>
488 </xsd:enumeration>
489 <xsd:enumeration value="BROKEN">
490 <xsd:annotation>
491 <xsd:documentation>The specified fileset or fileset update is broken and should be reinstalled before being used.</xsd:documentation>
492 </xsd:annotation>
493 </xsd:enumeration>
494 <xsd:enumeration value="COMMITTED">
495 <xsd:annotation>
496 <xsd:documentation>The specified fileset is installed on the system. The COMMITTED state means that a commitment has been made to this level of the software. A committed fileset update cannot be rejected, but a committed fileset base level and its updates (regardless of state) can be removed or deinstalled by the installp command.</xsd:documentation>
497 </xsd:annotation>
498 </xsd:enumeration>
499 <xsd:enumeration value="COMMITTING">
500 <xsd:annotation>
501 <xsd:documentation>An attempt was made to commit the specified fileset, but it did not complete successfully, and cleanup was not performed.</xsd:documentation>
502 </xsd:annotation>
503 </xsd:enumeration>
504 <xsd:enumeration value="EFIX LOCKED">
505 <xsd:annotation>
506 <xsd:documentation>The specified fileset was installed sucessfully and locked by the interim fix (interim fix) manager.</xsd:documentation>
507 </xsd:annotation>
508 </xsd:enumeration>
509 <xsd:enumeration value="OBSOLETE">
510 <xsd:annotation>
511 <xsd:documentation>The specified fileset was installed with an earlier version of the operating system but has been replaced by a repackaged (renamed) newer version. Some of the files that belonged to this fileset have been replaced by versions from the repackaged fileset.</xsd:documentation>
512 </xsd:annotation>
513 </xsd:enumeration>
514 <xsd:enumeration value="REJECTING">
515 <xsd:annotation>
516 <xsd:documentation>An attempt was made to reject the specified fileset, but it did not complete successfully, and cleanup was not performed.</xsd:documentation>
517 </xsd:annotation>
518 </xsd:enumeration>
519 <xsd:enumeration value="">
520 <xsd:annotation>
521 <xsd:documentation>The empty string value is permitted here to allow for empty elements associated with variable references.</xsd:documentation>
522 </xsd:annotation>
523 </xsd:enumeration>
524 </xsd:restriction>
525 </xsd:simpleContent>
526 </xsd:complexType>
527 <xsd:complexType name="EntityStateFixInstallationStatusType">
528 <xsd:annotation>
529 <xsd:documentation>The EntityStateFixInstallationStatusType complex type defines the different values that are valid for the installation_status entity of a fix_state state. The empty string is also allowed as a valid value to support an empty element that is found when a variable reference is used within the installation_status entity. Note that when using pattern matches and variables care must be taken to ensure that the regular expression and variable values align with the enumerated values.</xsd:documentation>
530 </xsd:annotation>
531 <xsd:simpleContent>
532 <xsd:restriction base="oval-def:EntityStateStringType">
533 <xsd:enumeration value="ALL_INSTALLED">
534 <xsd:annotation>
535 <xsd:documentation>All filesets for XXXXXXX were found</xsd:documentation>
536 </xsd:annotation>
537 </xsd:enumeration>
538 <xsd:enumeration value="SOME_INSTALLED">
539 <xsd:annotation>
540 <xsd:documentation>Not all filesets for XXXXXXX were found</xsd:documentation>
541 </xsd:annotation>
542 </xsd:enumeration>
543 <xsd:enumeration value="NONE_INSTALLED">
544 <xsd:annotation>
545 <xsd:documentation>No filesets which have fixes for XXXXXXX are currently installed.</xsd:documentation>
546 </xsd:annotation>
547 </xsd:enumeration>
548 <xsd:enumeration value="">
549 <xsd:annotation>
550 <xsd:documentation>The empty string value is permitted here to allow for empty elements associated with variable references.</xsd:documentation>
551 </xsd:annotation>
552 </xsd:enumeration>
553 </xsd:restriction>
554 </xsd:simpleContent>
555 </xsd:complexType>
556 <xsd:complexType name="EntityStateInterimFixStateType">
557 <xsd:annotation>
558 <xsd:documentation>The EntityStateInterimFixStateType complex type defines the different values that are valid for the state entity of a interim_fix_state state. Please refer to the AIX documentation of Emergency Fix States. The empty string is also allowed as a valid value to support an empty element that is found when a variable reference is used within the state entity. Note that when using pattern matches and variables care must be taken to ensure that the regular expression and variable values align with the enumerated values.</xsd:documentation>
559 </xsd:annotation>
560 <xsd:simpleContent>
561 <xsd:restriction base="oval-def:EntityStateStringType">
562 <xsd:enumeration value="STABLE">
563 <xsd:annotation>
564 <xsd:documentation>The efix was installed with a standard installation, and successfully completed the last installation operation.</xsd:documentation>
565 </xsd:annotation>
566 </xsd:enumeration>
567 <xsd:enumeration value="MOUNTED">
568 <xsd:annotation>
569 <xsd:documentation>The efix was installed with a mount installation operation, and successfully completed the last installation or mount operation.</xsd:documentation>
570 </xsd:annotation>
571 </xsd:enumeration>
572 <xsd:enumeration value="UNMOUNTED">
573 <xsd:annotation>
574 <xsd:documentation>The efix was installed with a mount installation operation and one or more efix files were unmounted in a previous emgr command operation.</xsd:documentation>
575 </xsd:annotation>
576 </xsd:enumeration>
577 <xsd:enumeration value="BROKEN">
578 <xsd:annotation>
579 <xsd:documentation>An unrecoverable error occurred during an installation or removal operation. The status of the efix is unreliable.</xsd:documentation>
580 </xsd:annotation>
581 </xsd:enumeration>
582 <xsd:enumeration value="INSTALLING">
583 <xsd:annotation>
584 <xsd:documentation>The efix is in the process of installing.</xsd:documentation>
585 </xsd:annotation>
586 </xsd:enumeration>
587 <xsd:enumeration value="REBOOT_REQUIRED">
588 <xsd:annotation>
589 <xsd:documentation>The efix was installed successfully and requires a reboot to fully integrate into the target system.</xsd:documentation>
590 </xsd:annotation>
591 </xsd:enumeration>
592 <xsd:enumeration value="REMOVING">
593 <xsd:annotation>
594 <xsd:documentation>The efix is in the process of being removed.</xsd:documentation>
595 </xsd:annotation>
596 </xsd:enumeration>
597 <xsd:enumeration value="">
598 <xsd:annotation>
599 <xsd:documentation>The empty string value is permitted here to allow for empty elements associated with variable references.</xsd:documentation>
600 </xsd:annotation>
601 </xsd:enumeration>
602 </xsd:restriction>
603 </xsd:simpleContent>
604 </xsd:complexType>
605 </xsd:schema>
Something went wrong with that request. Please try again.