From 7adc6e08f310908063a91565803ab084b6302e4e Mon Sep 17 00:00:00 2001 From: wjwong93 Date: Tue, 14 Nov 2023 22:37:39 +0900 Subject: [PATCH] feat: add severity property to alert rule --- alerts.go | 1 + 1 file changed, 1 insertion(+) diff --git a/alerts.go b/alerts.go index 7d7ed31..58b367b 100644 --- a/alerts.go +++ b/alerts.go @@ -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