Definition Type: Element
Name: inetlisteningserver_item
Namespace: http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#macos
Type: oval-sc:ItemType
Containing Schema: macos-system-characteristics-schema.xsd
Abstract
Documentation:
An inet listening server item stores the results of checking for network servers currently active on a system.
Collapse XSD Schema Diagram:
Drilldown into user_id in schema macos-system-characteristics-schema_xsd Drilldown into protocol in schema macos-system-characteristics-schema_xsd Drilldown into pid in schema macos-system-characteristics-schema_xsd Drilldown into foreign_port in schema macos-system-characteristics-schema_xsd Drilldown into foreign_full_address in schema macos-system-characteristics-schema_xsd Drilldown into foreign_address in schema macos-system-characteristics-schema_xsd Drilldown into local_port in schema macos-system-characteristics-schema_xsd Drilldown into local_full_address in schema macos-system-characteristics-schema_xsd Drilldown into local_address in schema macos-system-characteristics-schema_xsd Drilldown into program_name in schema macos-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 inetlisteningserver_item in schema macos-system-characteristics-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="inetlisteningserver_item" substitutionGroup="oval-sc:item">
    <xsd:annotation>
        <xsd:documentation>An inet listening server item stores the results of checking for network servers currently active on a system.</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:complexContent>
            <xsd:extension base="oval-sc:ItemType">
                <xsd:sequence>
                    <xsd:element name="program_name" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>This is the name of the communicating program.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="macosilsitemprogram_name" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="macos-sc:inetlisteningserver_item/macos-sc:program_name">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the program_name entity of an inetlisteningserver_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="local_address" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>This is the IP address of the network interface on which the program listens.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="macosilsitemlocal_address" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="macos-sc:inetlisteningserver_item/macos-sc:local_address">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the local_address entity of an inetlisteningserver_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="local_full_address" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>This is the IP address and network port on which the program listens, equivalent to local_address:local_port.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="macosilsitemlocal_full_address" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="macos-sc:inetlisteningserver_item/macos-sc:local_full_address">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the local_full_address entity of an inetlisteningserver_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="local_port" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>This is the TCP or UDP port on which the program listens. Note that this is not a list -- if a program listens on multiple ports, or on a combination of TCP and UDP, each will have its own entry in the table data stored by this item.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="macosilsitemlocal_port" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="macos-sc:inetlisteningserver_item/macos-sc:local_port">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the local_port entity of an inetlisteningserver_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="foreign_address" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>This is the IP address with which the program is communicating, or with which it will communicate, in the case of a listening server.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="macosilsitemforeign_address" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="macos-sc:inetlisteningserver_item/macos-sc:foreign_address">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the foreign_address entity of an inetlisteningserver_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="foreign_full_address" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>This is the IP address and network port to which the program is communicating or will accept communications from, equivalent to foreign_address:foreign_port.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="macosilsitemforeign_full_address" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="macos-sc:inetlisteningserver_item/macos-sc:foreign_full_address">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the foreign_full_address entity of an inetlisteningserver_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="foreign_port" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>This is the TCP or UDP port to which the program communicates. In the case of a listening program accepting new connections, this is usually a *.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="macosilsitemforeign_port" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="macos-sc:inetlisteningserver_item/macos-sc:foreign_port">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the foreign_port entity of an inetlisteningserver_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="pid" type="oval-sc:EntityItemIntType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>This is the process ID of the process. The process in question is that of the program communicating on the network.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="macosilsitempid" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="macos-sc:inetlisteningserver_item/macos-sc:pid">
                                        <sch:assert test="not(@datatype) or @datatype='int'">item <sch:value-of select="../@id" /> - datatype attribute for the pid entity of an inetlisteningserver_item should be 'int'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="protocol" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>This is the transport-layer protocol, in lowercase: tcp or udp.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="macosilsitemprotocol" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="macos-sc:inetlisteningserver_item/macos-sc:protocol">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the protocol entity of an inetlisteningserver_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="user_id" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>The numeric user id, or uid, is the third column of each user's entry in /etc/passwd. It represents the owner, and thus privilege level, of the specified program.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="macosilsitemuser_id" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="macos-sc:inetlisteningserver_item/macos-sc:user_id">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the user_id entity of an inetlisteningserver_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
program_name macos-sc:program_name 0 1
local_address macos-sc:local_address 0 1
local_full_address macos-sc:local_full_address 0 1
local_port macos-sc:local_port 0 1
foreign_address macos-sc:foreign_address 0 1
foreign_full_address macos-sc:foreign_full_address 0 1
foreign_port macos-sc:foreign_port 0 1
pid macos-sc:pid 0 1
protocol macos-sc:protocol 0 1
user_id macos-sc:user_id 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