create_action_rule
Create an action rule to bind an action chain to matching alert conditions, such as severity, device group, or datapoint, for automated responses.
Instructions
Create an action rule binding an action chain to alert conditions (requires write permission)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Rule name | |
| level | Yes | Alert severity to match (e.g. Error, Critical) | |
| devices | No | Device display names (["*"] for all) | |
| enabled | No | Whether the rule starts enabled | |
| instance | No | Instance matcher | |
| datapoint | No | Datapoint matcher | |
| datasource | No | Datasource name matcher | |
| device_groups | Yes | Device group full paths (["*"] for all) | |
| action_chain_id | Yes | Action chain to trigger | |
| resource_properties | No | Property matchers |