Adventure Labs Logo
Scout Docs

Actions

Table for storing automated actions triggered by zone events

Column NameData TypeConstraints
idbigintNOT NULL
inserted_attimestamp with time zoneDEFAULT now() NOT NULL
zone_idbigintNOT NULL
triggertext[]NOT NULL
opcodeintegerNOT NULL

Security Policies (RLS)

This table has Row Level Security (RLS) enabled with the following policies:

  • Read Access: Device API keys within same herd (via zone) OR users with view role in same herd
  • Create/Update/Delete: Device API keys within same herd (via zone) OR users with edit role in same herd

On this page