<xsd:element name="inetlisteningservers_state" substitutionGroup="oval-def:state">
<xsd:annotation>
<xsd:documentation>The inetlisteningservers_state element defines the different information that can be used to evaluate the specified inet listening server. This includes the local address, foreign address, port information, and process id. Please refer to the individual elements in the schema for more details about what each represents.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="oval-def:StateType">
<xsd:sequence>
<xsd:element name="protocol" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The protocol entity defines the specific transport-layer protocol, in lowercase: tcp or udp, associated with the inet listening server.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="ilssteprotocol" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="linux-def:inetlisteningservers_state/linux-def:protocol">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the protocol entity of an inetlisteningservers_state should be 'string'</sch:assert>
<sch:assert test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='pattern match'">
<sch:value-of select="../@id" /> - operation attribute for the protocol entity of an inetlisteningservers_state should be 'equals', 'not equal', or 'pattern match'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="local_address" type="oval-def:EntityStateStringType" 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="ilsstelocal_address" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="linux-def:inetlisteningservers_state/linux-def:local_address">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the local_address entity of an inetlisteningservers_state should be 'string'</sch:assert>
<sch:assert test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='pattern match'">
<sch:value-of select="../@id" /> - operation attribute for the local_address entity of an inetlisteningservers_state should be 'equals', 'not equal', or 'pattern match'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="local_port" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This is the TCP or UDP port number associated with the inet listening server.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="ilsstelocal_port" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="linux-def:inetlisteningservers_state/linux-def:local_port">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the local_port entity of an inetlisteningservers_state should be 'string'</sch:assert>
<sch:assert test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='pattern match'">
<sch:value-of select="../@id" /> - operation attribute for the local_port entity of an inetlisteningservers_state should be 'equals', 'not equal', or 'pattern match'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="local_full_address" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This is the IP address and network port number associated with the inet listening server, equivalent to local_address:local_port.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="ilsstelocal_full_address" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="linux-def:inetlisteningservers_state/linux-def:local_full_address">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the local_full_address entity of an inetlisteningservers_state should be 'string'</sch:assert>
<sch:assert test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='pattern match'">
<sch:value-of select="../@id" /> - operation attribute for the local_full_address entity of an inetlisteningservers_state should be 'equals', 'not equal', or 'pattern match'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="program_name" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This is the name of the communicating program.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="ilssteprogram_name" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="linux-def:inetlisteningservers_state/linux-def:program_name">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the program_name entity of an inetlisteningservers_state should be 'string'</sch:assert>
<sch:assert test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='pattern match'">
<sch:value-of select="../@id" /> - operation attribute for the program_name entity of an inetlisteningservers_state should be 'equals', 'not equal', or 'pattern match'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="foreign_address" type="oval-def:EntityStateStringType" 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="ilssteforeign_address" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="linux-def:inetlisteningservers_state/linux-def:foreign_address">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the foreign_address entity of an inetlisteningservers_state should be 'string'</sch:assert>
<sch:assert test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='pattern match'">
<sch:value-of select="../@id" /> - operation attribute for the foreign_address entity of an inetlisteningservers_state should be 'equals', 'not equal', or 'pattern match'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="foreign_port" type="oval-def:EntityStateStringType" 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="ilssteforeign_port" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="linux-def:inetlisteningservers_state/linux-def:foreign_port">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the foreign_port entity of an inetlisteningservers_state should be 'string'</sch:assert>
<sch:assert test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='pattern match'">
<sch:value-of select="../@id" /> - operation attribute for the foreign_port entity of an inetlisteningservers_state should be 'equals', 'not equal', or 'pattern match'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="foreign_full_address" type="oval-def:EntityStateStringType" 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="ilssteforeign_full_address" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="linux-def:inetlisteningservers_state/linux-def:foreign_full_address">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the foreign_full_address entity of an inetlisteningservers_state should be 'string'</sch:assert>
<sch:assert test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='pattern match'">
<sch:value-of select="../@id" /> - operation attribute for the foreign_full_address entity of an inetlisteningservers_state should be 'equals', 'not equal', or 'pattern match'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="pid" type="oval-def:EntityStateIntType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The pid is the process ID of a specific process.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="ilsstepid" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="linux-def:inetlisteningservers_state/linux-def:pid">
<sch:assert test="not(@datatype) or @datatype='int'">
<sch:value-of select="../@id" /> - datatype attribute for the pid entity of an inetlisteningservers_state should be 'int'</sch:assert>
<sch:assert test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='greater than' or @operation='greater than or equal' or @operation='less than' or @operation='less than or equal'">
<sch:value-of select="../@id" /> - operation attribute for the pid entity of an inetlisteningservers_state should be 'equals', 'not equal', 'greater than', 'greater than or equal', 'less than', or 'less than or equal'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="user_id" type="oval-def:EntityStateStringType" 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="ilssteuser_id" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="linux-def:inetlisteningservers_state/linux-def:user_id">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the user_id entity of an inetlisteningservers_state should be 'string'</sch:assert>
<sch:assert test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='pattern match'">
<sch:value-of select="../@id" /> - operation attribute for the user_id entity of an inetlisteningservers_state should be 'equals', 'not equal', or 'pattern match'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
|