Skip to content

Commit

Permalink
Merge pull request #63 from signalsciences/fix-agent-alerts
Browse files Browse the repository at this point in the history
Updating CustomAlertBody
  • Loading branch information
BrooksCunningham authored Aug 1, 2024
2 parents 92ef742 + c0126dc commit b31321f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api.go
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,8 @@ type CustomAlertBody struct {
Action string `json:"action"`
SkipNotifications bool `json:"skipNotifications"`
BlockDurationSeconds int `json:"blockDurationSeconds,omitempty"`
Operator string `json:"operator,omitempty"`
FieldName string `json:"fieldName,omitempty"`
}

// CreateCustomAlert creates a custom alert.
Expand Down

0 comments on commit b31321f

Please sign in to comment.