Definition Type: ComplexType
Name: ObjectComponentType
Namespace: http://oval.mitre.org/XMLSchema/oval-definitions-5
Containing Schema: oval-definitions-schema.xsd
Abstract
Documentation:
The ObjectComponentType complex type defines a specific value on the local system to obtain. The required obj_id provides a reference to an existing OVAL Object declaration. This object defines the object to examine and eventually pull the value from. The required item_field defines which piece of data to retrieve from the object referenced by the obj_id. For example, if the obj_id references a file, the item_field may define the version as the piece of information to use as the value of the variable. The data to retrieve can be found in the OVAL System Characteristics file under the items associated with the object referenced by obj_id.
Collapse XSD Schema Diagram:
Drilldown into item_field in schema oval-definitions-schema_xsd Drilldown into object_ref in schema oval-definitions-schema_xsdXSD Diagram of ObjectComponentType in schema oval-definitions-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:complexType name="ObjectComponentType">
    <xsd:annotation>
        <xsd:documentation>The ObjectComponentType complex type defines a specific value on the local system to obtain. The required obj_id provides a reference to an existing OVAL Object declaration. This object defines the object to examine and eventually pull the value from. The required item_field defines which piece of data to retrieve from the object referenced by the obj_id. For example, if the obj_id references a file, the item_field may define the version as the piece of information to use as the value of the variable. The data to retrieve can be found in the OVAL System Characteristics file under the items associated with the object referenced by obj_id.</xsd:documentation>
        <xsd:appinfo>
            <sch:pattern id="item_field" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                <sch:rule context="oval-def:object_component">
                    <sch:assert test="@item_field!=''">The item_field attribute of an object_component of variable <sch:value-of select="../../@id" /> can not be empty.</sch:assert>
                </sch:rule>
            </sch:pattern>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:attribute name="object_ref" type="oval:ObjectIDPattern" use="required" />
    <xsd:attribute name="item_field" type="xsd:string" use="required" />
</xsd:complexType>
Collapse Child Attributes:
Name Type Default Value Use
object_ref oval-def:object_ref Required
item_field oval-def:item_field Required
Collapse Derivation Tree:
Collapse References:
oval-def:object_component