-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]Permission issue on AWS managed Opensearch 2.7 Indices search bar under Index Management. #959
Comments
Can anyone please share some inputs ? |
I will test it today in the open source version as well and will then close if its related to AWS :) Thank you Daniel |
@dblock I can confirm that this is present in the Open Source version as well. Using v 2.14.0 to reproduce this and looks like this is an issue with how the dashboards is sending the search request. |
@Its-Ankush Do you have other indices in the cluster that would match the |
When filtering indices, its using this handler: https://github.com/opensearch-project/index-management-dashboards-plugin/blob/main/server/services/IndexService.ts#L62-L103 Part of that handler is a call to Same error message from the issue description here: opensearch-project/security#1815 |
Describe the bug
This issue is related to AWS managed Opensearch 2.7 where FGAC is enabled. Im creating 3 indices by the name index, index1 and index2. I use my own custom role "read_only_certain" [I will share it below]. I have index patterns as index, index1 as shown below in the image
When I search for the index name index in the search bar under Index Management > Indices, it shows me
[security_exception] no permissions for [indices:monitor/settings/get] and User [name=abc, backend_roles=[], requestedTenant=]
however when I search for the index index1, it does appear. I think this can be a bugTo Reproduce
Steps to reproduce the behavior:
Login to that user and go to Index Management > Indices and search for the above indices as mentioned
See error
When I search for index
When I search for index1
Expected behavior
The expected behaviour is that I should be able to see the index as well and not just index1
Plugins
Im using FGAC opensearch-security plugin
Screenshots
Shared above
Host/Environment (please complete the following information):
Additional context
This only happens when I use names like index and index1 . The string "index" is contained in other string "index1" so maybe there is something related to that.
This is the request that Opensearch builds when i search for index1
Response
This is the request that Opensearch builds when i search for index
Response
Edit - Its important to note that both of the below works
The text was updated successfully, but these errors were encountered: