Definition Type: Element
Name: version_state
Namespace: http://oval.mitre.org/XMLSchema/oval-definitions-5#catos
Type: oval-def:StateType
Containing Schema: catos-definitions-schema.xsd
Abstract
Documentation:
The version_state element defines the version information held within a Cisco CatOS software release. The swtich_series element specifies the Catalyst switch series. The image_name element specifies the name of the CatOS image. The catos_major_release, catos_individual_release and catos_version_id elements specify the software version information of the module. For instance, if the CatOS version is 8.5(4c)GLX, then catos_major_release is 8.5GLX, catos_individual_release is 4 and catos_version_id is c.
Collapse XSD Schema Diagram:
Drilldown into catos_version_id in schema catos-definitions-schema_xsd Drilldown into catos_individual_release in schema catos-definitions-schema_xsd Drilldown into catos_major_release in schema catos-definitions-schema_xsd Drilldown into image_name in schema catos-definitions-schema_xsd Drilldown into swtich_series in schema catos-definitions-schema_xsd Drilldown into notes in schema oval-definitions-schema_xsd Drilldown into Signature in schema xmldsig-core-schema_xsd Drilldown into deprecated in schema oval-definitions-schema_xsd Drilldown into comment in schema oval-definitions-schema_xsd Drilldown into operator in schema oval-definitions-schema_xsd Drilldown into version in schema oval-definitions-schema_xsd Drilldown into id in schema oval-definitions-schema_xsd Drilldown into StateType in schema oval-definitions-schema_xsdXSD Diagram of version_state in schema catos-definitions-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="version_state" substitutionGroup="oval-def:state">
    <xsd:annotation>
        <xsd:documentation>The version_state element defines the version information held within a Cisco CatOS software release. The swtich_series element specifies the Catalyst switch series. The image_name element specifies the name of the CatOS image. The catos_major_release, catos_individual_release and catos_version_id elements specify the software version information of the module. For instance, if the CatOS version is 8.5(4c)GLX, then catos_major_release is 8.5GLX, catos_individual_release is 4 and catos_version_id is c.</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:complexContent>
            <xsd:extension base="oval-def:StateType">
                <xsd:sequence>
                    <xsd:element name="swtich_series" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>A Catalyst switch series to check for.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="catosverstedevice_series" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="catos-def:version_state/catos-def:swtich_series">
                                        <sch:assert test="not(@datatype) or @datatype='string'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the swtich_series entity of a version_state should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="image_name" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The name of a CatOS image to check for.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="catosversteimage_name" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="catos-def:version_state/catos-def:image_name">
                                        <sch:assert test="not(@datatype) or @datatype='string'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the image_name entity of a version_state should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="catos_major_release" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The major release of CatOS to check for.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="catosverstecatos_major_release" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="catos-def:version_state/catos-def:catos_major_release">
                                        <sch:assert test="@datatype='version'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the catos_major_release entity of a version_state should be 'version'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="catos_individual_release" type="oval-def:EntityStateIntType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The individual release of CatOS to check for.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="catosverstecatos_individual_release" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="catos-def:version_state/catos-def:catos_individual_release">
                                        <sch:assert test="@datatype='int'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the catos_individual_release entity of a version_state should be 'int'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="catos_version_id" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The version id of Cat OS to check for.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="catosverstecatos_version_id" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="catos-def:version_state/catos-def:catos_version_id">
                                        <sch:assert test="not(@datatype) or @datatype='string'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the catos_version_id entity of a version_state should be 'string'</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
Signature ds:Signature 0 1
notes oval-def:notes 0 1
swtich_series catos-def:swtich_series 0 1
image_name catos-def:image_name 0 1
catos_major_release catos-def:catos_major_release 0 1
catos_individual_release catos-def:catos_individual_release 0 1
catos_version_id catos-def:catos_version_id 0 1
Collapse Child Attributes:
Name Type Default Value Use
id oval-def:id Required
version oval-def:version Required
operator oval-def:operator AND Optional
comment oval-def:comment Optional
deprecated oval-def:deprecated false Optional
Collapse Derivation Tree:
Collapse References:
oval-def:state