Definition Type: Element
Name: patch_item
Namespace: http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#esx
Type: oval-sc:ItemType
Containing Schema: esx-system-characteristics-schema.xsd
Abstract
Documentation:
Installation information about a specific patch in the VMware ESX server. This information can be retrieved by the "esxupdate query | grep ESX-xxxxxxx" command.
Collapse XSD Schema Diagram:
Drilldown into status in schema esx-system-characteristics-schema_xsd Drilldown into patch_number in schema esx-system-characteristics-schema_xsd Drilldown into message in schema oval-system-characteristics-schema_xsd Drilldown into status in schema oval-system-characteristics-schema_xsd Drilldown into id in schema oval-system-characteristics-schema_xsd Drilldown into ItemType in schema oval-system-characteristics-schema_xsdXSD Diagram of patch_item in schema esx-system-characteristics-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="patch_item" substitutionGroup="oval-sc:item">
    <xsd:annotation>
        <xsd:documentation>Installation information about a specific patch in the VMware ESX server. This information can be retrieved by the "esxupdate query | grep ESX-xxxxxxx" command.</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:complexContent>
            <xsd:extension base="oval-sc:ItemType">
                <xsd:sequence>
                    <xsd:element name="patch_number" type="oval-sc:EntityItemIntType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>This is the patch number which identifies the patch being checked in current VMware ESX server.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="esxpatchitempatch_number" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="esx-sc:patch_item/esx-sc:patch_number">
                                        <sch:assert test="@datatype='int'">item <sch:value-of select="../@id" /> - datatype attribute for the patch_number entity of a patch_item should be 'int'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="status" type="oval-sc:EntityItemBoolType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>This is the installtaion status of a specific patch which is checked in current VMware ESX server.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="esxpatchitemstatus" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="esx-sc:patch_item/esx-sc:status">
                                        <sch:assert test="@datatype='boolean'">item <sch:value-of select="../@id" /> - datatype attribute for the status entity of a patch_item should be 'boolean'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
</xsd:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
message oval-sc:message 0 1
patch_number esx-sc:patch_number 0 1
status esx-sc:status 0 1
Collapse Child Attributes:
Name Type Default Value Use
id oval-sc:id Required
status oval-sc:status exists Optional
Collapse Derivation Tree:
Collapse References:
oval-sc:item