Notifications
FireHawk can send events to your team so nobody has to watch the UI: failed or automatically rolled-back deploys, stopped rollouts, unreachable hosts, drift, changed SSH host keys and more. Each channel is an email recipient list, a Slack or Teams webhook, or a generic webhook, with its own selection of events and hosts.
The Notifications page needs the notifications.manage permission.
Create a channel
Section titled “Create a channel”-
Open Notifications and click New channel.
-
Enter a Name (for example
netops-slack) and choose the Type. Keep Enabled ticked. -
Fill in the type’s settings:
Type Settings Email To (comma separated), From, SMTP server, Port (default 587), Security (STARTTLS, SSL/TLS or None), SMTP user, SMTP password. Slack Slack incoming webhook URL ( https://hooks.slack.com/services/…).Microsoft Teams Teams workflow webhook URL. Messages are sent as an Adaptive Card. Webhook Webhook URL and an optional Signing secret (HMAC-SHA256, optional). -
Tick the Events to send (see below).
-
Under Hosts, keep every host or pick host groups.
-
Click Create channel, then Send test on its row.
Webhook URLs must use https, except for private addresses and internal names (without a dot, or ending in .local, .internal or .lan).
Secrets (SMTP password, webhook URLs, signing secret) are stored encrypted and never shown again. When editing a channel, leave a secret field empty to keep the current value.
Events
Section titled “Events”| Event | Severity |
|---|---|
| Deploy failed or rolled back automatically | error |
| Deploy rolled back by hand | warning |
| Deploy applied | info |
| Rollout stopped by failures | error |
| Rollout completed or cancelled | info |
| Host unreachable (drift check failing) | error |
| Host reachable again | info |
| Drift detected | warning |
| Drift cleared | info |
| SSH host key changed | error |
| Credential rotation failed | error |
| Credential rotated | info |
| Dynamic alias refresh or push failed | warning |
| Background job failed after its retries | error |
| Policy created, changed, deleted or excluded on a host | info |
| Temporary rules expired and were removed | info |
| Temporary rules expired on a host with other undeployed changes | warning |
New channels have the warnings and errors ticked. “Host unreachable” and “Host reachable again” are sent once per transition, not at every failed check.
Host-group filter
Section titled “Host-group filter”By default a channel gets events of every host. With host groups picked, it only gets events of hosts in those groups, and events without a host (such as rollouts or failed jobs) are not sent to it.
Webhook payload
Section titled “Webhook payload”FireHawk POSTs JSON with the event’s fields, among them type, severity, title, text, actor, host_name, link (into the FireHawk UI) and at, plus "source": "firehawk" and a readable label. Headers:
| Header | Content |
|---|---|
X-FireHawk-Event |
The event type. |
X-FireHawk-Signature |
With a signing secret: sha256=<hex HMAC-SHA256 of the raw body>. |
Verify the signature on the receiving side before trusting the payload, for example in Python:
import hashlib, hmac
def valid(secret: bytes, body: bytes, header: str) -> bool: expected = "sha256=" + hmac.new(secret, body, hashlib.sha256).hexdigest() return hmac.compare_digest(expected, header)Links in notifications use the public URL set under Users & access → Single sign-on (see SSO).
Delivery
Section titled “Delivery”Events come from the audit log: when an audited action maps to an event, one delivery job per matching channel is queued for the workers. Delivery never slows down or fails the action that caused it.
- Failed deliveries are retried up to 5 times with increasing delays.
- The channel list shows each channel’s last delivery status and error.
- Send test sends a test message right away and shows the endpoint’s error if it fails.
