From 34f37c421989e48643d3a3191252a57c1e2f0db1 Mon Sep 17 00:00:00 2001 From: Theo Truong Date: Wed, 13 Sep 2023 11:03:15 -0600 Subject: [PATCH] Added Security namespace to Client Signed-off-by: Theo Truong --- api/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/index.js b/api/index.js index 8f58c93f5..71dc3e4d3 100644 --- a/api/index.js +++ b/api/index.js @@ -71,6 +71,7 @@ const reindexRethrottleApi = require('./api/reindex_rethrottle'); const renderSearchTemplateApi = require('./api/render_search_template'); const scriptsPainlessExecuteApi = require('./api/scripts_painless_execute'); const scrollApi = require('./api/scroll'); +const securityApi = require('./api/security'); const searchApi = require('./api/search'); const searchShardsApi = require('./api/search_shards'); const searchTemplateApi = require('./api/search_template'); @@ -144,6 +145,7 @@ OpenSearchAPI.prototype.reindexRethrottle = reindexRethrottleApi; OpenSearchAPI.prototype.renderSearchTemplate = renderSearchTemplateApi; OpenSearchAPI.prototype.scriptsPainlessExecute = scriptsPainlessExecuteApi; OpenSearchAPI.prototype.scroll = scrollApi; +OpenSearchAPI.prototype.security = securityApi; OpenSearchAPI.prototype.search = searchApi; OpenSearchAPI.prototype.searchShards = searchShardsApi; OpenSearchAPI.prototype.searchTemplate = searchTemplateApi;