Alerting: Notifications Templates API (#91349)

This commit is contained in:
Yuri Tseretyan
2024-09-25 09:31:57 -04:00
committed by GitHub
parent 5472478ee8
commit 10582e48f7
28 changed files with 2046 additions and 16 deletions
+6 -1
View File
@@ -434,10 +434,15 @@ const (
ActionAlertingSilencesCreate = "alert.silences:create"
ActionAlertingSilencesWrite = "alert.silences:write"
// Alerting Notification policies actions
// Alerting Notification actions (legacy)
ActionAlertingNotificationsRead = "alert.notifications:read"
ActionAlertingNotificationsWrite = "alert.notifications:write"
// Alerting notifications template actions
ActionAlertingNotificationsTemplatesRead = "alert.notifications.templates:read"
ActionAlertingNotificationsTemplatesWrite = "alert.notifications.templates:write"
ActionAlertingNotificationsTemplatesDelete = "alert.notifications.templates:delete"
// Alerting notifications time interval actions
ActionAlertingNotificationsTimeIntervalsRead = "alert.notifications.time-intervals:read"
ActionAlertingNotificationsTimeIntervalsWrite = "alert.notifications.time-intervals:write"