Skip to content

Commit

Permalink
Modifying to use query params instead of new endpoints
Browse files Browse the repository at this point in the history
Signed-off-by: Sam <[email protected]>
  • Loading branch information
samuelcostae committed Aug 10, 2023
1 parent 695fbd5 commit 772a81f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/backend/opensearch_security_configuration_plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
});

Expand Down

0 comments on commit 772a81f

Please sign in to comment.