Alert Configuration

Alert Types

TypeDescription
mandate_expiringA mandate is approaching its expiry window
scope_violationAn action exceeded the mandate's scope
jurisdiction_flagA regulatory conflict was detected
chain_breachA delegation chain integrity check failed
delegation_depth_exceededA delegation exceeded the maximum hop count
unregistered_agentAn unregistered agent attempted an action
behavior_anomalyUnusual agent behavior pattern detected

Delivery Channels

ChannelDescription
in_appDashboard notification
emailVia Postmark integration
slackVia Slack webhook integration
pagerdutyVia PagerDuty integration

Setup

  1. 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>
    
  2. Create an alert

    truss alert create \
      -t mandate_expiring \
      -s high \
      -m "Mandate X expires in 24h" \
      --channel slack
    

    Severity levels: critical, high, medium, low, info.

  3. List and acknowledge alerts

    truss alert list --unacknowledged
    truss alert acknowledge <id>