feat: add byte tracking to ssh and pty connections (#30389)
This commit is contained in:
1 parent
c5bf97b463
commit
899d25a5b1
28 files changed
+998
-533
No files matched your search
Generated
+6
@@ -2587,6 +2587,8 @@ CREATE TABLE connection_logs (
|
||||
disconnect_time timestamp with time zone,
|
||||
disconnect_reason text,
|
||||
client_session_id text,
|
||||
rx_bytes bigint,
|
||||
tx_bytes bigint,
|
||||
CONSTRAINT connection_logs_client_session_id_check CHECK (((client_session_id IS NULL) OR (client_session_id ~ '^[0-9a-f]{32}$'::text)))
|
||||
);
|
||||
|
||||
@@ -2608,6 +2610,10 @@ COMMENT ON COLUMN connection_logs.disconnect_reason IS 'The reason the connectio
|
||||
|
||||
COMMENT ON COLUMN connection_logs.client_session_id IS 'Tracks all connections over the lifetime of a single client (IDE or ssh) session. As it originates from the client, it is not guaranteed to be unique.';
|
||||
|
||||
COMMENT ON COLUMN connection_logs.rx_bytes IS 'Total bytes received by the agent on this connection. Null for web events and non-disconnect events.';
|
||||
|
||||
COMMENT ON COLUMN connection_logs.tx_bytes IS 'Total bytes sent by the agent on this connection. Null for web events and non-disconnect events.';
|
||||
|
||||
CREATE TABLE crypto_keys (
|
||||
feature crypto_key_feature NOT NULL,
|
||||
sequence integer NOT NULL,
|
||||
|
||||
Reference in new issue
Block a user