Skip to content

Commit

Permalink
add workflow cluster permissions to alerting roles (#2994)
Browse files Browse the repository at this point in the history
* add workflow cluster permissions to alerting roles

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>

* fix ordering of new cluster permissions in roles.yml
Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>

---------

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>
(cherry picked from commit 59e2657)
  • Loading branch information
eirsep authored and github-actions[bot] committed Jul 21, 2023
1 parent 38dab2e commit e9144b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,16 @@ alerting_read_access:
- 'cluster:admin/opendistro/alerting/monitor/get'
- 'cluster:admin/opendistro/alerting/monitor/search'
- 'cluster:admin/opensearch/alerting/findings/get'
- 'cluster:admin/opensearch/alerting/workflow/get'
- 'cluster:admin/opensearch/alerting/workflow_alerts/get'

# Allows users to view and acknowledge alerts
alerting_ack_alerts:
reserved: true
cluster_permissions:
- 'cluster:admin/opendistro/alerting/alerts/*'
- 'cluster:admin/opendistro/alerting/chained_alerts/*'
- 'cluster:admin/opendistro/alerting/workflow_alerts/*'

# Allows users to use all alerting functionality
alerting_full_access:
Expand Down

0 comments on commit e9144b9

Please sign in to comment.