Notifications
The inbox behind the bell, what lands in it, and how to choose what you are told by email, in Slack and in a digest.
The bell in the header opens your inbox: the things Wardn thinks you should look at, newest first. View all notifications opens the full page (/notifications), with filters by kind and by unread and Mark all read. Each notice has one button that opens what it is about: the approval, the release, the incident, the deployment or the integration.
The inbox is yours. Nobody else reads it, whatever they hold, and you never see anyone else's. Reading, dismissing and choosing what you are told change only your own inbox, so they are not Activity entries.
What lands in it
| Kind | Who is told |
|---|---|
| Approval requested | The people who may approve at that deployment now, and anyone a holder of that duty has passed it to for a period. Never the person who raised it. |
| Bypass requested | The people who may grant a bypass there. Never the person who asked. |
| Request decided | The person who asked, when their approval is approved or declined, or their bypass is granted. |
| Release update | The person who raised a release, when it fails, pauses or completes. |
| Incident | The members of the teams that own the affected deployments, when a Sev 1 or Sev 2 incident opens. Sev 3 and 4 make no notice. |
| Deploy failed | The members of the teams that own the deployment, when a rollout errors. |
| Deploy succeeded | The same people, when it finishes. Off until you turn it on, because most of them are routine. |
| Sync drift | The same people, when a production deployment drifts from Git. Drift elsewhere makes no notice. |
| Integration down | The people who may manage integrations, when a provider goes down (Integration health). Going down again while you have not read the first notice adds nothing. |
| API token | The person a token was made for. |
A notice is made once for each event and person. If an event is delivered again after a crash, nothing is added; if a notice about the same thing is still unread, a newer one is not stacked on it.
Choose what you are told
Settings › Notifications is yours alone: nobody else sees or changes it. It has three parts.
Channels are where Wardn reaches you. Turning one off stops it for every kind below.
| Channel | What it is | When it can't be used |
|---|---|---|
| In the app | The bell and the Notifications page. Always on. | Never. |
| Sent to the address you sign in with, only while that address is verified. | The install has no mail server: the row says Email isn't set up on this install and the switch is off. See Email for self-hosted installs. | |
| Slack | Direct messages from Wardn's bot, in the organization's own workspace. Wardn finds you there by your verified email. | The organization has no Slack connected, or paused it: the row says Connect Slack in Integrations. See Slack. |
What you're told has a box per kind and channel, grouped as Decisions waiting on you, Releases and deployments, Incidents and Integrations and security. A box under a channel that is off can't be ticked.
Decisions always reach your inbox
A release or promotion that needs your approval, and a bypass you may decide, always land in your inbox: their In the app box reads Always. Email and Slack for them are your choice. The server refuses a choice that turns either off in the app, so no client can switch it off by mistake.
Digest is off, daily or weekly. With a digest, Wardn stops emailing you each notice and sends one summary instead:
- Daily at 09:00, weekly on Monday at 09:00, in the organization's time zone (UTC until someone sets it; see Organization time zone). Your account has no time zone of its own.
- It lists what changed on your teams' deployments since the last one, and what is still waiting on you. A request stays in each digest until it is decided; everything else is said once.
- A morning with nothing to say sends nothing.
- With no mail server, the digest says Digests start once email is set up; your choice is kept.
Each notice records what became of its email and Slack: sent, digest (waiting for your digest), not_delivered (no mail server, no Slack, an address that is not verified, or a refusal), or none. Older notices from before direct messages may say routed.
How email and Slack are sent
A notice goes by email or Slack once per event, person and channel, however often the event is delivered. If the mail server or Slack is down, Wardn tries the event again later and nothing is sent twice. If they refuse for good, such as an address the mail server will not take or a Slack workspace with nobody at your address, the notice says it was not delivered.
Slack has two paths, and they are separate:
- Your direct messages, chosen here, go to you alone.
- The organization's routes post chosen events to team channels (Slack). They are set once for the organization and are not changed by anyone's own choices.
Email for self-hosted installs
Email goes through an SMTP server you configure on the Wardn server: WARDN_SMTP_HOST, WARDN_SMTP_PORT, WARDN_SMTP_SECURITY (starttls, tls, or none for a local test server only), WARDN_SMTP_USERNAME, WARDN_SMTP_PASSWORD and WARDN_SMTP_FROM. See Configuration. Without a host, nothing is emailed and the settings say so. Mail is plain text, marked as automatic so out-of-office replies are not sent back.
Two places, two jobs
| Your inbox and Settings › Notifications | Slack routes | |
|---|---|---|
| Who sets it | You, for yourself | Someone with integration:manage, for the organization |
| Who is told | A person | A channel |
| What can be chosen | Which of 10 kinds, in the app, by email or in your Slack direct messages, and a digest | Which events (approval.requested, bypass.requested, approval.decided, approval.superseded, release.raised, release.status_changed, restore.break_glass), environments, teams and the least severity |
| Incidents, drift, deploys, integrations, tokens | Yes | Not posted to channels today |
| A restore that went past its guardrails (break-glass) | No inbox notice | A route can select restore.break_glass (always critical), but it is not posted yet; see Slack |
The API
Every operation is about the caller's own inbox and needs only a signed-in person.
api() { curl -fsS -H "Authorization: Bearer $WARDN_TOKEN" -H 'Content-Type: application/json' "$@"; }
api "$WARDN_API_URL/api/v1/notifications?unread=true&kind=incident" # your unread incident notices, with the counts for the badge
api -X POST "$WARDN_API_URL/api/v1/notifications/$ID/read" # mark one read
api -X POST "$WARDN_API_URL/api/v1/notifications/read" # mark all read
api -X DELETE "$WARDN_API_URL/api/v1/notifications/$ID" # dismiss one
api "$WARDN_API_URL/api/v1/me/notification-preferences" # what you chose
api -X PUT "$WARDN_API_URL/api/v1/me/notification-preferences" -d '{
"channels": {"inApp": true, "email": true, "slack": true},
"digest": "daily",
"kinds": [
{"kind": "incident", "inApp": true, "email": false, "slack": false},
{"kind": "deploy-success", "inApp": true, "email": false, "slack": false}
]
}'The answer carries delivery: whether this install can send email (emailAvailable), to which address and whether it is verified, and whether the organization has Slack to send direct messages through (slackAvailable). It is ignored when you send it back. channels.inApp must be true, and so must inApp for approval-requested and bypass-requested; anything else is 400 notifications.locked.
The kinds are approval-requested, bypass-requested, request-decided, release-update, incident, deploy-failed, deploy-success, sync-drift, integration-down and token-created. A kind you leave out keeps its default: in-app on, except deploy-success.
Live updates
The badge and the list update as notices arrive, over the same live stream the rest of the app uses. An update says only that your inbox changed; the app asks for your inbox again.
Next
Integration health
How Wardn tells you whether GitHub, Slack, Microsoft Teams, Discord, Prometheus, PagerDuty, ServiceNow and Jira are working, what waits when one is not, who is told when one goes down, and how to test, pause and disconnect them.
GitHub
What the Wardn GitHub App can read and write, what appears on your pull requests, and how to see and pause what GitHub sends.