Learn

Alert webhooks

Alert webhooks are part of the Event export page. See that page for the full setup guide.

This page is a quick reference for the webhook alerts and their meaning.

Alerts

Alert What it means Action
WAF unavailable The firewall engine cannot run. All public traffic is refused with 503. Check the dashboard for the reason. Restore a valid configuration from the history.
Certificate expiring A certificate expires within 14 days, or Let's Encrypt could not renew one. Go to Certificates and renew or upload a replacement.
Unusual traffic Traffic is far above the normal level for this time of week. Check the Performance page and the request log for the source.
New sign-in address An administrator signed in from an IP address their account never used. Check whether this is expected. If not, change the password and end all sessions.
Account locked out An account was locked after too many failed sign-in attempts. Check the login history. If it looks like an attack, consider adding an IP block rule.
High availability out of sync The standby has not received a configuration version for more than 5 minutes. Check the network between the two gateways. Check both dashboards.

Webhook message format (JSON)

{
  "alert": "waf.unavailable",
  "kind": "fail-closed",
  "severity": "critical",
  "title": "The WAF is unavailable",
  "text": "Every public request is refused (fail-closed) until the WAF works again.",
  "time": "2026-12-04T10:00:00Z",
  "gateway": "gw1",
  "facts": { "Reason": "The configuration could not be loaded." }
}

severity is critical, warning, info or resolved.

Verifying the signature (Python example)

import hashlib, hmac, time

def is_from_the_gateway(secret, headers, body):
    timestamp = headers["X-WAF-Timestamp"]
    if abs(time.time() - int(timestamp)) > 300:
        return False  # older than 5 minutes: replay
    expected = "sha256=" + hmac.new(
        secret.encode(), timestamp.encode() + b"." + body, hashlib.sha256
    ).hexdigest()
    return hmac.compare_digest(expected, headers["X-WAF-Signature"])