@opensearch-project/opensearch 3.3.0 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/OpenSearchApi.d.ts +8 -0
- package/api/OpenSearchApi.js +2 -0
- package/api/_core/exists.d.ts +1 -3
- package/api/_core/existsSource.d.ts +1 -3
- package/api/_core/ping.d.ts +1 -3
- package/api/_types/_common.aggregations.d.ts +143 -71
- package/api/_types/_common.analysis.d.ts +11 -1
- package/api/_types/_common.d.ts +2 -1
- package/api/_types/_common.mapping.d.ts +1 -0
- package/api/_types/_common.query_dsl.d.ts +11 -2
- package/api/_types/_core.explain.d.ts +2 -2
- package/api/_types/_core.search.d.ts +134 -7
- package/api/_types/cluster.stats.d.ts +1 -0
- package/api/_types/flow_framework.common.d.ts +12 -16
- package/api/_types/index.d.ts +2 -0
- package/api/_types/indices._common.d.ts +1 -0
- package/api/_types/insights._common.d.ts +4 -0
- package/api/_types/knn._common.d.ts +8 -7
- package/api/_types/ltr._common.d.ts +55 -0
- package/api/_types/nodes.info.d.ts +2 -2
- package/api/_types/nodes.stats.d.ts +22 -13
- package/api/_types/search_pipeline._common.d.ts +2 -60
- package/api/_types/security._common.d.ts +5 -0
- package/api/_types/snapshot._common.d.ts +38 -38
- package/api/cluster/allocationExplain.js +1 -1
- package/api/cluster/deleteComponentTemplate.js +3 -3
- package/api/cluster/existsComponentTemplate.d.ts +1 -3
- package/api/cluster/existsComponentTemplate.js +2 -2
- package/api/cluster/getComponentTemplate.js +3 -3
- package/api/cluster/getSettings.js +4 -4
- package/api/cluster/health.js +5 -5
- package/api/cluster/pendingTasks.js +2 -2
- package/api/cluster/postVotingConfigExclusions.js +2 -2
- package/api/cluster/putComponentTemplate.js +4 -4
- package/api/cluster/putDecommissionAwareness.js +1 -1
- package/api/cluster/putSettings.js +4 -4
- package/api/cluster/putWeightedRouting.js +1 -1
- package/api/cluster/reroute.js +4 -4
- package/api/cluster/state.js +4 -4
- package/api/cluster/stats.js +2 -2
- package/api/flowFramework/delete.d.ts +2 -1
- package/api/index.d.ts +2 -0
- package/api/indices/exists.d.ts +1 -3
- package/api/indices/existsAlias.d.ts +1 -3
- package/api/indices/existsIndexTemplate.d.ts +1 -3
- package/api/indices/existsTemplate.d.ts +1 -3
- package/api/ingest/deletePipeline.js +4 -4
- package/api/ingest/getPipeline.js +3 -3
- package/api/ingest/processorGrok.js +2 -2
- package/api/ingest/putPipeline.js +5 -5
- package/api/ingest/simulate.js +3 -3
- package/api/ism/existsPolicy.d.ts +1 -3
- package/api/knn/searchModels.d.ts +4 -4
- package/api/ltr/_api.js +26 -0
- package/api/ltr/stats.d.ts +33 -0
- package/api/ltr/stats.js +51 -0
- package/api/replication/autofollowStats.js +1 -1
- package/api/replication/createReplicationRule.js +1 -1
- package/api/replication/followerStats.js +1 -1
- package/api/replication/leaderStats.js +1 -1
- package/api/replication/pause.js +2 -2
- package/api/replication/resume.js +1 -1
- package/api/replication/start.js +2 -2
- package/api/replication/status.js +2 -2
- package/api/replication/stop.js +2 -2
- package/api/replication/updateSettings.js +2 -2
- package/api/security/authinfo.js +3 -3
- package/api/security/authtoken.js +1 -1
- package/api/security/configUpgradeCheck.js +1 -1
- package/api/security/configUpgradePerform.js +1 -1
- package/api/security/createAllowlist.js +1 -1
- package/api/security/createRole.js +1 -1
- package/api/security/createRoleMapping.js +1 -1
- package/api/security/createTenant.js +1 -1
- package/api/security/createUpdateTenancyConfig.js +1 -1
- package/api/security/createUser.js +1 -1
- package/api/security/createUserLegacy.js +1 -1
- package/api/security/deleteActionGroup.js +1 -1
- package/api/security/deleteDistinguishedName.js +2 -2
- package/api/security/deleteRole.js +1 -1
- package/api/security/deleteRoleMapping.js +1 -1
- package/api/security/deleteTenant.js +1 -1
- package/api/security/deleteUser.js +1 -1
- package/api/security/flushCache.js +1 -1
- package/api/security/generateOboToken.js +1 -1
- package/api/security/generateUserToken.js +2 -2
- package/api/security/generateUserTokenLegacy.js +1 -1
- package/api/security/getAccountDetails.js +1 -1
- package/api/security/getAllCertificates.js +2 -2
- package/api/security/getAllowlist.js +1 -1
- package/api/security/getConfiguration.js +1 -1
- package/api/security/getDashboardsInfo.js +1 -1
- package/api/security/getDistinguishedName.js +3 -3
- package/api/security/getDistinguishedNames.js +2 -2
- package/api/security/getNodeCertificates.js +4 -4
- package/api/security/getPermissionsInfo.js +1 -1
- package/api/security/getRole.js +1 -1
- package/api/security/getRoleMapping.js +2 -2
- package/api/security/getSslinfo.js +2 -2
- package/api/security/getTenancyConfig.js +1 -1
- package/api/security/getTenant.js +1 -1
- package/api/security/getUser.js +1 -1
- package/api/security/health.js +2 -2
- package/api/security/migrate.js +1 -1
- package/api/security/patchActionGroup.js +1 -1
- package/api/security/patchActionGroups.js +1 -1
- package/api/security/patchAllowlist.js +1 -1
- package/api/security/patchAuditConfiguration.js +1 -1
- package/api/security/patchConfiguration.js +1 -1
- package/api/security/patchDistinguishedName.js +2 -2
- package/api/security/patchDistinguishedNames.js +1 -1
- package/api/security/patchRole.js +1 -1
- package/api/security/patchRoleMapping.js +2 -2
- package/api/security/patchRoleMappings.js +1 -1
- package/api/security/patchTenant.js +1 -1
- package/api/security/patchTenants.js +1 -1
- package/api/security/patchUser.js +1 -1
- package/api/security/patchUsers.js +1 -1
- package/api/security/postDashboardsInfo.js +1 -1
- package/api/security/reloadHttpCertificates.js +1 -1
- package/api/security/reloadTransportCertificates.js +1 -1
- package/api/security/tenantInfo.js +1 -1
- package/api/security/updateConfiguration.js +1 -1
- package/api/security/updateDistinguishedName.js +2 -2
- package/api/security/validate.js +1 -1
- package/api/security/whoAmI.js +1 -1
- package/api/security/whoAmIProtected.js +1 -1
- package/api/sm/createPolicy.js +1 -1
- package/api/sm/deletePolicy.js +1 -1
- package/api/sm/explainPolicy.js +1 -1
- package/api/sm/getPolicies.js +5 -5
- package/api/sm/getPolicy.js +1 -1
- package/api/sm/startPolicy.js +1 -1
- package/api/sm/stopPolicy.js +1 -1
- package/api/sm/updatePolicy.js +1 -1
- package/api/snapshot/cleanupRepository.js +3 -3
- package/api/snapshot/clone.js +6 -6
- package/api/snapshot/create.js +6 -6
- package/api/snapshot/createRepository.js +6 -6
- package/api/snapshot/delete.js +3 -3
- package/api/snapshot/deleteRepository.js +4 -4
- package/api/snapshot/get.js +5 -5
- package/api/snapshot/getRepository.js +4 -4
- package/api/snapshot/restore.js +5 -5
- package/api/snapshot/status.js +4 -4
- package/api/snapshot/verifyRepository.js +3 -3
- package/api/tasks/cancel.js +5 -5
- package/api/tasks/get.js +3 -3
- package/api/tasks/list.js +7 -7
- package/lib/pool/BaseConnectionPool.js +6 -0
- package/package.json +1 -1
|
@@ -25,7 +25,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
25
25
|
* @memberOf API-Security
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {string} params.role - The name of the role to create a role mapping
|
|
28
|
+
* @param {string} params.role - The name of the role for which to create a role mapping.
|
|
29
29
|
* @param {object} params.body
|
|
30
30
|
*
|
|
31
31
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
@@ -25,7 +25,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
25
25
|
* @memberOf API-Security
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {string} params.tenant - The name of the tenant to
|
|
28
|
+
* @param {string} params.tenant - The name of the tenant to create.
|
|
29
29
|
* @param {object} params.body
|
|
30
30
|
*
|
|
31
31
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Creates or replaces the multi-tenancy configuration.
|
|
22
|
+
* Creates or replaces the multi-tenancy configuration. Requires super admin or REST API permissions.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/multi-tenancy/dynamic-config/#configuring-multi-tenancy-with-the-rest-api - security.create_update_tenancy_config}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -25,7 +25,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
25
25
|
* @memberOf API-Security
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {string} params.username - The name of the user to
|
|
28
|
+
* @param {string} params.username - The name of the user to create.
|
|
29
29
|
* @param {object} params.body
|
|
30
30
|
*
|
|
31
31
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
@@ -25,7 +25,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
25
25
|
* @memberOf API-Security
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {string} params.username - The name of the user to
|
|
28
|
+
* @param {string} params.username - The name of the user to create.
|
|
29
29
|
* @param {object} params.body
|
|
30
30
|
*
|
|
31
31
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Deletes the specified action group.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#delete-action-group - security.delete_action_group}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Deletes all distinguished names in the specified cluster or node
|
|
22
|
+
* Deletes all distinguished names in the specified cluster or node allowlist. Requires super admin or REST API permissions.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#delete-distinguished-names - security.delete_distinguished_name}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {string} params.cluster_name - The cluster
|
|
28
|
+
* @param {string} params.cluster_name - The cluster name to delete from list of distinguished names.
|
|
29
29
|
*
|
|
30
30
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
31
31
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Deletes the specified role.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#delete-role - security.delete_role}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -25,7 +25,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
25
25
|
* @memberOf API-Security
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {string} params.role - The name of the role
|
|
28
|
+
* @param {string} params.role - The name of the role for which to delete the role's mappings.
|
|
29
29
|
*
|
|
30
30
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
31
31
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Deletes the specified tenant.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#delete-action-group - security.delete_tenant}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Deletes the specified internal user.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#delete-user - security.delete_user}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Flushes the Security plugin user, authentication, and authorization cache.
|
|
22
|
+
* Flushes the Security plugin's user, authentication, and authorization cache.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#flush-cache - security.flush_cache}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Generates On-Behalf-Of token for the current user.
|
|
22
|
+
* Generates a `On-Behalf-Of` token for the current user.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/authentication-tokens/#api-endpoint - security.generate_obo_token}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Generates authorization token for the
|
|
22
|
+
* Generates an authorization token for the specified user.
|
|
23
23
|
* <br/> See Also: {@link undefined - security.generate_user_token}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {string} params.username - The name of the user for whom an
|
|
28
|
+
* @param {string} params.username - The name of the user for whom to issue an authorization token.
|
|
29
29
|
*
|
|
30
30
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
31
31
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -25,7 +25,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
25
25
|
* @memberOf API-Security
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {string} params.username - The name of the user for whom an
|
|
28
|
+
* @param {string} params.username - The name of the user for whom to issue an authorization token.
|
|
29
29
|
*
|
|
30
30
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
31
31
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Returns account
|
|
22
|
+
* Returns account information for the current user.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#get-account-details - security.get_account_details}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -25,8 +25,8 @@ const { normalizeArguments } = require('../utils');
|
|
|
25
25
|
* @memberOf API-Security
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.cert_type] - The type of certificates (HTTP
|
|
29
|
-
* @param {string} [params.timeout] - The maximum duration, in seconds, to
|
|
28
|
+
* @param {string} [params.cert_type] - The type of certificates (`HTTP`, `TRANSPORT`, or `ALL`) to retrieve from all nodes.
|
|
29
|
+
* @param {string} [params.timeout] - The maximum duration, in seconds, to spend retrieving certificates from all nodes before a timeout.
|
|
30
30
|
*
|
|
31
31
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
32
32
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Retrieves the current list of allowed
|
|
22
|
+
* Retrieves the current list of allowed APIs accessible to a normal user.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#access-control-for-the-api - security.get_allowlist}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Returns the current Security plugin configuration in JSON format.
|
|
22
|
+
* Returns the current Security plugin configuration in a JSON format.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#get-configuration - security.get_configuration}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Retrieves the current security
|
|
22
|
+
* Retrieves the current values for dynamic security settings for OpenSearch Dashboards.
|
|
23
23
|
* <br/> See Also: {@link undefined - security.get_dashboards_info}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Retrieves distinguished names.
|
|
22
|
+
* Retrieves all node distinguished names. Requires super admin or REST API permissions.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#get-distinguished-names - security.get_distinguished_name}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {boolean} [params.show_all] -
|
|
29
|
-
* @param {string} params.cluster_name - The
|
|
28
|
+
* @param {boolean} [params.show_all] - Whether to include or exclude any static node's DN settings from the final result.
|
|
29
|
+
* @param {string} params.cluster_name - The name of the cluster to retrieve that cluster's nodes DN settings.
|
|
30
30
|
*
|
|
31
31
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
32
32
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Retrieves distinguished names.
|
|
22
|
+
* Retrieves all node distinguished names. Requires super admin or REST API permissions.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#get-distinguished-names - security.get_distinguished_names}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {boolean} [params.show_all] -
|
|
28
|
+
* @param {boolean} [params.show_all] - Whether to include or exclude any static node's DN settings from the final result.
|
|
29
29
|
*
|
|
30
30
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
31
31
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Retrieves the
|
|
22
|
+
* Retrieves the specified node's security certificates.
|
|
23
23
|
* <br/> See Also: {@link undefined - security.get_node_certificates}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {string} [params.cert_type] - The type of certificates (HTTP
|
|
29
|
-
* @param {string} [params.timeout] - The maximum duration, in seconds, to
|
|
30
|
-
* @param {string} params.node_id - The
|
|
28
|
+
* @param {string} [params.cert_type] - The type of certificates (`HTTP`, `TRANSPORT`, or `ALL`) to retrieve from a node.
|
|
29
|
+
* @param {string} [params.timeout] - The maximum duration, in seconds, to spend retrieving certificates from all nodes before a timeout.
|
|
30
|
+
* @param {string} params.node_id - The node ID to retrieve certificates for.
|
|
31
31
|
*
|
|
32
32
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
33
33
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Retrieves the evaluated REST API permissions for the currently logged in user.
|
|
23
23
|
* <br/> See Also: {@link undefined - security.get_permissions_info}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
package/api/security/getRole.js
CHANGED
|
@@ -25,7 +25,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
25
25
|
* @memberOf API-Security
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {string} params.role
|
|
28
|
+
* @param {string} params.role - The name of the role to retrieve.
|
|
29
29
|
*
|
|
30
30
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
31
31
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Retrieves
|
|
22
|
+
* Retrieves the specified role mapping.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#get-role-mapping - security.get_role_mapping}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {string} params.role
|
|
28
|
+
* @param {string} params.role - The name of the role mapping to retrieve.
|
|
29
29
|
*
|
|
30
30
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
31
31
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Retrieves the SSL configuration
|
|
22
|
+
* Retrieves information about the SSL configuration.
|
|
23
23
|
* <br/> See Also: {@link undefined - security.get_sslinfo}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {boolean | string} [params.show_dn] -
|
|
28
|
+
* @param {boolean | string} [params.show_dn] - Whether to include all domain names in the response.
|
|
29
29
|
*
|
|
30
30
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
31
31
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Retrieves multi-tenancy configuration.
|
|
22
|
+
* Retrieves the multi-tenancy configuration. Requires super admin or REST API permissions.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/multi-tenancy/dynamic-config/#configuring-multi-tenancy-with-the-rest-api - security.get_tenancy_config}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Retrieves
|
|
22
|
+
* Retrieves the specified tenant.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#get-tenant - security.get_tenant}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
package/api/security/getUser.js
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Retrieve
|
|
22
|
+
* Retrieve information about the specified internal user.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#get-user - security.get_user}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
package/api/security/health.js
CHANGED
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Checks to see if the Security plugin is
|
|
22
|
+
* Checks to see if the Security plugin is running.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#health-check - security.health}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.mode] - A flag
|
|
28
|
+
* @param {string} [params.mode] - A flag that determines whether to consider the security status before returning a response for a health query response. For example, `strict` mode indicates service should check the Security plugin status.
|
|
29
29
|
*
|
|
30
30
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
31
31
|
* @param {function} [callback] - Callback that handles errors and response
|
package/api/security/migrate.js
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Migrates security configuration from v6 to v7.
|
|
22
|
+
* Migrates the security configuration from v6 to v7.
|
|
23
23
|
* <br/> See Also: {@link undefined - security.migrate}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Updates individual attributes of an action group.
|
|
22
|
+
* Updates the individual attributes of an action group.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#patch-action-group - security.patch_action_group}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Creates, updates, or deletes multiple action groups in a single
|
|
22
|
+
* Creates, updates, or deletes multiple action groups in a single request.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#patch-action-groups - security.patch_action_groups}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Updates the current list of
|
|
22
|
+
* Updates the current list of APIs accessible for users on the allow list.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#access-control-for-the-api - security.patch_allowlist}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Updates the specified fields in the audit configuration.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#audit-logs - security.patch_audit_configuration}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Updates the existing security configuration using the REST API. Requires super admin or REST API permissions.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#patch-configuration - security.patch_configuration}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Updates
|
|
22
|
+
* Updates the distinguished cluster name for the specified cluster. Requires super admin or REST API permissions.
|
|
23
23
|
* <br/> See Also: {@link undefined - security.patch_distinguished_name}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {string} params.cluster_name - The cluster name to update `nodesDn` value.
|
|
28
|
+
* @param {string} params.cluster_name - The cluster name to update the `nodesDn` value.
|
|
29
29
|
* @param {array} [params.body]
|
|
30
30
|
*
|
|
31
31
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Bulk
|
|
22
|
+
* Bulk updates specified node distinguished names. Requires super admin or REST API permissions.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#update-all-distinguished-names - security.patch_distinguished_names}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Updates individual attributes of a role.
|
|
22
|
+
* Updates the individual attributes of a role.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#patch-role - security.patch_role}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Updates individual attributes of a role mapping.
|
|
22
|
+
* Updates the individual attributes of a role mapping.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#patch-role-mapping - security.patch_role_mapping}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {string} params.role - The name of the role to update role
|
|
28
|
+
* @param {string} params.role - The name of the role to update a role mapping for
|
|
29
29
|
* @param {array} params.body
|
|
30
30
|
*
|
|
31
31
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Creates or updates multiple role mappings in a single
|
|
22
|
+
* Creates or updates multiple role mappings in a single request.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#patch-role-mappings - security.patch_role_mappings}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Adds, deletes, or modifies a single tenant.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#patch-tenant - security.patch_tenant}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Adds, deletes, or modifies multiple tenants in a single request.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#patch-tenants - security.patch_tenants}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Updates individual attributes
|
|
22
|
+
* Updates individual attributes for an internal user.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#patch-user - security.patch_user}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Creates, updates, or deletes multiple internal users in a single
|
|
22
|
+
* Creates, updates, or deletes multiple internal users in a single request.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#patch-users - security.patch_users}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Retrieves the current values for dynamic security settings for OpenSearch Dashboards.
|
|
23
23
|
* <br/> See Also: {@link undefined - security.post_dashboards_info}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Reloads the HTTP communication certificates.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#reload-http-certificates - security.reload_http_certificates}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Reloads the transport communication certificates.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#reload-transport-certificates - security.reload_transport_certificates}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Retrieves the
|
|
22
|
+
* Retrieves the names of current tenants. Requires super admin or `kibanaserver` permissions.
|
|
23
23
|
* <br/> See Also: {@link undefined - security.tenant_info}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
const { normalizeArguments, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Updates the settings for an existing security configuration. Requires super admin or REST API permissions.
|
|
23
23
|
* <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#update-configuration - security.update_configuration}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Security
|