Sazabi
CLI

sazabi notifications

Command reference for sazabi notifications.

sazabi notifications — Manage notification delivery rules and inspect channels. Subcommands: delivery-rules, channels.

sazabi notifications

Manage notification delivery rules and inspect channels

sazabi notifications <subcommand>
sazabi notifications delivery-rules list  # List delivery rules
sazabi notifications channels get  # Inspect channels

sazabi notifications delivery-rules

Manage project notification delivery rules

sazabi notifications delivery-rules <subcommand>
sazabi notifications delivery-rules list  # List delivery rules
sazabi notifications delivery-rules options  # See routable destinations and events

sazabi notifications delivery-rules list

List delivery rules

sazabi notifications delivery-rules list [options]
FlagTypeRequiredDescription
--tokenstringNoOverride token
--api-base-urlstringNoOverride API base URL
--jsonbooleanNoOutput as JSON
--project-idstringNoOverride active project ID
sazabi notifications delivery-rules list  # List delivery rules

sazabi notifications delivery-rules options

List available destinations, events, and conditions

sazabi notifications delivery-rules options [options]
FlagTypeRequiredDescription
--tokenstringNoOverride token
--api-base-urlstringNoOverride API base URL
--jsonbooleanNoOutput as JSON
--project-idstringNoOverride active project ID
sazabi notifications delivery-rules options  # See what you can route

sazabi notifications delivery-rules create

Create a delivery rule

sazabi notifications delivery-rules create [options]
FlagTypeRequiredDescription
--tokenstringNoOverride token
--api-base-urlstringNoOverride API base URL
--jsonbooleanNoOutput as JSON
--project-idstringNoOverride active project ID
--notification-typestringNoNotification event type (repeatable, required)
--destinationstringNoDestination as channel:key (repeatable, required)
--component-idstringNoComponent ID to match (repeatable)
--include-descendantsbooleanNoAlso match descendant components
--severitystringNoSeverity condition: low, medium, high, critical (repeatable)
sazabi notifications delivery-rules create --notification-type issue_triggered --destination slack_channel:C0123 --severity high  # Route high-severity issues to Slack

sazabi notifications delivery-rules update

Replace a delivery rule (atomic)

sazabi notifications delivery-rules update <rule-id> [options]
FlagTypeRequiredDescription
--tokenstringNoOverride token
--api-base-urlstringNoOverride API base URL
--jsonbooleanNoOutput as JSON
--project-idstringNoOverride active project ID
--notification-typestringNoNotification event type (repeatable, required)
--destinationstringNoDestination as channel:key (repeatable, required)
--component-idstringNoComponent ID to match (repeatable)
--include-descendantsbooleanNoAlso match descendant components
--severitystringNoSeverity condition: low, medium, high, critical (repeatable)
sazabi notifications delivery-rules update <id> --notification-type issue_triggered --destination slack_channel:C0123  # Replace a rule

sazabi notifications delivery-rules delete

Delete a delivery rule

sazabi notifications delivery-rules delete <rule-id> [options]
FlagTypeRequiredDescription
--tokenstringNoOverride token
--api-base-urlstringNoOverride API base URL
--jsonbooleanNoOutput as JSON
--project-idstringNoOverride active project ID
sazabi notifications delivery-rules delete <id>  # Delete a rule

sazabi notifications channels

Inspect notification channels

sazabi notifications channels <subcommand>
sazabi notifications channels get  # List configured channels

sazabi notifications channels get

List the project's notification channels

sazabi notifications channels get [options]
FlagTypeRequiredDescription
--tokenstringNoOverride token
--api-base-urlstringNoOverride API base URL
--jsonbooleanNoOutput as JSON
--project-idstringNoOverride active project ID
sazabi notifications channels get  # List configured channels