Definition Type: Element
Name: snmp_item
Namespace: http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#ios
Type: oval-sc:ItemType
Containing Schema: ios-system-characteristics-schema.xsd
Abstract
Documentation:
Stores results from collecting lines under the global context associated with snmp.
Collapse XSD Schema Diagram:
Drilldown into community_name in schema ios-system-characteristics-schema_xsd Drilldown into access_list in schema ios-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 snmp_item in schema ios-system-characteristics-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="snmp_item" substitutionGroup="oval-sc:item">
    <xsd:annotation>
        <xsd:documentation>Stores results from collecting lines under the global context associated with snmp.</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:complexContent>
            <xsd:extension base="oval-sc:ItemType">
                <xsd:sequence>
                    <xsd:element name="access_list" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="snmpitemaccess_list" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="ios-sc:snmp_item/ios-sc:access_list">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the access_list entity of a snmp_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="community_name" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="snmpitemcommunity_name" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="ios-sc:snmp_item/ios-sc:community_name">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the community_name entity of a snmp_item 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
message oval-sc:message 0 1
access_list ios-sc:access_list 0 1
community_name ios-sc:community_name 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