Skip to main content

Module process_activity

Module process_activity 

Source
Expand description

Process traffic accounting over active and retained historic connections.

Connection rows are intentionally short lived, but security-relevant traffic often needs to remain visible after a socket and its owning process have exited. ProcessActivityTracker streams the connection tracker’s existing active and bounded historic rows into compact one-second and rolling-window metrics for user interfaces and exporters.

Structs§

DestinationActivity
Traffic attributed to one remote socket for a process.
ProcessActivity
Aggregated retained and rolling metrics for one process identity.
ProcessActivitySnapshot
Immutable point-in-time process activity view.
ProcessActivityTracker
Process traffic view derived from active and retained historic connections.
ProcessIdentity
Stable identity used to aggregate connections into process rows.

Constants§

UNKNOWN_PROCESS_GROUP
Group label used when a connection has no resolved process name.

Functions§

process_group_label
Return the stable process-group label for a connection.