Adventure Labs Logo
Scout Docs

Operators

Table for recording operator actions and sessions with timestamp tracking

Column NameData TypeConstraints
idbigintNOT NULL
created_attimestamp with time zoneDEFAULT now() NOT NULL
timestamptimestamp with time zone
session_idbigint
user_iduuidNOT NULL
actiontext

Security Policies (RLS)

RLS enabled. Herd scope: Herd from operators.session_id → get_herd_id_by_session_id.

Operationhas_herd_ability ability keyOther paths
SELECTsessions.readDevice API key on session
INSERTsessions.writeDevice API key on session
UPDATEsessions.writeDevice API key on session
DELETEsessions.writeDevice API key on session

Platform superadmin: FOR ALL bypass where defined.

On this page