"Set security user" processor in OpenSearch?

After searching for this for a while, I also ran into the lack of processor documentation in OpenSearch. What is the replacement for the “set security user” processor in OpenSearch pipelines? I could not find any definition of this processor in the OpenSearch code, but I assume there is some magic to obtain the authenticated user in a pipeline, so it can be stored automatically with documents.

Thanks much in advance,
–j.

1 Like

Hey @j94305

Are you refering to this?

Correct. And it is not only present in Elasticsearch 8.8, but also in earlier versions, e.g., 7.17:

I am wondering, what is the OpenSearch equivalent of this? Is there some magic coming with the security plugin or do I have to refer to HTTP headers like REMOTE_USER…?

“Processors” in general are remarkably under-documented in OpenSearch.

1 Like