Skip to content

FLS for pluggable data formats and query execution - #3

Draft
nibix wants to merge 2 commits into
pluggable-df-dlsfrom
pluggable-df-fls
Draft

nibix wants to merge 2 commits into
pluggable-df-dlsfrom
pluggable-df-fls

Conversation

@nibix

@nibix nibix commented Oct 6, 2026

Copy link
Copy Markdown
Owner

Description

Adds Security plugin integration coverage for field-level security enforcement in analytics queries according to the RFC in opensearch-project/OpenSearch#22828.

This implements the Security plugin side of the core PR nibix/OpenSearch#3

The Security plugin already exposes request-scoped FLS rules through MapperPlugin#getFieldFilter(), so no production-code changes are required. This PR extends the mock logical-plan consumer introduced for DLS to retrieve the effective field filter through IndicesService.

The integration test verifies that:

  • an FLS-protected index exposes only the fields allowed for the authenticated user;
  • an unrestricted index continues to expose all mapped fields;
  • field visibility is evaluated independently for each concrete index;
  • the effective field filter remains available in the authenticated transport request context.

Field masking is not included and will follow separately.

Check List

  • New functionality includes testing
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Nils Bandener <nils.bandener@eliatra.com>
Signed-off-by: Nils Bandener <nils.bandener@eliatra.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant