You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 bug
To Reproduce
Steps to reproduce the behavior:
Create the following role and assign it to an internal user-
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):
OS: MacOS
Version: AWS Managed Opensearch 2.7
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
@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.
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: