<xsd:element name="xinetd_item" substitutionGroup="oval-sc:item">
<xsd:annotation>
<xsd:documentation>The xinetd item holds information associated with different Internet services. It extends the standard ItemType as defined in the oval-system-characteristics schema and one should refer to the ItemType description for more information.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="oval-sc:ItemType">
<xsd:sequence>
<xsd:element name="protocol" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The protocol entity describes the protocol related to the service item.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="xinetditemprotocol" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-sc:xinetd_item/unix-sc:protocol">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the protocol entity of an xinetd_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="service_name" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The service_name entity describes the name of the service.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="xinetditemservice_name" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-sc:xinetd_item/unix-sc:service_name">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the service_name entity of an xinetd_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="flags" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The flags entity describes miscellaneous settings like TCP keepalives or libwrap deactivation.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="xinetditemflags" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-sc:xinetd_item/unix-sc:flags">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the flags entity of an xinetd_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="no_access" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="xinetditemnoaccess" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-sc:xinetd_item/unix-sc:no_access">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the no_access entity of an xinetd_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="only_from" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The only_from entity describes specifies an exclusive set of IP addresses that may connect to this service</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="xinetditemonlyfrom" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-sc:xinetd_item/unix-sc:only_from">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the only_from entity of an xinetd_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="port" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="xinetditemport" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-sc:xinetd_item/unix-sc:port">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the port entity of an xinetd_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="server" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>what program listens on this port</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="xinetditemserver" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-sc:xinetd_item/unix-sc:server">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the server entity of an xinetd_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="server_arguments" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="xinetditemserver_arguments" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-sc:xinetd_item/unix-sc:server_arguments">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the server_arguments entity of an xinetd_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="socket_type" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="xinetditemsockettype" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-sc:xinetd_item/unix-sc:socket_type">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the socket_type entity of an xinetd_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="type" type="unix-sc:EntityXinetdTypeStatusType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="xinetditemtype" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-sc:xinetd_item/unix-sc:type">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the type entity of an xinetd_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="user" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The user entity describes user that xinetd should run the service as.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="xinetditemuser" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-sc:xinetd_item/unix-sc:user">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the user entity of an xinetd_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="wait" type="oval-sc:EntityItemBoolType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The wait entity describes whether the service allows only one connection at a time.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="xinetditemwait" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-sc:xinetd_item/unix-sc:wait">
<sch:assert test="@datatype='boolean'">item <sch:value-of select="../@id" /> - datatype attribute for the wait entity of an xinetd_item should be 'boolean'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="disabled" type="oval-sc:EntityItemBoolType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The disabled entity describes whether this service is on or not.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="xinetditemdisabled" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-sc:xinetd_item/unix-sc:disabled">
<sch:assert test="@datatype='boolean'">item <sch:value-of select="../@id" /> - datatype attribute for the disabled entity of an xinetd_item should be 'boolean'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
|