Skip to content

Commit

Permalink
feat: add severity property to alert rule (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
wjwong93 authored Nov 14, 2023
1 parent bed1e00 commit 75ac6b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions alerts.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ type AlertRule struct {
RuleName *string `json:"ruleName,omitempty"`
TestIds *[]int `json:"testIds,omitempty"`
Notifications *Notification `json:"notifications,omitempty"`
Severity *string `json:"severity,omitempty"`
}

// MarshalJSON implements the json.Marshaler interface. It ensures
Expand Down

0 comments on commit 75ac6b7

Please sign in to comment.