Skip to main content

Compliance Alerts

Get instant notifications when compliance issues arise, policies are violated, or important system events occur.

Alert Types

Violation Alerts

Immediate notification when compliance violations are detected

Policy Triggers

Alerts when custom policies are activated

Threshold Alerts

Notifications when metrics exceed configured limits

System Events

Important system status and health notifications

Configuring Alerts

1

Choose Alert Type

Select what you want to be notified about
2

Set Conditions

const alert = await regpilot.alerts.create({
  name: "High-Risk Violations",
  type: "violation",
  conditions: {
    severity: ["critical", "high"],
    framework: "eu_ai_act"
  }
});
3

Configure Channels

await regpilot.alerts.addChannel(alert.id, {
  type: "email",
  recipients: ["[email protected]"],
  priority: "high"
});
4

Test Alert

await regpilot.alerts.test(alert.id);

Alert Channels

Email

  • Individual recipients
  • Distribution lists
  • Priority levels
  • Custom templates

Slack

  • Channel notifications
  • Direct messages
  • Thread replies
  • Rich formatting

Webhook

  • POST to custom URL
  • Custom payload format
  • Retry logic
  • Authentication

SMS

  • Critical alerts only
  • Phone number list
  • Rate limiting

Alert Conditions

Violation-Based

{
  "type": "violation",
  "severity": ["critical", "high"],
  "framework": "eu_ai_act",
  "auto_resolve": false
}

Metric-Based

{
  "type": "threshold",
  "metric": "compliance_score",
  "operator": "less_than",
  "value": 70,
  "duration": "5m"
}

Policy-Based

{
  "type": "policy",
  "policy_ids": ["pol_123", "pol_456"],
  "action": "block"
}

Alert Priority

  • Critical
  • High
  • Medium
  • Low
  • Immediate delivery
  • Multiple channels
  • On-call notification
  • SMS + Email + Slack

Managing Alerts

Mute Alerts

Temporarily silence alerts:
await regpilot.alerts.mute(alert.id, {
  duration: "2h",
  reason: "Planned maintenance"
});

Alert History

View past alerts:
const history = await regpilot.alerts.getHistory({
  startDate: "2024-01-01",
  status: ["triggered", "resolved"],
  limit: 50
});

Best Practices

  • Set appropriate thresholds
  • Use severity levels wisely
  • Batch low-priority alerts
  • Review and tune regularly
  • Document alert response procedures
  • Assign clear ownership
  • Define escalation paths
  • Track response times
  • Test alert delivery monthly
  • Verify all channels work
  • Check recipient lists
  • Update as needed

Next Steps