- Open Vulnerability and Assessment Language -
Element Dictionary

The following is a description of the elements, types, and attributes that compose the Apache 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.

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.



< httpd_test >

The httpd test is used to check the version of an installed httpd binary. 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 httpd_test and the optional state element specifies the data to check. The evaluation of the test is guided by the check attribute that is inherited from the TestType.

Child Elements Type MinOccurs MaxOccurs
object oval-def:ObjectRefType 1 1
state oval-def:StateRefType 0 unbounded

< httpd_object >

The httpd_object element is used by a httpd test to define the different httpd binary installed on a system. There is actually only one object relating to this and it is the collection of all httpd binaries. Therefore, there are no child entities defined. Any OVAL Test written to check version will reference the same version_object which is basically an empty object element. A tool that implements the httpd_test and collects the httpd_object must know how to find all the httpd binaries on the system and verify that they are in fact httpd binaries.


< httpd_state >

The httpd_state element defines information associated with a specific httpd binary.

Child Elements Type MinOccurs MaxOccurs
path oval-def:EntityStateStringType 0 1
binary_name oval-def:EntityStateStringType 0 1
version oval-def:EntityStateStringType 0 1



< version_test >

Deprecated As Of Version: 5.1
Reason: Replaced by the httpd_test. The httpd_test was created to replace the version_test as it does not properly convey which Apache products this test works with. This is important because Apache has numerous products, yet the test was only inteded to be used with the Apache HTTP server (httpd). See the httpd_test.
Comment: This test has been deprecated and will be removed in version 6.0 of the language.

The version test is used to check the version of Apache installed system. 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 version_object and the optional state element specifies the data to check. The evaluation of the test is guided by the check attribute that is inherited from the TestType.

Child Elements Type MinOccurs MaxOccurs
object oval-def:ObjectRefType 1 1
state oval-def:StateRefType 0 unbounded

< version_object >

Deprecated As Of Version: 5.1
Reason: Replaced by the httpd_object. The httpd_object was created to replace the version_object as it does not properly convey which Apache products this object works with. This is important because Apache has numerous products, yet the object was only inteded to be used with the Apache HTTP server (httpd). See the httpd_object.
Comment: This object has been deprecated and will be removed in version 6.0 of the language.

The version_object element is used by a version test to define the different version information associated with an Apache installation. There is actually only one object relating to version and this is the Apche installation as a whole. Therefore, there are no child entities defined. Any OVAL Test written to check version will reference the same version_object which is basically an empty object element.


< version_state >

Deprecated As Of Version: 5.1
Reason: Replaced by the httpd_state. The httpd_state was created to replace the version_state as it does not properly convey which Apache products this state works with. This is important because Apache has numerous products, yet the state was only inteded to be used with the Apache HTTP server (httpd). See the httpd_state.
Comment: This state has been deprecated and will be removed in version 6.0 of the language.

The version_state element defines the version information of an Apache installation. This is obtained by running 'httpd -v'.

Child Elements Type MinOccurs MaxOccurs
version oval-def:EntityStateStringType 0 1