Create and manage Kibana alerting rules via REST API or Terraform.
Create and manage Kibana alerting rules via REST API or Terraform. Use when creating, updating, or managing rule lifecycle (enable, disable, mute, snooze) or rules-as-code workflows.This is the skill's description: the text your AI reads to decide when the skill applies.
elastic-kibana-alerting-rules/SKILL.md
---
name: kibana-alerting-rules
description: >
Create and manage Kibana alerting rules via REST API or Terraform. Use when creating,
updating, or managing rule lifecycle (enable, disable, mute, snooze) or rules-as-code
workflows.
metadata:
author: elastic
version: 0.1.0
---
# Kibana Alerting Rules
## Core Concepts
A rule has three parts: **conditions** (what to detect), **schedule** (how often to check), and **actions** (what
happens when conditions are met). When conditions are met, the rule creates **alerts**, which trigger **actions** via
**connectors**.
## Authentication
All alerting API calls require either API key auth or Basic auth. Every mutating request must include the `kbn-xsrf`
header.
```http