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.
---
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… install to load the full skillNot connected yet? Connect your AI first →
MCP endpoint
https://skillme.dev/api/mcp