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

Add set security user ingest processor #4644

Open
ng-druid opened this issue Aug 4, 2024 · 2 comments
Open

Add set security user ingest processor #4644

ng-druid opened this issue Aug 4, 2024 · 2 comments
Labels
enhancement New feature or request triaged Issues labeled as 'Triaged' have been reviewed and are deemed actionable.

Comments

@ng-druid
Copy link

ng-druid commented Aug 4, 2024

Is your feature request related to a problem? Please describe

I would like to include the authenticated user id as part of a document using an ingest pipeline processor. Additionally, roles even claims in the token used to authenticate.

Describe the solution you'd like

Elasticsearch provides a set security processor already.

https://www.elastic.co/guide/en/elasticsearch/reference/current/ingest-node-set-security-user-processor.html

I think this would satisfy user id but uncertain on roles, claims.

Ideally, have an option to embed specific user info, entire object with exclusions as either a standard nested object or flat object.

Describe alternatives you've considered

none

Additional context

It could be that the set security processor exists just needs to be added to the docs.

@ng-druid ng-druid added enhancement New feature or request untriaged Require the attention of the repository maintainers and may need to be prioritized labels Aug 4, 2024
@rishabh6788 rishabh6788 transferred this issue from opensearch-project/opensearch-build Aug 14, 2024
@stephen-crawford
Copy link
Contributor

[Triage] Hi @ng-druid, thanks for filing this issue. This seems like a good feature request. Going to mark as triaged.

@stephen-crawford stephen-crawford added triaged Issues labeled as 'Triaged' have been reviewed and are deemed actionable. and removed untriaged Require the attention of the repository maintainers and may need to be prioritized labels Aug 19, 2024
@cwperks
Copy link
Member

cwperks commented Oct 3, 2024

This may also be possible through the MapperPlugin extension point similar to mapper-size plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triaged Issues labeled as 'Triaged' have been reviewed and are deemed actionable.
Projects
None yet
Development

No branches or pull requests

3 participants