Showing:

Annotations
Diagrams
Facets
Source
Used by
Main schema Port_Object.xsd
Namespace http://cybox.mitre.org/objects#PortObject-2
Annotations
This schema was originally developed by The MITRE Corporation. The CybOX XML Schema implementation is maintained by The MITRE Corporation and developed by the open CybOX Community. For more information, including how to get involved in the effort and how to submit change requests, please visit the CybOX website at http://cybox.mitre.org.
Element PortObj:Port
Namespace http://cybox.mitre.org/objects#PortObject-2
Annotations
The Port object is intended to characterize networking ports.
Diagram
Diagram Port_Object_xsd.tmp#PortObjectType_Port_Value Port_Object_xsd.tmp#PortObjectType_Layer4_Protocol Port_Object_xsd.tmp#PortObjectType
Type PortObj:PortObjectType
Type hierarchy
Children PortObj:Layer4_Protocol, PortObj:Port_Value
Source
<xs:element name="Port" type="PortObj:PortObjectType">
  <xs:annotation>
    <xs:documentation>The Port object is intended to characterize networking ports.</xs:documentation>
  </xs:annotation>
</xs:element>
Element PortObj:PortObjectType / PortObj:Port_Value
Namespace http://cybox.mitre.org/objects#PortObject-2
Annotations
The required Port_Value field specifies the actual value of the port.
Diagram
Diagram
Type PositiveIntegerObjectPropertyType
Source
<xs:element name="Port_Value" type="cyboxCommon:PositiveIntegerObjectPropertyType" minOccurs="0">
  <xs:annotation>
    <xs:documentation>The required Port_Value field specifies the actual value of the port.</xs:documentation>
  </xs:annotation>
</xs:element>
Element PortObj:PortObjectType / PortObj:Layer4_Protocol
Namespace http://cybox.mitre.org/objects#PortObject-2
Annotations
The Layer4_Protocol field specifies the Layer 4 Protocol (OSI Model) associated with the port.
Diagram
Diagram Port_Object_xsd.tmp#Layer4ProtocolType_datatype Port_Object_xsd.tmp#Layer4ProtocolType
Type PortObj:Layer4ProtocolType
Type hierarchy
Source
<xs:element name="Layer4_Protocol" type="PortObj:Layer4ProtocolType" minOccurs="0">
  <xs:annotation>
    <xs:documentation>The Layer4_Protocol field specifies the Layer 4 Protocol (OSI Model) associated with the port.</xs:documentation>
  </xs:annotation>
</xs:element>
Complex Type PortObj:PortObjectType
Namespace http://cybox.mitre.org/objects#PortObject-2
Annotations
The PortObjectType type is intended to characterize networking ports.
Diagram
Diagram Port_Object_xsd.tmp#PortObjectType_Port_Value Port_Object_xsd.tmp#PortObjectType_Layer4_Protocol
Type extension of ObjectPropertiesType
Type hierarchy
Used by
Element PortObj:Port
Children PortObj:Layer4_Protocol, PortObj:Port_Value
Source
<xs:complexType name="PortObjectType">
  <xs:annotation>
    <xs:documentation>The PortObjectType type is intended to characterize networking ports.</xs:documentation>
  </xs:annotation>
  <xs:complexContent>
    <xs:extension base="cyboxCommon:ObjectPropertiesType">
      <xs:sequence>
        <xs:element name="Port_Value" type="cyboxCommon:PositiveIntegerObjectPropertyType" minOccurs="0">
          <xs:annotation>
            <xs:documentation>The required Port_Value field specifies the actual value of the port.</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="Layer4_Protocol" type="PortObj:Layer4ProtocolType" minOccurs="0">
          <xs:annotation>
            <xs:documentation>The Layer4_Protocol field specifies the Layer 4 Protocol (OSI Model) associated with the port.</xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>
Complex Type PortObj:Layer4ProtocolType
Namespace http://cybox.mitre.org/objects#PortObject-2
Annotations
Layer4ProtocolType specifies Layer 4 (OSI model) protocols, via a union of the Layer4ProtocolEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.
Diagram
Diagram Port_Object_xsd.tmp#Layer4ProtocolType_datatype
Type restriction of BaseObjectPropertyType
Type hierarchy
Used by
Source
<xs:complexType name="Layer4ProtocolType">
  <xs:annotation>
    <xs:documentation>Layer4ProtocolType specifies Layer 4 (OSI model) protocols, via a union of the Layer4ProtocolEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
  </xs:annotation>
  <xs:simpleContent>
    <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
      <xs:simpleType>
        <xs:union memberTypes="PortObj:Layer4ProtocolEnum xs:string"/>
      </xs:simpleType>
      <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
        <xs:annotation>
          <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:restriction>
  </xs:simpleContent>
</xs:complexType>
Simple Type PortObj:Layer4ProtocolEnum
Namespace http://cybox.mitre.org/objects#PortObject-2
Annotations
The Layer4ProtocolEnum type is an enumeration of relevant Layer4 networking protocols.
Diagram
Diagram
Type restriction of xs:string
Facets
enumeration TCP
Indicates the Layer 4 (OSI model) TCP protocol.
enumeration UDP
Indicates the Layer 4 (OSI model) UDP protocol.
Source
<xs:simpleType name="Layer4ProtocolEnum">
  <xs:annotation>
    <xs:documentation>The Layer4ProtocolEnum type is an enumeration of relevant Layer4 networking protocols.</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string">
    <xs:enumeration value="TCP">
      <xs:annotation>
        <xs:documentation>Indicates the Layer 4 (OSI model) TCP protocol.</xs:documentation>
      </xs:annotation>
    </xs:enumeration>
    <xs:enumeration value="UDP">
      <xs:annotation>
        <xs:documentation>Indicates the Layer 4 (OSI model) UDP protocol.</xs:documentation>
      </xs:annotation>
    </xs:enumeration>
  </xs:restriction>
</xs:simpleType>
Attribute PortObj:Layer4ProtocolType / @datatype
Namespace No namespace
Annotations
This attribute is optional and specifies the expected type for the value of the specified property.
Type DatatypeEnum
Used by
Source
<xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
  <xs:annotation>
    <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
  </xs:annotation>
</xs:attribute>