Skip to content

Commit

Permalink
Admin role for Query insights plugin (opensearch-project#4006)
Browse files Browse the repository at this point in the history

Signed-off-by: Chenyang Ji <[email protected]>
  • Loading branch information
ansjcy authored Feb 5, 2024
1 parent f75d0c9 commit 6b9ded2
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 @@ -399,3 +399,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 6b9ded2

Please sign in to comment.