Notification rules

This page describes the rules system shared by Discord, Slack, and Telegram integrations. It controls which Akiles events and alerts get delivered to the channel.

Toggles

Every notification integration has four checkboxes on its configuration page:

The first three are independent toggles, not “either/or” — you can enable all of them, none of them, or any combination. A message is sent if any of the enabled conditions matches.

Custom rules

When Notify according to custom rules is enabled, the Notification rules tab appears on the integration. Each rule there matches additional events or alerts on top of whatever the toggles already cover.

A rule has three filter lists. An event matches a rule when it matches all filters that are set on the rule:

A rule’s Kind field is either Event or Alert; that determines whether it filters events or alerts and which of the lists above are relevant.

Note

Disabling Notify according to custom rules does not delete the rules — they’re kept around so toggling the option back on restores them. Rules are simply ignored while the toggle is off.

Examples

Permissions

Custom rules can only filter on object types you have permission to read. For example, you can’t create a rule that filters on permission events unless your role has permission.get. If you leave object types empty (match any), the same check applies to every object type the integration could possibly receive — so admin-style roles will be required for unrestricted rules.

Disabled integrations

When the integration itself is disabled, no notifications are sent regardless of toggles or rules. A warning banner appears on the Notification rules tab in that case.