Notifications

Guardrails provides two distinct capabilities for getting event data out of your workspace: Notifications and Firehose. They serve different purposes and are configured independently.

Notifications

Notifications send real-time alerts to people and channels when events occur in your cloud infrastructure: control state changes, enforcement actions, policy violations, and more. They're designed for human consumption: formatted messages delivered to email inboxes, Slack channels, and Microsoft Teams.

Use Notifications when you want to:

Delivery channels: Email, Slack, Microsoft Teams, custom HTTPS webhooks.

Configuration: Entirely through Guardrails policies (Turbot > Notifications). No AWS infrastructure required.

GuideDescription
Configure NotificationsEnable notifications, set up delivery channels, and configure routing.
Filter RulesWrite rules to control which events trigger notifications and where they go.
TemplatesCustomize the format of notification messages for each delivery channel.

Firehose

The Firehose generates an event stream of notifications sent to an AWS SNS topic. It's designed for machine consumption: raw JSON events delivered to a topic where downstream systems can subscribe, filter, and process them.

Use Firehose when you want to:

Delivery: AWS SNS topic with optional notification templates.

Configuration: Requires the firehose-aws-sns mod, an AWS SNS topic, an IAM user, and watches configured via GraphQL or Terraform.

GuideDescription
Set Up FirehoseConfigure the Firehose mod, AWS resources, and watches to stream events to SNS.
Build Notification PipelinesDesign and build downstream notification pipelines that consume Firehose events.

Choosing Between Notifications and Firehose

NotificationsFirehose
AudiencePeople (teams, admins, operators)Systems (pipelines, data lakes, monitoring tools)
FormatFormatted messages (HTML email, Slack blocks, Teams cards)Raw JSON event data
DeliveryEmail, Slack, Teams, webhooksAWS SNS topic
ConfigurationPolicy settings onlyMod + AWS infrastructure + watches
FilteringRule-based routing with NOTIFY/IGNORE syntaxWatch filters with notification type pivots
CustomizationNunjucks templates per channelNotification templates per event type
Setup complexityLow: enable policy and add rulesHigher: requires SNS topic, IAM user, watches

You can use both together. A common pattern is to use Notifications for human alerts (Slack, email) while simultaneously streaming all events through Firehose to downstream systems for audit and correlation.