Create Automation Rule
create_automation_ruleCreate an automation rule that reacts to events. Triggers: TEST_FAILED, TEST_RECOVERED, INCIDENT_CREATED, INCIDENT_RESOLVED, TARGET_DOWN, TARGET_RECOVERED. Actions: escalate (change severity), suppress (mute), rerun (schedule retry), notify, webhook, add_note.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Rule name | |
| actions | Yes | Actions to execute when triggered | |
| trigger | Yes | Event that triggers the rule | |
| targetId | No | Optional target ID to scope rule to a specific target | |
| conditions | No | Optional conditions that must be met | |
| priorityOrder | No | Priority order (lower = evaluated first) |