Skip to content

Conversation

@carlosdelest
Copy link
Member

Enterprise Search can create a new Engine type that uses already existing Elasticsearch indices.

Elasticsearch indices starting with search-* (or with a search-* alias) can be used as the backend for these new Engine types. The suffix has been chosen so users need to create an alias or rename their indices to be available to Enterprise Search; this way, we avoid Enterprise Search to have full read ability over all indices.

For this to happen, permissions must be added to the Enterprise Search service account so it can read search-* indices.

Fixes: https://github.com/elastic/enterprise-search-team/issues/1773
Related: https://github.com/elastic/cloud-assets/pull/1004, https://github.com/elastic/cloud/pull/100471

@carlosdelest carlosdelest added >enhancement :Security/Authorization Roles, Privileges, DLS/FLS, RBAC/ABAC Team:Security Meta label for security team labels Apr 6, 2022
@carlosdelest carlosdelest requested review from ioanatia and jgr April 6, 2022 13:43
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security (Team:Security)

@carlosdelest carlosdelest changed the title Add indices permissions enterprise search service account Add indices permissions to Enterprise Search service account Apr 6, 2022
@elasticsearchmachine elasticsearchmachine added v8.3.0 external-contributor Pull request authored by a developer outside the Elasticsearch team labels Apr 6, 2022
@elasticsearchmachine
Copy link
Collaborator

Hi @carlosdelest, I've created a changelog YAML for you.

carlosdelest and others added 4 commits April 6, 2022 15:44
…terprise-search-service-account' into add-indices-permissions-enterprise-search-service-account
@carlosdelest carlosdelest added v8.2.0 auto-backport Automatically create backport pull requests when merged labels Apr 6, 2022
Copy link
Member

@ywangd ywangd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged >enhancement external-contributor Pull request authored by a developer outside the Elasticsearch team :Security/Authorization Roles, Privileges, DLS/FLS, RBAC/ABAC Team:Security Meta label for security team v8.2.0 v8.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants