Skip to content

[FEATURE] Authorization and ActionPlugin Wrapper Support for gRPC Endpoints #5379

@aparajita31pandey

Description

@aparajita31pandey

Is your feature request related to a problem? Please describe
Yes.

  1. With Opensearch 3.0, gRPC introduced for some of the endpoints, we need support for authorization on those gRPC endpoints.
  2. OpenSearch currently provides ActionPlugin.getRestHandlerWrapper to intercept and wrap all REST requests before they are handled. However, there is no equivalent hook for gRPC endpoints.

We have a custom plugin that uses ActionPlugin.getRestHandlerWrapper to intercept all REST requests for custom processing. We need similar interception or wrapper support for gRPC endpoints as well, so we can apply the same logic to gRPC calls.
Previous ticket which added grpc-transport plugin - opensearch-project/OpenSearch#16905

Metadata

Metadata

Assignees

No one assigned

    Labels

    triagedIssues labeled as 'Triaged' have been reviewed and are deemed actionable.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions