Alert Configuration
Alert Types
| Type | Description |
|---|---|
mandate_expiring | A mandate is approaching its expiry window |
scope_violation | An action exceeded the mandate's scope |
jurisdiction_flag | A regulatory conflict was detected |
chain_breach | A delegation chain integrity check failed |
delegation_depth_exceeded | A delegation exceeded the maximum hop count |
unregistered_agent | An unregistered agent attempted an action |
behavior_anomaly | Unusual agent behavior pattern detected |
Delivery Channels
| Channel | Description |
|---|---|
in_app | Dashboard notification |
email | Via Postmark integration |
slack | Via Slack webhook integration |
pagerduty | Via PagerDuty integration |
Setup
-
Configure channel integrations (one-time)
truss integration configure slack --webhook-url <url> truss integration configure pagerduty --routing-key <key> truss integration configure postmark --api-key <key> -
Create an alert
truss alert create \ -t mandate_expiring \ -s high \ -m "Mandate X expires in 24h" \ --channel slackSeverity levels:
critical,high,medium,low,info. -
List and acknowledge alerts
truss alert list --unacknowledged truss alert acknowledge <id>