Skip to content

Commit 9008f86

Browse files
[Observability/Kibana][Alerting] Document Stack and Observability Alerts feature privileges (#7642)
## Summary Documents the new **Stack Alerts** and **Observability Alerts** feature privileges (9.5 and Serverless), which let users read alerts and perform per-alert actions (snooze, unsnooze, acknowledge) without the broader rule-management privilege. Also adds dedicated **Required permissions** sections to the rules and alerts pages so readers see rule-management and alert-triage privileges side by side, with the stack/serverless differences called out inline instead of in separate notes. Fixes #7228. ### Previews * [Alerting setup | Give access to triage alerts without managing rules](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7642/explore-analyze/alerting/alerts/alerting-setup#_give_access_to_triage_alerts_without_managing_rules): New section explaining how to grant the Stack Alerts and Observability Alerts feature privileges, what their All and Read levels allow, and which rule types can appear under both privileges. * [Create and manage rules (Kibana) | Required permissions](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7642/explore-analyze/alerting/alerts/create-manage-rules#_required_permissions): Restructured into two flat bullets (Rules, Alerts) covering both the {{stack}} and serverless permission models, including the Editor role for serverless rule management and the Stack/Observability Alerts privilege for triage-only access. * [View and manage alerts (Kibana)](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7642/explore-analyze/alerting/alerts/view-alerts): Adds a **Required permissions** section (replacing the old inline note) explaining the Stack Alerts / Observability Alerts privilege needed to view alerts and perform per-alert actions. * [Create and manage rules (Observability) | Required permissions](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7642/solutions/observability/incident-management/create-manage-rules#_required_permissions): Consolidates the previous top-of-page notes into the intro paragraph and a new **Required permissions** section with Rules and Alerts bullets covering both stack and serverless. * [View and manage alerts (Observability)](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7642/solutions/observability/incident-management/view-alerts): Adds a **Required permissions** section explaining the Observability Alerts privilege needed to view alerts and perform per-alert actions. ## Generative AI disclosure 1. Did you use a generative AI (GenAI) tool to assist in creating this contribution? - [x] Yes - Cursor + Claude - [ ] No
1 parent f0145b7 commit 9008f86

5 files changed

Lines changed: 40 additions & 12 deletions

File tree

explore-analyze/alerting/alerts/alerting-setup.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,30 @@ The rule type also affects the privileges that are required. For example, to vie
7272

7373
::::
7474

75+
### Give access to triage alerts without managing rules [_give_access_to_triage_alerts_without_managing_rules]
76+
77+
```{applies_to}
78+
stack: ga 9.5+
79+
serverless: ga
80+
```
81+
82+
To let users read alerts and perform per-alert actions such as [snooze](view-alerts.md), unsnooze, and [acknowledge](view-alerts.md#acknowledge-alerts), assign one or both of the following feature privileges. These privileges do not include rule management.
83+
84+
**{{kib}} privileges**
85+
86+
* **Management → Stack Alerts**:
87+
* `All`: Read {{stack-manage-app}} alerts and perform per-alert actions across {{stack-manage-app}} rule types (for example, the {{es}} query, index threshold, geo-containment, transform health, {{ml}} anomaly detection, and custom threshold rule types).
88+
* `Read`: Read {{stack-manage-app}} alerts and their snooze state.
89+
* **Observability → Observability Alerts**:
90+
* `All`: Read {{observability}} alerts and perform per-alert actions across {{observability}} rule types (for example, the APM, infrastructure, logs, SLO burn rate, Synthetics, and custom threshold rule types).
91+
* `Read`: Read {{observability}} alerts and their snooze state.
92+
93+
Some rule types, such as {{es}} query, custom threshold, and {{ml}} anomaly detection, can appear on both the **Stack Alerts** and **Observability Alerts** pages. Grant the privilege that matches the alerts page your users work from, or grant both when they need access in each context.
94+
95+
:::{note}
96+
These privileges don't grant permission to create, edit, enable, disable, or delete rules. To manage rules, users still need the appropriate **{{stack-rules-feature}}** or {{observability}} feature privileges described earlier on this page. On both alerts pages, viewing rule stats, rule name links, and the **View rule details** action requires rule-read authorization in addition to these alert privileges.
97+
:::
98+
7599
### Give view-only access to alerts in **Discover** or **Dashboards** [_give_view_only_access_to_alerts_in_discover_or_dashboards]
76100

77101
**{{kib}} privileges**

explore-analyze/alerting/alerts/create-manage-rules.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ For more information on alerting concepts and the types of rules and connectors
3939

4040
## Required permissions [_required_permissions]
4141

42-
Access to rules is granted based on your {{alert-features}} privileges. For more information, go to [Security](alerting-setup.md#alerting-security).
42+
* **Rules**: To create and manage rules, you need the appropriate feature privileges for the app that owns the rule type, for example, {{observability}} features for Observability rules, or {{ml-app}} for anomaly detection rules. For more information, go to [Security](alerting-setup.md#alerting-security). {applies_to}`serverless: ga` On serverless, assign the **Editor** role or higher instead. For more information, refer to [Assign user roles and privileges](/deploy-manage/users-roles/cloud-organization/user-roles.md#general-assign-user-roles).
43+
44+
* **Alerts**: To read alerts and perform per-alert actions (such as snooze, unsnooze, and acknowledge) without allowing users to manage rules—assign the **Stack Alerts** or **Observability Alerts** feature privilege, depending on which alerts page you use (`All` for full access, or `Read` for view and snooze state only). Assign this through {{kib}} roles on the {{stack}}, or through a [custom role](/deploy-manage/users-roles/serverless-custom-roles.md) on serverless. For details, refer to [Give access to triage alerts without managing rules](alerting-setup.md#_give_access_to_triage_alerts_without_managing_rules).
4345

4446
## {{cps-cap}} scope for rules [cps-scope-for-rules]
4547
```{applies_to}

explore-analyze/alerting/alerts/view-alerts.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@ Manage alerts from the following places:
2525
:screenshot:
2626
:::
2727

28-
::::{note}
29-
You must have the appropriate {{kib}} {{alert-features}} and index privileges to view alerts. Refer to [Alerting security requirements](alerting-setup.md#alerting-security).
28+
## Required permissions [_required_permissions]
3029

31-
::::
30+
To view alerts and perform per-alert actions such as snooze, unsnooze, and acknowledge, assign the **Stack Alerts** or **Observability Alerts** feature privilege, depending on which alerts page you use (`All` for full access, or `Read` for view and snooze state only). Assign this through {{kib}} roles on the {{stack}}, or through a [custom role](/deploy-manage/users-roles/serverless-custom-roles.md) on serverless. For more information, refer to [Give access to triage alerts without managing rules](alerting-setup.md#_give_access_to_triage_alerts_without_managing_rules).
3231

3332
## Filter alerts [filter-alerts]
3433

solutions/observability/incident-management/create-manage-rules.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,21 @@ description: Create and manage alerting rules for Elastic Observability applicat
1414

1515
# Create and manage rules for Elastic {{observability}} [observability-create-manage-rules]
1616

17-
::::{note}
18-
19-
**For Observability serverless projects**, the **Editor** role or higher is required to create and manage rules for alerting. To learn more, refer to [Assign user roles and privileges](/deploy-manage/users-roles/cloud-organization/user-roles.md#general-assign-user-roles).
20-
21-
::::
22-
23-
2417
Alerting enables you to define *rules*, which detect complex conditions within different apps and trigger actions when those conditions are met. Alerting provides a set of built-in connectors and rules for you to use.
2518

2619
::::{note}
2720
:applies_to: {"stack": "ga 9.4+", "serverless": "ga"}
2821

29-
All of your alerting rules appear in one list on the **Rules** page. Open the page from **{{stack-manage-app}}** > **Alerts and insights** > **{{rules-ui}}**, or from **Manage rules** (or the equivalent link) in {{observability}}, Discover, or Stack Monitoring. Each of these opens the same **Rules** page, where you can view and manage rules.
22+
All of your alerting rules appear in one list on the **Rules** page. Open the page from **{{stack-manage-app}}** **Alerts and insights** **{{rules-ui}}**, or from **Manage rules** (or the equivalent link) in {{observability}}, Discover, or Stack Monitoring. Each of these opens the same **Rules** page, where you can view and manage rules.
3023
::::
3124

3225

26+
## Required permissions [_required_permissions]
27+
28+
* **Rules**: To create and manage {{observability}} rules, assign `All` privileges for the relevant Observability features, which vary by rule type, for example, APM, Logs, Infrastructure, or Synthetics. Anomaly detection rules also require **Analytics → {{ml-app}}** privileges. For more information, refer to [Alerting security requirements](/explore-analyze/alerting/alerts/alerting-setup.md#alerting-security). {applies_to}`serverless: ga` On serverless, assign the **Editor** role or higher instead. For more information, refer to [Assign user roles and privileges](/deploy-manage/users-roles/cloud-organization/user-roles.md#general-assign-user-roles).
29+
30+
* **Alerts**: To read {{observability}} alerts and perform per-alert actions (such as snooze, unsnooze, and acknowledge) without allowing users to manage rules—assign the **Observability Alerts** feature privilege (`All` for full access, or `Read` for view and snooze state only). Assign this through {{kib}} roles on the {{stack}}, or through a [custom role](/deploy-manage/users-roles/serverless-custom-roles.md) on serverless. For more information, refer to [Give access to triage alerts without managing rules](/explore-analyze/alerting/alerts/alerting-setup.md#_give_access_to_triage_alerts_without_managing_rules).
31+
3332
## Observability rules [observability-create-manage-rules-observability-rules]
3433

3534
Learn more about Observability rules and how to create them:

solutions/observability/incident-management/view-alerts.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ The **Alerts** page provides a central view of all alerts across your Elastic {{
2222
:screenshot:
2323
:::
2424

25+
## Required permissions [_required_permissions]
26+
27+
To view {{observability}} alerts and perform per-alert actions such as snooze, unsnooze, and acknowledge, assign the **Observability Alerts** feature privilege (`All` for full access, or `Read` for view and snooze state only). Assign this through {{kib}} roles on the {{stack}}, or through a [custom role](/deploy-manage/users-roles/serverless-custom-roles.md) on serverless. For more information, refer to [Give access to triage alerts without managing rules](/explore-analyze/alerting/alerts/alerting-setup.md#_give_access_to_triage_alerts_without_managing_rules).
28+
2529
## Filter and customize the alerts table [observability-view-alerts-work-with-table]
2630

2731
Use the KQL bar to search for specific alerts using [{{kib}} Query Language](/explore-analyze/query-filter/languages/kql.md), or use the time range picker and status filter buttons below it to narrow alerts by time period or status (active, recovered, or untracked).

0 commit comments

Comments
 (0)