[FEATURE] Full resource name security for OpenSearch entities: Templates, Aliases, Pipelines #3665
Labels
enhancement
New feature or request
triaged
Issues labeled as 'Triaged' have been reviewed and are deemed actionable.
Is your feature request related to a problem?
We're implementing security configurations for OpenSearch based on database as a service approach.
So we allow every user to work with indexes it owns, in our cases which start from {username} prefix.
For example, user1 can create/update/write/read to index user1-test, but can't to user2-test.
We reached it with the role:
We previously faced an issue, that it is not possible to strict creating aliases with specific name, but it's not critical, because created alias can't linked with index of user don't have permission to.
Most important problem that we can't configure granular security for Index Templates.
We would like user to create only Template with allowed name ({username} prefix), and specify "index_pattern" only indexes, allowed by security pattern ({username} prefix). But now OpenSearch security requires to add template cluster wide permissions and there are no granularity for name pattern.
What solution would you like?
Something like:
And when user tries to access entity with some name it should be checked with granular permissions, not cluster.
index_pattern
field to allow user to create templates only with index pattern they have an access (covered with their role).Do you have any additional context?
Created after discussion Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: