Skip to content

Allow population of Enrich indices to work with System Index protections #62505

@AthenaEryma

Description

@AthenaEryma

Enrich currently makes a reindex call to populate .enrich* indices. This is done in the context of the user executing the policy to ensure that DLS/FLS are correctly applied. However, this causes issues with the deprecation of access to System Indices in #60945 - in every other case, access to System Indices internally can be performed in the context of an xpack user, but because we need to make the reindex call in the Security context of the user, access to the .enrich* System Index must be done in the user's context as well.

In #60945 we have a hack to work around this and prevent unnecessary deprecation warnings, but that hack will not work when we cut over to enforcing access restrictions on System Indices.

This issue is to discuss options for resolving this with folks more familiar with Enrich.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions