Skip to main content
Manage notification policies from the command line. Define match rules and connect policies to alert channels via escalation chains.

Commands

notification-policies list

notification-policies get

Policy and channel IDs are UUIDs — get them from the matching list commands.

notification-policies create

Create a new notification policy with associated alert channels.
The CLI creates the policy with a single escalation step (zero delay, the given channels) and no match rules, so it matches every incident. Multi-step escalation chains, delays, and match rules aren’t expressible through these flags — define the policy in devhelm.yml (see escalation chains) and run devhelm deploy.

notification-policies update

Supports the same flags as create. Passing --channel-ids replaces the escalation with a single zero-delay step containing those channels.

notification-policies delete

Prompts for confirmation; pass --yes (-y) in scripts and CI.

notification-policies test

Send a test notification through the policy to verify it triggers correctly.

Next steps

Notification policies

Understanding match rules and escalation logic.

Escalation chains

Multi-step escalation with delays and conditions.