OCSF.NetworkEndpoint (OCSF v0.1.0)

Copy Markdown View Source

OCSF Network Endpoint object (src_endpoint / dst_endpoint).

Represents a network endpoint involved in an OCSF event, used as either the source or destination endpoint.

Corresponds to the OCSF Network Endpoint object.

Fields

  • :ip -- IP address (:inet.ip_address() tuple). Classified as :network.
  • :port -- TCP/UDP port number. Classified as :network.
  • :hostname -- DNS hostname. Classified as :network.

PII classification

See OCSF.Classification for data class definitions. Call __ocsf_fields__/0 to inspect this module's field classifications.

See OCSF.HttpRequest for HTTP-level request details.

Summary

Functions

Return field classification metadata for PII policy enforcement.

Types

t()

@type t() :: %OCSF.NetworkEndpoint{
  hostname: String.t() | nil,
  ip: :inet.ip_address() | nil,
  port: integer() | nil
}

Functions

__ocsf_fields__()

@spec __ocsf_fields__() :: keyword()

Return field classification metadata for PII policy enforcement.