diff --git a/src/com/coralogixapis/alerts/v3/alert_def_priority.proto b/src/com/coralogixapis/alerts/v3/alert_def_priority.proto index 111fdb9..fdf2cb3 100644 --- a/src/com/coralogixapis/alerts/v3/alert_def_priority.proto +++ b/src/com/coralogixapis/alerts/v3/alert_def_priority.proto @@ -1,4 +1,6 @@ syntax = "proto3"; +import "google/protobuf/descriptor.proto"; +import "google/protobuf/wrappers.proto"; package com.coralogixapis.alerts.v3; @@ -9,3 +11,8 @@ enum AlertDefPriority { ALERT_DEF_PRIORITY_P2 = 3; ALERT_DEF_PRIORITY_P1 = 4; } + +message Priority { + AlertDefPriority value = 1; + google.protobuf.StringValue name = 2; +} diff --git a/src/com/coralogixapis/alerts/v3/notification/notification_event.proto b/src/com/coralogixapis/alerts/v3/notification/notification_event.proto index 2ef42f0..1bc9094 100644 --- a/src/com/coralogixapis/alerts/v3/notification/notification_event.proto +++ b/src/com/coralogixapis/alerts/v3/notification/notification_event.proto @@ -10,12 +10,16 @@ import "com/coralogixapis/alerts/v3/notification/logs_immediate_notification.pro import "com/coralogixapis/alerts/v3/notification/logs_threshold_notification.proto"; import "com/coralogixapis/alerts/v3/notification/metric_threshold_notification.proto"; + message AlertNotificationEvent { google.protobuf.Timestamp timestamp = 1; google.protobuf.StringValue id = 2; AlertStatus status = 3; Attachments attachments = 4; map groups = 5; + google.protobuf.StringValue grouping_key = 6; + Priority highest_priority = 7; + } message Group {