Skip to content

Commit

Permalink
Undo privileges
Browse files Browse the repository at this point in the history
  • Loading branch information
n1v0lg committed Apr 8, 2024
1 parent f0384dd commit 857309c
Showing 1 changed file with 0 additions and 73 deletions.
73 changes: 0 additions & 73 deletions specification/security/_types/Privileges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,100 +42,40 @@ export class ApplicationPrivileges {
export enum ClusterPrivilege {
all,
cancel_task,
/**
* @availability stack
*/
create_snapshot,
/**
* @availability stack
*/
grant_api_key,
manage,
manage_api_key,
/**
* @availability stack
*/
manage_ccr,
manage_enrich,
/**
* @availability stack
*/
manage_ilm,
manage_index_templates,
/**
* @availability stack
*/
manage_ingest_pipelines,
manage_logstash_pipelines,
manage_ml,
/**
* @availability stack
*/
manage_oidc,
manage_own_api_key,
manage_pipeline,
/**
* @availability stack
*/
manage_rollup,
/**
* @availability stack
*/
manage_saml,
manage_security,
/**
* @availability stack
*/
manage_service_account,
/**
* @availability stack
*/
manage_slm,
/**
* @availability stack
*/
manage_token,
manage_transform,
/**
* @availability stack
*/
manage_user_profile,
/**
* @availability stack
*/
manage_watcher,
monitor,
monitor_ml,
/**
* @availability stack
*/
monitor_rollup,
/**
* @availability stack
*/
monitor_snapshot,
monitor_text_structure,
monitor_transform,
/**
* @availability stack
*/
monitor_watcher,
/**
* @availability stack
*/
read_ccr,
/**
* @availability stack
*/
read_ilm,
read_pipeline,
/**
* @availability stack
*/
read_slm,
/**
* @availability stack
*/
transport_client
}

Expand All @@ -160,7 +100,6 @@ export class IndicesPrivileges {
/**
* Set to `true` if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the `names` list, Elasticsearch checks privileges against these indices regardless of the value set for `allow_restricted_indices`.
* @server_default false
* @availability stack
*/
allow_restricted_indices?: boolean
}
Expand Down Expand Up @@ -237,23 +176,11 @@ export enum IndexPrivilege {
index,
maintenance,
manage,
/**
* @availability stack
*/
manage_follow_index,
/**
* @availability stack
*/
manage_ilm,
/**
* @availability stack
*/
manage_leader_index,
monitor,
read,
/**
* @availability stack
*/
read_cross_cluster,
view_index_metadata,
write
Expand Down

0 comments on commit 857309c

Please sign in to comment.