From 5b78c6cf31d26654ac3f2d85fd99c3e15d5c3865 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 3 Sep 2024 19:13:06 +0000 Subject: [PATCH] adding alerting comments security actions to roles.yml (#4699) Signed-off-by: Dennis Toepker Co-authored-by: Dennis Toepker (cherry picked from commit 0ee1cda55150b7421b295a6f430bf336e87d1442) Signed-off-by: github-actions[bot] --- config/roles.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/roles.yml b/config/roles.yml index 6e13f234d8..eaa4af78a1 100644 --- a/config/roles.yml +++ b/config/roles.yml @@ -32,6 +32,7 @@ alerting_read_access: - 'cluster:admin/opendistro/alerting/destination/get' - 'cluster:admin/opendistro/alerting/monitor/get' - 'cluster:admin/opendistro/alerting/monitor/search' + - 'cluster:admin/opensearch/alerting/comments/search' - 'cluster:admin/opensearch/alerting/findings/get' - 'cluster:admin/opensearch/alerting/remote/indexes/get' - 'cluster:admin/opensearch/alerting/workflow/get' @@ -44,6 +45,7 @@ alerting_ack_alerts: - 'cluster:admin/opendistro/alerting/alerts/*' - 'cluster:admin/opendistro/alerting/chained_alerts/*' - 'cluster:admin/opendistro/alerting/workflow_alerts/*' + - 'cluster:admin/opensearch/alerting/comments/search' # Allows users to use all alerting functionality alerting_full_access: