@@ -46,8 +46,8 @@ were left unconsumed.
4646
4747The [ RestController] allows the configuration of an interceptor that determines which [ RestRequest] s are allowed to be processed. A single
4848[ RestServerActionPlugin] can provide a [ RestInterceptor] implementation, through which all requests are passed. The
49- [ Security] [ Security#getRestHandlerInterceptor ] plugin uses this capability to authorize access to endpoints that require operator privileges
50- and do secondary authentication.
49+ [ Security] [ Security#getRestHandlerInterceptor ] plugin uses this capability to register an interceptor to authorize access to endpoints
50+ that require [ operator privileges ] , populate the [ audit logs ] and perform some additional authentication when required .
5151
5252### HTTP server infrastructure
5353
@@ -61,12 +61,14 @@ additional configuration to implement features such as IP filtering or TLS.
6161[ ActionModule#initRestHandlers ] :https://github.com/elastic/elasticsearch/blob/v9.0.1/server/src/main/java/org/elasticsearch/action/ActionModule.java#L814
6262[ ActionModule ] :https://github.com/elastic/elasticsearch/blob/v9.0.1/server/src/main/java/org/elasticsearch/action/ActionModule.java
6363[ ActionPlugin ] :https://github.com/elastic/elasticsearch/blob/v9.0.1/server/src/main/java/org/elasticsearch/plugins/ActionPlugin.java
64+ [ audit logs ] :https://www.elastic.co/docs/deploy-manage/security/logging-configuration/enabling-audit-logs
6465[ BaseRestHandler#handleRequest ] :https://github.com/elastic/elasticsearch/blob/v9.0.1/server/src/main/java/org/elasticsearch/rest/BaseRestHandler.java#L79
6566[ BaseRestHandler#prepareRequest ] :https://github.com/elastic/elasticsearch/blob/v9.0.1/server/src/main/java/org/elasticsearch/rest/BaseRestHandler.java#L247
6667[ BaseRestHandler ] :https://github.com/elastic/elasticsearch/blob/v9.0.1/server/src/main/java/org/elasticsearch/rest/BaseRestHandler.java
6768[ HttpServerTransport.Dispatcher ] :https://github.com/elastic/elasticsearch/blob/v9.0.1/server/src/main/java/org/elasticsearch/http/HttpServerTransport.java#L36
6869[ HttpServerTransport ] :https://github.com/elastic/elasticsearch/blob/v9.0.1/server/src/main/java/org/elasticsearch/http/HttpServerTransport.java
6970[ Netty4HttpServerTransport ] :https://github.com/elastic/elasticsearch/blob/v9.0.1/modules/transport-netty4/src/main/java/org/elasticsearch/http/netty4/Netty4HttpServerTransport.java
71+ [ operator privileges ] :https://www.elastic.co/docs/deploy-manage/users-roles/cluster-or-deployment-auth/operator-privileges
7072[ RestBulkAction ] :https://github.com/elastic/elasticsearch/blob/v9.0.1/server/src/main/java/org/elasticsearch/rest/action/document/RestBulkAction.java
7173[ RestChannelConsumer ] :https://github.com/elastic/elasticsearch/blob/v9.0.1/server/src/main/java/org/elasticsearch/rest/BaseRestHandler.java#L204
7274[ RestChannel ] :https://github.com/elastic/elasticsearch/blob/v9.0.1/server/src/main/java/org/elasticsearch/rest/RestChannel.java
0 commit comments