Skip to content

Commit 1d36f90

Browse files
Update cluster privileges list
Co-authored-by: Seth Michael Larson <[email protected]>
1 parent b8d0044 commit 1d36f90

File tree

5 files changed

+22
-12
lines changed

5 files changed

+22
-12
lines changed

compiler/src/model/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ export function hoistRequestAnnotations (
621621
} else if (tag === 'cluster_privileges') {
622622
const privileges = [
623623
'all', 'cancel_task', 'create_snapshot', 'grant_api_key', 'manage', 'manage_api_key', 'manage_ccr',
624-
'manage_ilm', 'manage_index_templates', 'manage_ingest_pipelines', 'manage_logstash_pipelines',
624+
'manage_enrich', 'manage_ilm', 'manage_index_templates', 'manage_ingest_pipelines', 'manage_logstash_pipelines',
625625
'manage_ml', 'manage_oidc', 'manage_own_api_key', 'manage_pipeline', 'manage_rollup', 'manage_saml',
626626
'manage_security', 'manage_service_account', 'manage_slm', 'manage_token', 'manage_transform',
627627
'manage_watcher', 'monitor', 'monitor_ml', 'monitor_rollup', 'monitor_snapshot', 'monitor_text_structure',

output/schema/schema.json

Lines changed: 18 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/security/_types/Privileges.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export enum ClusterPrivilege {
4646
manage,
4747
manage_api_key,
4848
manage_ccr,
49+
manage_enrich,
4950
manage_ilm,
5051
manage_index_templates,
5152
manage_ingest_pipelines,

specification/security/get_builtin_privileges/SecurityGetBuiltinPrivilegesRequest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ import { RequestBase } from '@_types/Base'
2323
* @rest_spec_name security.get_builtin_privileges
2424
* @since 7.3.0
2525
* @stability stable
26+
* @cluster_privileges manage_security
2627
*/
2728
export interface Request extends RequestBase {}

0 commit comments

Comments
 (0)