Skip to content

Commit

Permalink
Allow all alert severities to be acknowledged (#22461)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanclark committed Mar 3, 2023
1 parent 5aa3a41 commit c99a4d6
Show file tree
Hide file tree
Showing 3 changed files with 1,185 additions and 1,220 deletions.
9 changes: 5 additions & 4 deletions api/proto/teleport/legacy/types/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4833,10 +4833,11 @@ message AlertAcknowledgement {
// Reason describes the reason why the alert can be considered
// acknowledged (e.g. 'alice will fix next week').
string Reason = 2 [(gogoproto.jsontag) = "reason,omitempty"];
// Severity is the maximum severity for which the acknowledgement will
// perform suppression (e.g. an ack with severity MEDIUM will suppress
// alerts with severity MEDIUM or lower, but not alerts with severity HIGH).
AlertSeverity Severity = 3 [(gogoproto.jsontag) = "severity,omitempty"];

// 3 is reserved for the previously used alert acknowledgement "severity"
reserved 3;
reserved "Severity";

// Expires is the time after which the acknowledgement expires.
google.protobuf.Timestamp Expires = 4 [
(gogoproto.jsontag) = "expires,omitempty",
Expand Down

0 comments on commit c99a4d6

Please sign in to comment.