From 715f1c39ee0145ebe0d65848dbd69f7d9e9a6522 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Sat, 9 Nov 2024 12:11:17 +1100 Subject: [PATCH] [8.x] Unauthorized route migration for routes owned by security-service-integrations (#198376) (#199566) # Backport This will backport the following commits from `main` to `8.x`: - [Unauthorized route migration for routes owned by security-service-integrations (#198376)](https://github.com/elastic/kibana/pull/198376) ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) --- .../server/lib/security_integrations/cribl/routes/index.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/x-pack/plugins/security_solution/server/lib/security_integrations/cribl/routes/index.ts b/x-pack/plugins/security_solution/server/lib/security_integrations/cribl/routes/index.ts index 02ea252440070..fc531525e4e89 100644 --- a/x-pack/plugins/security_solution/server/lib/security_integrations/cribl/routes/index.ts +++ b/x-pack/plugins/security_solution/server/lib/security_integrations/cribl/routes/index.ts @@ -17,6 +17,13 @@ export const getFleetManagedIndexTemplatesRoute = (router: IRouter) => { .addVersion( { version: '1', + security: { + authz: { + enabled: false, + reason: + 'This route delegates authorization of the current user to the Elasticsearch index template API.', + }, + }, validate: {}, }, async (context, _request, response) => {