Notifications
Connect Slack, route alerts, set your own email preferences, and send findings on to your pager or tracker.
Notifications
CloudBooster Guard tells you when a change makes something dangerous: in Slack, by email, and in the pager or tracker your team already uses. This guide covers connecting Slack, choosing who gets what, your own email preferences, and escalations.
You need the owner or admin role to connect Slack, change routing or add an escalation. Every member can set their own email preferences.
What you get by default
With nothing configured beyond Slack, Guard sends:
| Severity | Live cloud findings | Pull-request reviews |
|---|---|---|
| Critical | Slack and email | Slack |
| High | Slack. Email only if Slack is not connected, or a Slack post fails or is held up | Slack |
| Watch / info | The daily digest email | The daily digest email |
- A gated pull request (one your merge check blocks) counts as at least high.
- Each finding gets one card per channel. When the same finding changes, or someone clicks a button, the card is updated in place; when the finding is fixed, the same card says so.
- Problems with an integration itself, such as Slack access revoked, are emailed to owners and admins.
Notifications are never silently dropped. If Slack is not connected or fails, the alert goes by email instead, and every attempt is listed in the delivery log (Settings → Notifications).
Add Guard to Slack
- Go to Integrations → Slack and click Add to Slack. If your organisation requires MFA, you are asked for it first.
- Slack shows the permissions Guard asks for, then sends you back to the console. The console lists the same permissions, with the reason for each, next to the Add to Slack button (what Guard asks Slack for).
- The console opens the channel picker (later, use the channel control on the Slack card to change it). Choose where alerts go. Guard posts a short test message ("✅ CloudBooster Guard connected: this channel will receive Guard notifications.") and saves the channel only if that message lands.
What Guard asks Slack for
The Slack app asks for these six bot permissions (scopes) and no user scopes. Guard never reads message history, files or direct messages, and it does not ask Slack for a user token.
| Scope | What Guard uses it for |
|---|---|
chat:write | Posts verdict alerts to the channel you choose, and updates each card in place. |
chat:write.public | Posts to a public channel without the bot having to join it first. |
channels:read | Lists your public channels, so you can pick where alerts go. |
groups:read | Lists the private channels the bot was invited to, for the same channel picker. |
users:read | Looks up the Slack user who clicks a button on an alert. |
users:read.email | Links Slack users to Guard members for the Acknowledge button: a click counts only when the confirmed email on the Slack profile matches a member of your organisation. |
users:read.email lets Guard read the email of the Slack user who clicks a button. It does not
read the emails of other members, and it stores no Slack profile data beyond the link between the
Slack user and the Guard member.
If you cannot approve these, use the incoming webhook, which needs only one permission and has no buttons.
Private channels
Guard can post to any public channel without joining it. A private channel only appears in the list once the bot is in it:
- In the private channel, type
/invite @CloudBooster Guard. - Back in the console, pick the channel. Use the search box if your workspace has many channels.
If you pick a channel and see "Invite @CloudBooster Guard to the channel, then try again", the bot is not in that private channel yet.
Buttons in Slack
Alert cards have buttons: Acknowledge, Silence (for 1 hour, 4 hours, 24 hours, 7 days or a time you choose, with a reason), and Worth it / Not worth it feedback.
- A click acts as your Guard account. Guard matches you by the email on your Slack profile, once Slack has confirmed it, to the verified email of a member of your organisation.
- If it cannot match you, you get a private message asking you to link your account, and nothing is recorded. Make sure your Slack profile email is the one you sign in to Guard with.
- Members can use the buttons. Viewers cannot.
- The card updates in place, so the channel shows who acknowledged or silenced it.
Incoming webhook
If you cannot install apps in your workspace, you can use a Slack incoming webhook instead. It is the basic option: alerts arrive, but without buttons and without in-place updates, and nobody's click can be recorded. Each alert is a new message, so a fixed finding arrives as a new post rather than an update.
If you add the app later, the webhook stays connected and alerts go to both the app's channel and the webhook's channel. To stop the webhook, disconnect it before you install the app, or ask support to remove it.
-
Create a Slack app of your own at api.slack.com/apps (Create New App → From an app manifest), pick your workspace and paste the manifest below. This is a separate, minimal app that you own, not the Guard app: its only scope is
incoming-webhook, and Guard never sees a Slack token for it, only the webhook URL you paste in step 4. -
Install the app to your workspace. When Slack asks where it should post, choose your alerts channel (for a private channel, you must be a member of it).
-
Under Incoming Webhooks, copy the webhook URL (
https://hooks.slack.com/services/…). -
In the console, go to Integrations → Slack → Use an incoming webhook, paste the URL, add an optional channel label and save. Guard sends a plain test message to check it.
Treat the webhook URL like a password: anyone who has it can post to that channel. Guard stores it encrypted and never shows it again.
Disconnecting
Integrations → Slack → Disconnect removes Guard's access in Slack and in the console. If someone removes the app or revokes its access from Slack's side instead, Guard notices at once, emails your owners and admins, and sends alerts by email until you reinstall.
Routing
Routing decides where each kind of notification goes. Without any routes, alerts go to your Slack channel plus the defaults above. Add routes when you want, for example, one AWS account's alerts in a team's own channel, or critical public-exposure findings in PagerDuty.
A route has:
- filters: event types (live finding, finding resolved, pull-request review, …), a minimum
severity, and danger classes (for example
public-exposure). An empty filter matches everything; - destinations: Slack channels, email to members or to owners and admins, and escalation integrations.
Set routes under Settings → Notifications → Routing. Routes are set for the whole organisation, and can be overridden per cloud account. When any of an account's own routes match, they replace the organisation's routes for that alert. Escalations only receive what a route sends them.
Every route is checked before it is saved: the account must be connected, the integration must be enabled, and a new Slack channel must accept a test message.
Each route has a Test button, and Test org routing sends a test through your whole setup; the console shows what each destination did. Owners and admins can also manage routes with the API:
| Request | What it does |
|---|---|
GET /v1/orgs/{orgId}/notifications/routes/default | The organisation's routes. With none saved, it shows the defaults Guard applies |
PUT /v1/orgs/{orgId}/notifications/routes/default | Replace the organisation's routes |
GET / POST /v1/orgs/{orgId}/notifications/routes/accounts/{accountId} | One cloud account's routes |
PUT / DELETE /v1/orgs/{orgId}/notifications/routes/{routeId} | Change or remove one route |
POST /v1/orgs/{orgId}/notifications/test | Send a test notification through a route or to one destination |
A refused route comes back as 422 with error.path pointing at the field to fix.
Quiet hours and maintenance
Quiet hours hold watch and info notifications, including the digest, until the window ends
in your organisation's time zone. A window like 22:00–07:00 spans midnight and follows daylight
saving time. Critical and high alerts are never held. A maintenance window does the same for a
set period, for example during a planned migration.
The digest goes out daily or weekly (Mondays), at the hour you choose in your time zone. The
default is daily at 09:00 UTC. If nothing happened, it is skipped, unless you ask for the "we
looked" proof-of-life on its own (heartbeatMode: "always").
Set them under Settings → Notifications → Quiet hours, together with the time zone, the
digest schedule and the proof-of-life setting. With the API they are
PUT /v1/orgs/{orgId}/notifications/settings; fields you leave out keep their value, and null
clears quiet hours or maintenance:
Your email preferences
Under Settings → Notifications → My preferences you choose, for this organisation:
- Email notifications on or off.
- Minimum severity: the quietest alert you are emailed about. The default is high, so you get critical and high alert emails and see the rest in the digest.
- Digest only: no per-alert emails, only the digest.
These apply to alerts and the digest. Sign-in links, security notices, invitations and billing mail always reach you. Owners and admins can see what each member receives under the same tab.
Unsubscribe
Every alert and digest email has an Unsubscribe link in the footer, and supports your mail app's one-click unsubscribe button.
- For a member, unsubscribing turns off notification email from that organisation, the same as the switch in My preferences. Turn it back on there at any time.
- For an extra address your admins added (a shared team inbox, say), unsubscribing stops Guard mail from that organisation to the address. An admin can lift it under Integrations → Email.
- Opening the link only shows a confirmation page. Nothing changes until you confirm, so link scanners cannot unsubscribe you by accident.
If an address bounces permanently or someone marks a Guard email as spam, Guard stops mailing that address. Contact support to have it re-enabled once the mailbox works again.
When many findings arrive at once, Guard sends at most 20 alert emails per hour for your organisation, then one summary email when the hour ends that lists what was held back. Escalations are not limited this way.
Slack has its own limit: once a channel has had more than 10 new alert cards in a minute, one card says "More than 10 notifications for this channel in the last minute" and links to the console, instead of posting the rest. Updates to cards already posted are not held back. Guard also posts at most about one message a second per channel, as Slack asks, so a busy channel can lag by a few seconds.
Escalations
Escalations send a finding on to your pager or tracker, and close it there when Guard sees the finding fixed. They are part of the Pro plan and above; on a plan without them the console shows an upgrade link. Go to Integrations → Escalations and pick a provider. Then add a route (above) that sends live findings and "finding resolved" to it. Without the second, items are never closed.
| Provider | What you need | What Test does |
|---|---|---|
| PagerDuty | On the service: Integrations → Add an integration → Events API v2. Copy the Integration Key | Sends a real low-severity test event and resolves it straight away. Depending on the service's urgency rules this can briefly open an incident |
| Jira Cloud | Your site (https://your-team.atlassian.net), the email of the account Guard acts as, and an API token for it (id.atlassian.com → Security → API tokens). The account needs to browse the project, create issues and comment. Then pick the project and, optionally, the issue type (default Bug) | Checks the token and that the project is visible. Creates nothing |
| Linear | A personal API key (lin_api_…, Linear Settings → Security & access). Then pick the team | Checks the key and the team. Creates nothing |
| Signed webhook | An HTTPS endpoint on port 443, reachable from the internet | Sends one signed test event |
| Microsoft Teams | In the channel, a Workflows flow Post to a channel when a webhook request is received; copy its URL. Older Office 365 connector URLs are not accepted | Posts a test card |
What happens in the tool:
- One item per finding. A finding is a resource plus the kind of danger (for example
public-exposure). If the same resource is changed again while the item is open, the item is updated, not duplicated. - Resolved. When the finding is fixed, PagerDuty resolves the alert, and Jira or Linear gets a
comment saying it is resolved. Move the issue to done yourself; Guard does not change its
status. A webhook gets a signed
resolvedevent, and Teams a finding resolved card. - Webhook and Teams. A webhook gets a signed
created,updatedorresolvedevent for each change. If your endpoint answers with JSON that has anid, later events for the finding carry it asref. Teams gets a new card for each change, since a posted card cannot be edited. - Failures. If your endpoint or the provider is down, or answers 429 or 5xx, Guard retries
for about 15 minutes, honouring
Retry-After. Any other error stops the retries. Every attempt shows in the delivery log under Settings → Notifications. - Reopened. A new finding on the same resource after that opens a new item.
- Only critical and high live findings are escalated. Pull-request reviews are not.
Credentials are stored encrypted, and the console only ever shows their last four characters.
Verify webhook signatures
Each webhook request is signed. Your endpoint should check the signature before it trusts the body.
- The signing secret is shown once, when you create the integration. Store it in your secret manager. To replace it, delete the integration and create a new one.
- The header is
X-CBX-Signature: t=<unix seconds>,v1=<hex>. Thev1value is HMAC-SHA256 with the secret, over the timestamp, a dot, and the raw request body. - Use the raw bytes, reject a timestamp more than 5 minutes from your clock, compare in constant
time, and accept the request if any
v1matches. - Retries get a new
X-CBX-Deliveryid. Deduplicate on the body'sdedupKeyplusevent.
Test vector: secret whsec_cbx_test_vector, t=1700000000, body {"event":"test","version":1}
gives v1=cee0a8d4e360e3a820d74752299bddc26710f087ba0b70b76361f9bd07b7fbd5.
Troubleshooting
| You see | Why | Fix |
|---|---|---|
| Invite @CloudBooster Guard to the channel, then try again | The channel is private and the bot is not in it | /invite @CloudBooster Guard in the channel, then pick it again |
| The channel does not exist, or it is private and @CloudBooster Guard is not in it | The channel was deleted, or is private | Pick another channel, or invite the bot |
| The channel is archived | Pick another channel | |
| The workspace does not let apps post in this channel | A Slack admin restricted posting | Pick another channel, or ask your Slack admin |
| Slack revoked the app's access / The Slack app was uninstalled | Someone removed the app or its access | Integrations → Slack → Add to Slack again, then pick the channel |
| The app is missing a Slack permission | The app needs a permission your install predates | Reinstall the app to grant it |
| Slack is rate limiting the app | Too many requests in a short time | Wait a minute and try again. Alerts that hit the limit are sent once Slack allows it, and high live-finding alerts are emailed meanwhile |
| Delivery log: Slack refused the channel: invite @CloudBooster Guard to the channel | The bot was removed from a private channel, or the channel was deleted or archived | /invite @CloudBooster Guard in the channel, or pick another channel for the route or the default. Critical alerts were still emailed |
| Delivery log: The Slack bot token is no longer valid: reinstall Slack, and owners and admins got an email | Slack revoked the app's access | Integrations → Slack → Reconnect Slack. Until then alerts go by email |
| Delivery log: The Slack webhook was removed: reconnect it | The incoming webhook was deleted in Slack | Create a new webhook and connect it again |
| A card says More than 10 notifications for this channel in the last minute | A burst of new alerts in one channel | Open the console for the full list. Route a noisy account to its own channel if this happens often |
| A button asks you to link your account | Your Slack profile email does not match a verified email of a member | Use the same email in Slack and Guard, and confirm it in Slack |
| No alert email | Your preferences (minimum severity defaults to high), digest only, an unsubscribe, or a bounce | Check My preferences. Admins can see each member's effective settings and lift an unsubscribe |
| An escalation was not created | No route sends to it, the integration is disabled, or the provider refused the request | Check the route, then Settings → Notifications → Delivery log for the provider's error |
| A Jira or Linear item stays open after the fix | Guard comments on resolve, it does not change status | Close it in the tool |