I have an Elastic Instance running v8.18.0. When I go to Observability > Alerts, then click ‘Manage Rules’ > Create Rule and start creating a Custom Threshold rule, I see this option:
After saving the rule and editing it, the ‘Rule Scope’ option will not show up:
This seems to be a bug.
How can I modify the rule scope definition for an existing custom threshold rule?
Thanks in advance.
Hello @marcelpineda
Yes , i see below issue on github related to this with more information :
opened 05:38PM - 11 Apr 24 UTC
bug
Feature:Alerting
Team:ResponseOps
docs
Question
**Kibana version:**
8.12.2
**Elasticsearch version:**
8.12.2
**Server OS ver… sion:**
Rhel 9
**Browser version:**
Edge
**Browser OS version:**
**Original install method (e.g. download page, yum, from source, etc.):**
tar
**Describe the bug:**
'role visibility' is not documented
**Steps to reproduce:**
1. log into kibana
2. click hamburger menu and alerts
3. click manage rules
4. click create rule
5. type a name
6. pick alert type
7. scroll down and 'alert visibility' dropdown is there. This value is neither documented in the ui, the kibana alert docs or the alert api docs.

The value isn't editable through the ui once you create the alert. It looks like it goes by 'consumer' in the api which is a disconnect between ui and api. Or maybe that does something completely different.
**Expected behavior:**
**Screenshots (if relevant):**
**Errors in browser console (if relevant):**
**Provide logs and/or server output (if relevant):**
**Any additional context:**
Instead of updating that value maybe we can disable current alert and clone or create new with needed role visibility.
Thanks!!