From 96b86495a3befa9e7ca7edceaf5f4f8af70ae148 Mon Sep 17 00:00:00 2001 From: Sander Philipse <94373878+sphilipse@users.noreply.github.com> Date: Tue, 17 Sep 2024 17:56:06 +0200 Subject: [PATCH] Update x-pack/plugins/cloud/server/routes/elasticsearch_routes.ts Co-authored-by: Rodney Norris --- x-pack/plugins/cloud/server/routes/elasticsearch_routes.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x-pack/plugins/cloud/server/routes/elasticsearch_routes.ts b/x-pack/plugins/cloud/server/routes/elasticsearch_routes.ts index e96c4ea360e39..6f35e43f2c648 100644 --- a/x-pack/plugins/cloud/server/routes/elasticsearch_routes.ts +++ b/x-pack/plugins/cloud/server/routes/elasticsearch_routes.ts @@ -23,6 +23,9 @@ export function defineRoutes({ { path: ELASTICSEARCH_CONFIG_ROUTE, validate: {}, + options: { + access: 'internal', + }, }, async (context, request, response) => { const body: ElasticsearchConfigType = {