From 2da97978d42111c947714d2749a5ee5d94b311f8 Mon Sep 17 00:00:00 2001 From: keithhc2 Date: Tue, 18 Jan 2022 15:18:20 -0800 Subject: [PATCH 1/5] Added note about monitors Signed-off-by: keithhc2 --- _monitoring-plugins/alerting/security.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_monitoring-plugins/alerting/security.md b/_monitoring-plugins/alerting/security.md index 5e5dfa74..e07bbb46 100644 --- a/_monitoring-plugins/alerting/security.md +++ b/_monitoring-plugins/alerting/security.md @@ -31,6 +31,8 @@ Later, the user `psantos` wants to edit the monitor to run every two hours, but After making the change, the monitor now runs with the same permissions as `psantos`, including any [document-level security]({{site.url}}{{site.baseurl}}/security-plugin/access-control/document-level-security/) queries, [excluded fields]({{site.url}}{{site.baseurl}}/security-plugin/access-control/field-level-security/), and [masked fields]({{site.url}}{{site.baseurl}}/security-plugin/access-control/field-masking/). If you use an extraction query to define your monitor, use the **Run** button to ensure that the response includes the fields you need. +Once a monitor is created, the Alerting plugin will continue executing the monitor, even if the user who created the monitor has write access permissions removed. To stop a monitor, a user with at least `alerting_write_access` permissions must manually disable or delete the monitor. This rule applies to all types of monitors, regardless of destination or any other setting. +{: .note} ## (Advanced) Limit access by backend role @@ -55,7 +57,6 @@ Now when users view alerting resources in OpenSearch Dashboards (or make REST AP If `jdoe` creates a monitor, `jroe` can see and modify it, but `psantos` can't. If that monitor generates an alert, the situation is the same: `jroe` can see and acknowledge it, but `psantos` can't. If `psantos` creates a destination, `jdoe` and `jroe` can't see or modify it. -