Interface NetworkTrafficCoo

All Superinterfaces:
BundleableObject, CyberObservableObject, CyberObservableObjectCommonProperties, GenericValidation, SdoDefaultValidator, Serializable, Stix, StixCustomProperties
All Known Implementing Classes:
NetworkTraffic

@Immutable @DefaultTypeValue(value="network-traffic", groups=DefaultValuesProcessor.class) public interface NetworkTrafficCoo extends CyberObservableObject
network-traffic

The Network Traffic Object represents arbitrary network traffic that originates from a source and is addressed to a destination.

  • Method Details

    • getStart

      @JsonPropertyDescription("Specifies the date/time the network traffic was initiated, if known.") Optional<StixInstant> getStart()
    • getEnd

      @JsonPropertyDescription("Specifies the date/time the network traffic ended, if known.") Optional<StixInstant> getEnd()
    • isActive

      @JsonPropertyDescription("Indicates whether the network traffic is still ongoing.") @NotNull @NotNull Optional<Boolean> isActive()
    • getSrcRef

      @JsonPropertyDescription("Specifies the source of the network traffic, as a reference to one or more Observable Objects.") Optional<String> getSrcRef()
    • getDstRef

      @JsonPropertyDescription("Specifies the destination of the network traffic, as a reference to one or more Observable Objects.") Optional<String> getDstRef()
    • getSrcPort

      @JsonPropertyDescription("Specifies the source port used in the network traffic, as an integer. The port value MUST be in the range of 0 - 65535.") Optional<@Range(min=0L,max=65535L) Integer> getSrcPort()
    • getDstPort

      @JsonPropertyDescription("Specifies the destination port used in the network traffic, as an integer. The port value MUST be in the range of 0 - 65535.") Optional<@Range(min=0L,max=65535L) Integer> getDstPort()
    • getProtocols

      @JsonPropertyDescription("Specifies the protocols observed in the network traffic, along with their corresponding state.") @NotNull default @NotNull Set<String> getProtocols()
    • getSrcByteCount

      @JsonPropertyDescription("Specifies the number of bytes sent from the source to the destination.") Optional<Long> getSrcByteCount()
    • getDstByteCount

      @JsonPropertyDescription("Specifies the number of bytes sent from the destination to the source.") Optional<Long> getDstByteCount()
    • getSrcPackets

      @JsonPropertyDescription("Specifies the number of packets sent from the source to the destination.") Optional<Long> getSrcPackets()
    • getDstPackets

      @JsonPropertyDescription("Specifies the number of packets sent destination to the source.") Optional<Long> getDstPackets()
    • getIpFix

      @JsonPropertyDescription("Specifies any IP Flow Information Export [IPFIX] data for the traffic, as a dictionary.") Map<String,Object> getIpFix()
    • getSrcPayloadRef

      @JsonPropertyDescription("Specifies the bytes sent from the source to the destination.") Optional<String> getSrcPayloadRef()
    • getDstPayloadRef

      @JsonPropertyDescription("Specifies the bytes sent from the source to the destination.") Optional<String> getDstPayloadRef()
    • getEncapsulatesRefs

      @JsonPropertyDescription("Links to other network-traffic objects encapsulated by a network-traffic.") default Set<String> getEncapsulatesRefs()
    • getEncapsulatedByRef

      @JsonPropertyDescription("Links to another network-traffic object which encapsulates this object.") Optional<String> getEncapsulatedByRef()
    • getId

      @Derived default String getId()
      Deterministically generates the ID for this network traffic based on source/destination references, ports, and protocols.
      Specified by:
      getId in interface BundleableObject
      Specified by:
      getId in interface CyberObservableObjectCommonProperties