Skip to content

Commit ab4f2c5

Browse files
committed
[OpenAPI] Edit summaries for security APIs (#3035)
1 parent fe3cffe commit ab4f2c5

File tree

33 files changed

+96
-9
lines changed

33 files changed

+96
-9
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: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ 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+
* Activate a user profile.
25+
*
26+
* Create or update a user profile on behalf of another user.
2527
* @rest_spec_name security.activate_user_profile
2628
* @availability stack since=8.2.0 stability=stable
2729
* @availability serverless stability=stable visibility=private

specification/security/authenticate/SecurityAuthenticateRequest.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

2222
/**
2323
* Authenticate a user.
24+
*
2425
* Authenticates a user and returns information about the authenticated user.
2526
* Include the user information in a [basic auth header](https://en.wikipedia.org/wiki/Basic_access_authentication).
2627
* A successful call returns a JSON structure that shows user information such as their username, the roles that are assigned to the user, any assigned metadata, and information about the realms that authenticated and authorized the user.

specification/security/bulk_delete_role/SecurityBulkDeleteRoleRequest.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 } from '@_types/common'
2222

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

specification/security/bulk_put_role/SecurityBulkPutRoleRequest.ts

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

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

specification/security/change_password/SecurityChangePasswordRequest.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 { Password, Refresh, Username } from '@_types/common'
2222

2323
/**
24+
* Change passwords.
25+
*
26+
* Change the passwords of users in the native realm and built-in users.
2427
* @rest_spec_name security.change_password
2528
* @availability stack stability=stable
2629
*/

specification/security/clear_api_key_cache/SecurityClearApiKeyCacheRequest.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ 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+
*
26+
* Evict a subset of all entries from the API key cache.
2527
* The cache is also automatically cleared on state changes of the security index.
2628
* @rest_spec_name security.clear_api_key_cache
2729
* @availability stack since=7.10.0 stability=stable

specification/security/clear_cached_privileges/SecurityClearCachedPrivilegesRequest.ts

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

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

specification/security/clear_cached_realms/SecurityClearCachedRealmsRequest.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 { Names } from '@_types/common'
2222

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

specification/security/clear_cached_roles/ClearCachedRolesRequest.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 { Names } from '@_types/common'
2222

2323
/**
24+
* Clear the roles cache.
25+
*
26+
* Evict roles from the native role cache.
2427
* @rest_spec_name security.clear_cached_roles
2528
* @availability stack stability=stable
2629
* @availability serverless stability=stable visibility=private

0 commit comments

Comments
 (0)