Skip to content

Notifications

Get alerted on Slack, Discord, Teams, Telegram, or any HTTP endpoint when important events happen in Bella Baxter — without writing any webhook handling code.

Create a Notification Channel

From the WebApp: Settings → Notifications → Add Channel

Or via CLI:

sh
# Slack
bella notifications create \
  --name "Ops Slack" \
  --type Slack \
  --webhook-url https://hooks.slack.com/services/T.../B.../xxx

# Discord
bella notifications create \
  --name "Dev Discord" \
  --type Discord \
  --webhook-url https://discord.com/api/webhooks/...

# Microsoft Teams
bella notifications create \
  --name "Security Teams" \
  --type MicrosoftTeams \
  --webhook-url https://outlook.office.com/webhook/...

# Telegram
bella notifications create \
  --name "Alerts Bot" \
  --type Telegram \
  --chat-id 123456789 \
  --bot-token 7890:...

# Generic HTTP webhook
bella notifications create \
  --name "PagerDuty" \
  --type Webhook \
  --url https://events.pagerduty.com/integration/.../enqueue \
  --method POST

Supported Channels

TypeDescription
SlackSlack Incoming Webhook
DiscordDiscord Webhook
MicrosoftTeamsTeams Incoming Webhook
TelegramTelegram Bot API
WebhookGeneric HTTP POST (custom payload template)

Subscribe a Channel to Events

sh
bella notifications subscribe \
  --channel "Ops Slack" \
  --events SecretDeleted,LeaseExpired,SecurityScanFailed \
  --project my-api

Event Types

The same event types as Webhooks are supported, plus notification-specific events:

EventDescription
SecurityScanFailedA security scan detected weak or exposed secrets
LeaseExpiringSoonA lease is expiring within the configured warn-before window
ProviderConnectionFailedBella cannot reach a provider (connectivity issue)
secret.rotation.succeededA rotation policy successfully rotated a secret
secret.rotation.failedA rotation attempt failed
secret.expiry.warningA secret is approaching its expiry date (N days remaining)
secret.expiredA secret has passed its expiry date and should be rotated or updated

Test a Channel

sh
bella notifications test "Ops Slack"

Sends a test message to verify the channel is configured correctly.

Manage Channels

sh
bella notifications list
bella notifications get "Ops Slack"
bella notifications update "Ops Slack" --active false   # pause
bella notifications delete "Ops Slack"

Example: Alert on Secret Deletion

sh
bella notifications subscribe \
  --channel "Ops Slack" \
  --events SecretDeleted \
  --project my-api \
  --environment production

When someone deletes a production secret, a Slack message is sent immediately:

🔔 Secret deletedDATABASE_URL was deleted from my-api / production by alice@example.com at 10:30 UTC

Example: Alert on Security Issues

sh
bella notifications subscribe \
  --channel "Security Teams" \
  --events SecurityScanFailed \
  --all-projects

When a security scan detects a weak password or policy violation in any project, the Teams channel is notified.

Notifications are always free — alerting is an operational necessity, not an enterprise feature.

Released under the ELv2 License.