Skip to content

Commit

Permalink
- Added filter attribute to the ressource notification rule (#196)
Browse files Browse the repository at this point in the history
Co-authored-by: Christian Körner <[email protected]>
Co-authored-by: Fahri YARDIMCI <[email protected]>
  • Loading branch information
3 people authored Dec 4, 2020
1 parent 349d437 commit d19506f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions website/docs/r/notification_rule.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,27 @@ The `contact` block supports:

* `to` - (Required) Address of a given method (eg. phone number for sms/voice or email address for email)

The `filter` block supports:

* `type` - (Required) Kind of matching filter "match-all", "match-any-condition", "match-all-conditions"

* `conditions` - (Optional) Defines the fields and values when the condition applies

`conditions` support the following:

* `field` - (Required) Possible values: "message", "alias", "description", "source", "entity", "tags", "actions", "details", "extra-properties", "recipients", "teams", "priority"

* `operation` - (Required) Possible values: "matches", "contains", "starts-with", "ends-with", "equals", "contains-key", "contains-value", "greater-than", "less-than", "is-empty", "equals-ignore-whitespace

* `key` - (Optional) If 'field' is set as 'extra-properties', key could be used for key-value pair

* `not` - (Optional) Indicates behaviour of the given operation. Default value is false

* `expected value` - (Optional) User defined value that will be compared with alert field according to the operation. Default value is empty string

* `order` - (Optional) Order of the condition in conditions list



## Attributes Reference

Expand Down

0 comments on commit d19506f

Please sign in to comment.