Skip to content

Commit

Permalink
Admin role for Query insights plugin (#4006)
Browse files Browse the repository at this point in the history
Signed-off-by: Chenyang Ji <cyji@amazon.com>
(cherry picked from commit 6b9ded2)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Feb 5, 2024
1 parent 7977b40 commit 9dda824
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -398,3 +398,9 @@ flow_framework_read_access:
- 'cluster:admin/opensearch/flow_framework/workflow_state/get'
- 'cluster:admin/opensearch/flow_framework/workflow_state/search'
- 'cluster:admin/opensearch/flow_framework/workflow_step/get'

# Allows users to use all query insights APIs
query_insights_full_access:
reserved: true
cluster_permissions:
- 'cluster:admin/opensearch/insights/top_queries/*'

0 comments on commit 9dda824

Please sign in to comment.