From 772a81f059b41ee817676809d656207414fb85c0 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 10 Aug 2023 17:16:27 +0100 Subject: [PATCH] Modifying to use query params instead of new endpoints Signed-off-by: Sam --- server/backend/opensearch_security_configuration_plugin.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/backend/opensearch_security_configuration_plugin.ts b/server/backend/opensearch_security_configuration_plugin.ts index 199992d46..5d7436b1e 100644 --- a/server/backend/opensearch_security_configuration_plugin.ts +++ b/server/backend/opensearch_security_configuration_plugin.ts @@ -61,12 +61,12 @@ export default function (Client: any, config: any, components: any) { Client.prototype.opensearch_security.prototype.listInternalAccounts = ca({ url: { - fmt: '/_plugins/_security/api/internalusers/internalaccounts' + fmt: '/_plugins/_security/api/internalusers?filterBy=internal' } }); Client.prototype.opensearch_security.prototype.listServiceAccounts = ca({ url: { - fmt: '/_plugins/_security/api/internalusers/serviceaccounts' + fmt: '/_plugins/_security/api/internalusers?filterBy=service' } });