Skip to content

Commit

Permalink
[Backport 2.x] Admin role for Query insights plugin (#4022)
Browse files Browse the repository at this point in the history
Backport 6b9ded2 from #4006.

Signed-off-by: Chenyang Ji <cyji@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 7977b40 commit cee8868
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 cee8868

Please sign in to comment.