Skip to content

Commit 161df51

Browse files
committed
Edit security API summaries
1 parent 2fdec29 commit 161df51

File tree

31 files changed

+68
-18
lines changed

31 files changed

+68
-18
lines changed

specification/_doc_ids/table.csv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ lowercase-processor,https://www.elastic.co/guide/en/elasticsearch/reference/{bra
258258
mapping-date-format,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-date-format.html
259259
mapping-meta-field,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-meta-field.html
260260
mapping-metadata,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-fields.html
261+
mapping-roles,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-roles.html
261262
mapping-settings-limit,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-settings-limit.html
262263
mapping-source-field,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping-source-field.html
263264
mapping,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/mapping.html
@@ -569,6 +570,8 @@ security-api-saml-logout,https://www.elastic.co/guide/en/elasticsearch/reference
569570
security-api-saml-prepare-authentication,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/security-api-saml-prepare-authentication.html
570571
security-api-saml-sp-metadata,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/security-api-saml-sp-metadata.html
571572
security-api-ssl,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/security-api-ssl.html
573+
security-privileges,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/security-privileges.html
574+
service-accounts,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/service-accounts.html
572575
set-processor,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/set-processor.html
573576
shape,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/shape.html
574577
simulate-pipeline-api,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/simulate-pipeline-api.html

specification/security/activate_user_profile/Request.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ import { GrantType } from '@security/_types/GrantType'
2121
import { RequestBase } from '@_types/Base'
2222

2323
/**
24-
* Creates or updates a user profile on behalf of another user.
24+
* Create or update a user profile.
25+
* Create or update a user profile on behalf of another user.
2526
* @rest_spec_name security.activate_user_profile
2627
* @availability stack since=8.2.0 stability=stable
2728
* @availability serverless stability=stable visibility=private

specification/security/bulk_delete_role/SecurityBulkDeleteRoleRequest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import { RequestBase } from '@_types/Base'
2121
import { Refresh } from '@_types/common'
2222

2323
/**
24+
* Bulk delete roles.
2425
* The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.
2526
* The bulk delete roles API cannot delete roles that are defined in roles files.
2627
* @rest_spec_name security.bulk_delete_role

specification/security/bulk_put_role/SecurityBulkPutRoleRequest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import { RequestBase } from '@_types/Base'
2323
import { Refresh } from '@_types/common'
2424

2525
/**
26+
* Bulk create or update roles.
2627
* The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.
2728
* The bulk create or update roles API cannot update roles that are defined in roles files.
2829
* @rest_spec_name security.bulk_put_role

specification/security/change_password/SecurityChangePasswordRequest.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ import { RequestBase } from '@_types/Base'
2121
import { Password, Refresh, Username } from '@_types/common'
2222

2323
/**
24+
* Change passwords.
25+
* Change the passwords of users in the native realm and built-in users.
2426
* @rest_spec_name security.change_password
2527
* @availability stack stability=stable
2628
*/

specification/security/clear_api_key_cache/SecurityClearApiKeyCacheRequest.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ import { RequestBase } from '@_types/Base'
2121
import { Ids } from '@_types/common'
2222

2323
/**
24-
* Evicts a subset of all entries from the API key cache.
24+
* Clear the API key cache.
25+
* Evict a subset of all entries from the API key cache.
2526
* The cache is also automatically cleared on state changes of the security index.
2627
* @rest_spec_name security.clear_api_key_cache
2728
* @availability stack since=7.10.0 stability=stable

specification/security/clear_cached_privileges/SecurityClearCachedPrivilegesRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ import { RequestBase } from '@_types/Base'
2121
import { Name } from '@_types/common'
2222

2323
/**
24+
* Clear the privileges cache.
25+
* Evict privileges from the native application privilege cache.
26+
* The cache is also automatically cleared for applications that have their privileges updated.
2427
* @rest_spec_name security.clear_cached_privileges
2528
* @availability stack since=7.9.0 stability=stable
2629
* @availability serverless stability=stable visibility=private

specification/security/clear_cached_realms/SecurityClearCachedRealmsRequest.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ import { RequestBase } from '@_types/Base'
2121
import { Names } from '@_types/common'
2222

2323
/**
24+
* Clear the user cache.
25+
* Evict users from the user cache. You can completely clear the cache or evict specific users.
2426
* @rest_spec_name security.clear_cached_realms
2527
* @availability stack stability=stable
2628
* @availability serverless stability=stable visibility=private

specification/security/clear_cached_roles/ClearCachedRolesRequest.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ import { RequestBase } from '@_types/Base'
2121
import { Names } from '@_types/common'
2222

2323
/**
24+
* Clear the roles cache.
25+
* Evict roles from the native role cache.
2426
* @rest_spec_name security.clear_cached_roles
2527
* @availability stack stability=stable
2628
* @availability serverless stability=stable visibility=private

specification/security/clear_cached_service_tokens/ClearCachedServiceTokensRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ import { RequestBase } from '@_types/Base'
2121
import { Names, Namespace, Service } from '@_types/common'
2222

2323
/**
24+
* Clear service account token caches.
25+
* Evict a subset of all entries from the service account token caches.
2426
* @rest_spec_name security.clear_cached_service_tokens
2527
* @availability stack stability=stable
2628
* @availability serverless stability=stable visibility=private
29+
* @ext_doc_id service-accounts
2730
*/
2831
export interface Request extends RequestBase {
2932
path_parts: {

specification/security/create_api_key/SecurityCreateApiKeyRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import { Duration } from '@_types/Time'
2525

2626
/**
2727
* Create an API key.
28-
* Creates an API key for access without requiring basic authentication.
28+
* Create an API key for access without requiring basic authentication.
2929
* A successful request returns a JSON structure that contains the API key, its unique id, and its name.
3030
* If applicable, it also returns expiration information for the API key in milliseconds.
3131
* NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys.

specification/security/create_service_token/CreateServiceTokenRequest.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ import { RequestBase } from '@_types/Base'
2121
import { Name, Namespace, Refresh, Service } from '@_types/common'
2222

2323
/**
24-
* Creates a service accounts token for access without requiring basic authentication.
24+
* Create a service account token.
25+
* Create a service accounts token for access without requiring basic authentication.
2526
* @rest_spec_name security.create_service_token
2627
* @availability stack stability=stable
2728
* @availability serverless stability=stable visibility=private
29+
* @ext_doc_id service-account
2830
*/
2931
export interface Request extends RequestBase {
3032
path_parts: {

specification/security/delete_privileges/SecurityDeletePrivilegesRequest.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ import { RequestBase } from '@_types/Base'
2121
import { Name, Names, Refresh } from '@_types/common'
2222

2323
/**
24+
* Delete application privileges.
2425
* @rest_spec_name security.delete_privileges
2526
* @availability stack since=6.4.0 stability=stable
2627
* @availability serverless stability=stable visibility=private
28+
* @ext_doc_id security-privileges
2729
*/
2830
export interface Request extends RequestBase {
2931
path_parts: {

specification/security/delete_role/SecurityDeleteRoleRequest.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ import { RequestBase } from '@_types/Base'
2121
import { Name, Refresh } from '@_types/common'
2222

2323
/**
24-
* Delete roles API.
25-
*
26-
* Removes roles in the native realm.
24+
* Delete roles.
25+
* Remove roles in the native realm.
2726
* @rest_spec_name security.delete_role
2827
* @availability stack stability=stable
2928
* @availability serverless stability=stable visibility=public

specification/security/delete_role_mapping/SecurityDeleteRoleMappingRequest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import { RequestBase } from '@_types/Base'
2121
import { Name, Refresh } from '@_types/common'
2222

2323
/**
24+
* Delete role mappings.
2425
* @rest_spec_name security.delete_role_mapping
2526
* @availability stack since=5.5.0 stability=stable
2627
* @availability serverless stability=stable visibility=private

specification/security/delete_service_token/DeleteServiceTokenRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ import { RequestBase } from '@_types/Base'
2121
import { Name, Namespace, Refresh, Service } from '@_types/common'
2222

2323
/**
24+
* Delete service account tokens.
25+
* Delete service account tokens for a service in a specified namespace.
2426
* @rest_spec_name security.delete_service_token
2527
* @availability stack since=5.5.0 stability=stable
2628
* @availability serverless stability=stable visibility=private
29+
* @ext_doc_id service-accounts
2730
*/
2831
export interface Request extends RequestBase {
2932
path_parts: {

specification/security/delete_user/SecurityDeleteUserRequest.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ import { RequestBase } from '@_types/Base'
2121
import { Refresh, Username } from '@_types/common'
2222

2323
/**
24+
* Delete users.
25+
* Delete users from the native realm.
2426
* @rest_spec_name security.delete_user
2527
* @availability stack stability=stable
2628
*/

specification/security/disable_user/SecurityDisableUserRequest.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ import { RequestBase } from '@_types/Base'
2121
import { Refresh, Username } from '@_types/common'
2222

2323
/**
24+
* Deactivate users.
25+
* Deactivate users in the native realm.
2426
* @rest_spec_name security.disable_user
2527
* @availability stack stability=stable
2628
*/

specification/security/disable_user_profile/Request.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ import { RequestBase } from '@_types/Base'
2222
import { Refresh } from '@_types/common'
2323

2424
/**
25-
* Disables a user profile so it's not visible in user profile searches.
25+
* Deactivate a user profile.
26+
* Deactivated user profiles are not visible in user profile searches.
2627
* @rest_spec_name security.disable_user_profile
2728
* @availability stack since=8.2.0 stability=stable
2829
* @availability serverless stability=stable visibility=private

specification/security/enable_user/SecurityEnableUserRequest.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ import { RequestBase } from '@_types/Base'
2121
import { Refresh, Username } from '@_types/common'
2222

2323
/**
24+
* Activate users.
25+
* Activate users in the native realm.
2426
* @rest_spec_name security.enable_user
2527
* @availability stack stability=stable
2628
*/

specification/security/enable_user_profile/Request.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ import { RequestBase } from '@_types/Base'
2222
import { Refresh } from '@_types/common'
2323

2424
/**
25-
* Enables a user profile so it's visible in user profile searches.
25+
* Activate a user profile.
26+
* Activated user profiles are visible in user profile searches.
2627
* @rest_spec_name security.enable_user_profile
2728
* @availability stack since=8.2.0 stability=stable
2829
* @availability serverless stability=stable visibility=private

specification/security/enroll_kibana/Request.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
import { RequestBase } from '@_types/Base'
2121

2222
/**
23-
* Enables a Kibana instance to configure itself for communication with a secured Elasticsearch cluster.
23+
* Enroll Kibana.
24+
* Enable a Kibana instance to configure itself for communication with a secured Elasticsearch cluster.
2425
* @rest_spec_name security.enroll_kibana
2526
* @availability stack since=8.0.0 stability=stable
2627
*/

specification/security/enroll_node/Request.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
import { RequestBase } from '@_types/Base'
2121

2222
/**
23-
* Allows a new node to join an existing cluster with security features enabled.
23+
* Enroll a node.
24+
* Enroll a new node to allow it to join an existing cluster with security features enabled.
2425
* @rest_spec_name security.enroll_node
2526
* @availability stack since=8.0.0 stability=stable
2627
*/

specification/security/get_builtin_privileges/SecurityGetBuiltinPrivilegesRequest.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
import { RequestBase } from '@_types/Base'
2121

2222
/**
23-
* Get builtin privileges API.
24-
*
25-
* Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch.
23+
* Get builtin privileges.
24+
* Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch.
2625
* @rest_spec_name security.get_builtin_privileges
2726
* @availability stack since=7.3.0 stability=stable
2827
* @availability serverless stability=stable visibility=public
2928
* @cluster_privileges manage_security
29+
* @ext_doc_id security-privileges
3030
*/
3131
export interface Request extends RequestBase {}

specification/security/get_privileges/SecurityGetPrivilegesRequest.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ import { RequestBase } from '@_types/Base'
2121
import { Name, Names } from '@_types/common'
2222

2323
/**
24+
* Get application privileges.
2425
* @rest_spec_name security.get_privileges
2526
* @availability stack since=6.4.0 stability=stable
2627
* @availability serverless stability=stable visibility=private
28+
* @ext_doc_id security-privileges
2729
*/
2830
export interface Request extends RequestBase {
2931
path_parts: {

specification/security/get_role/SecurityGetRoleRequest.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ import { RequestBase } from '@_types/Base'
2121
import { Names } from '@_types/common'
2222

2323
/**
24-
* Get roles API.
25-
*
26-
* Retrieves roles in the native realm.
24+
* Get roles.
25+
* Get roles in the native realm.
2726
* @rest_spec_name security.get_role
2827
* @availability stack stability=stable
2928
* @availability serverless stability=stable visibility=public

specification/security/get_role_mapping/SecurityGetRoleMappingRequest.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,15 @@ import { RequestBase } from '@_types/Base'
2121
import { Names } from '@_types/common'
2222

2323
/**
24+
* Get role mappings.
25+
* Role mappings define which roles are assigned to each user.
26+
* The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files.
27+
* The get role mappings API cannot retrieve role mappings that are defined in role mapping files.
2428
* @rest_spec_name security.get_role_mapping
2529
* @availability stack since=5.5.0 stability=stable
2630
* @availability serverless stability=stable visibility=private
2731
* @cluster_privileges manage_security
32+
* @ext_doc_id mapping-roles
2833
*/
2934
export interface Request extends RequestBase {
3035
path_parts: {

specification/security/get_service_accounts/GetServiceAccountsRequest.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@ import { RequestBase } from '@_types/Base'
2121
import { Namespace, Service } from '@_types/common'
2222

2323
/**
24-
* This API returns a list of service accounts that match the provided path parameter(s).
24+
* Get service accounts.
25+
* Get a list of service accounts that match the provided path parameters.
2526
* @rest_spec_name security.get_service_accounts
2627
* @availability stack since=7.13.0 stability=stable
2728
* @availability serverless stability=stable visibility=private
2829
* @cluster_privileges manage_service_account
30+
* @ext_doc_id service-accounts
2931
*/
3032
export interface Request extends RequestBase {
3133
path_parts: {

specification/security/get_service_credentials/GetServiceCredentialsRequest.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ import { RequestBase } from '@_types/Base'
2121
import { Name, Namespace } from '@_types/common'
2222

2323
/**
24+
* Get service account credentials.
2425
* @rest_spec_name security.get_service_credentials
2526
* @availability stack since=7.13.0 stability=stable
2627
* @availability serverless stability=stable visibility=private
28+
* @ext_doc_id service-accounts
2729
*/
2830
export interface Request extends RequestBase {
2931
path_parts: {

specification/security/get_token/GetUserAccessTokenRequest.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ import { Password, Username } from '@_types/common'
2323
import { AccessTokenGrantType } from './types'
2424

2525
/**
26+
* Get a token.
27+
* Create a bearer token for access without requiring basic authentication.
2628
* @rest_spec_name security.get_token
2729
* @availability stack since=5.5.0 stability=stable
2830
* @availability serverless stability=stable visibility=private

specification/security/get_user/SecurityGetUserRequest.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ import { RequestBase } from '@_types/Base'
2121
import { Username } from '@_types/common'
2222

2323
/**
24+
* Get users.
25+
* Get information about users in the native realm and built-in users.
2426
* @rest_spec_name security.get_user
2527
* @availability stack stability=stable
2628
*/

0 commit comments

Comments
 (0)