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;