Skip to content
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

[8.11] Allow enrich_user to read/view enrich indices (#100707) #100716

Merged
merged 2 commits into from
Oct 11, 2023

Conversation

dnhatn
Copy link
Member

@dnhatn dnhatn commented Oct 11, 2023

Backports the following commits to 8.11:

> Unexpected error from Elasticsearch: security_exception - action [indices:data/read/esql/lookup] is unauthorized for user [guest] with effective roles [enrich_user,esql-read-role] on restricted indices [.enrich-group_lookup-1696927917972], this action is granted by the index privileges [read,all]

Currently, the enrich indices (.enrich-*) are restricted system indices 
managed by the enrich plugin. While the `enrich_user` should not be
allowed to manage or write to these indices, they should be allowed to
read and view_index_metadata. This is necessary for ESQL; otherwise,
ESQL users would require broader privileges to perform enrich in ESQL.
@dnhatn dnhatn added :Security/Authorization Roles, Privileges, DLS/FLS, RBAC/ABAC >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Security Meta label for security team labels Oct 11, 2023
@elasticsearchmachine elasticsearchmachine merged commit 24cb648 into elastic:8.11 Oct 11, 2023
@dnhatn dnhatn deleted the backport/8.11/pr-100707 branch October 11, 2023 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug :Security/Authorization Roles, Privileges, DLS/FLS, RBAC/ABAC Team:Security Meta label for security team v8.11.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants