Definition Type: Element
Name: interface_item
Namespace: http://oval.mitre.org/XMLSchema/system_characteristics#redhat
Type: system_characteristics:itemType
Containing Schema: redhat-system-characteristics-schema.xsd
Abstract
Documentation:
This element has been deprecated in version 4.1 of the redhat-system-characterics-schema and will be removed completely in version 5. It is recommended that all future OVAL Content use the interface_item found in the unix-system-characterics-schema. Collect data about the interfaces on a system.
Collapse XSD Schema Diagram:
Drilldown into data in schema redhat-system-characteristics-schema_xsd Drilldown into object in schema redhat-system-characteristics-schema_xsd Drilldown into message in schema system-characteristics-schema_xsd Drilldown into id in schema system-characteristics-schema_xsd Drilldown into itemType in schema system-characteristics-schema_xsdXSD Diagram of interface_item in schema redhat-system-characteristics-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="interface_item" substitutionGroup="system_characteristics:item">
    <xsd:annotation>
        <xsd:documentation>This element has been deprecated in version 4.1 of the redhat-system-characterics-schema and will be removed completely in version 5.  It is recommended that all future OVAL Content use the interface_item found in the unix-system-characterics-schema.</xsd:documentation>
        <xsd:documentation>Collect data about the interfaces on a system.</xsd:documentation>
        <xsd:appinfo>
            <item_name>Interface Item</item_name>
            <extends>itemType</extends>
            <valid_sections>message, object, data</valid_sections>
            <example>
            </example>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:complexContent>
            <xsd:extension base="system_characteristics:itemType">
                <xsd:sequence>
                    <xsd:element name="object" minOccurs="1" maxOccurs="1">
                        <xsd:complexType>
                            <xsd:complexContent>
                                <xsd:extension base="system_characteristics:objectType">
                                    <xsd:sequence>
                                        <xsd:element name="name" type="system_characteristics:objectStringType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>This is the interface (eth0, eth1, etc.) name to check.</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>Interface Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>string</content>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                    </xsd:sequence>
                                </xsd:extension>
                            </xsd:complexContent>
                        </xsd:complexType>
                    </xsd:element>
                    <xsd:element name="data" minOccurs="0" maxOccurs="1">
                        <xsd:complexType>
                            <xsd:complexContent>
                                <xsd:extension base="system_characteristics:dataType">
                                    <xsd:sequence>
                                        <xsd:element name="hardware_addr" type="system_characteristics:dataStringType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>This is the hardware or MAC address of the physical network card.</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>Interface Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>string</content>
                                                    <valid_datatypes>string</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="inet_addr" type="system_characteristics:dataStringType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>This is the IP address of the interface.</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>Interface Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>string</content>
                                                    <valid_datatypes>string</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="broadcast_addr" type="system_characteristics:dataStringType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>This is the broadcast IP address for this interface's network, like 192.168.255.255.</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>Interface Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>string</content>
                                                    <valid_datatypes>string</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="netmask" type="system_characteristics:dataStringType" minOccurs="1" maxOccurs="1">
                                            <xsd:annotation>
                                                <xsd:documentation>This is the bitmask used to calculate the inteface's IP network.  The network number is calculated by bitwise-ANDing this with the IP address.  The host number on that network is calculated by bitwise-XORing this with the IP address.</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>Interface Item</parent_item>
                                                    <cardinality>1</cardinality>
                                                    <content>string</content>
                                                    <valid_datatypes>string</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element name="flag" type="system_characteristics:dataStringType" minOccurs="1" maxOccurs="unbounded">
                                            <xsd:annotation>
                                                <xsd:documentation>This is the interface flag line, which generally contains flags like "UP" to denote an active interface, "PROMISC" to note that the interface is listening for Ethernet frames not specifically addressed to it, and others.</xsd:documentation>
                                                <xsd:appinfo>
                                                    <parent_item>Interface Item</parent_item>
                                                    <cardinality>1-n</cardinality>
                                                    <content>string</content>
                                                    <valid_datatypes>string</valid_datatypes>
                                                </xsd:appinfo>
                                            </xsd:annotation>
                                        </xsd:element>
                                    </xsd:sequence>
                                </xsd:extension>
                            </xsd:complexContent>
                        </xsd:complexType>
                    </xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
</xsd:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
message system_characteristics:message 0 1
object redhat:object 1 1
data redhat:data 0 1
Collapse Child Attributes:
Name Type Default Value Use
id system_characteristics:id Required
Collapse Derivation Tree:
Collapse References:
system_characteristics:item