Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add security changes for point in time API #2033

Merged
merged 1 commit into from
Aug 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions src/main/resources/static_config/static_action_groups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ cluster_composite_ops:
- "indices:admin/aliases*"
- "indices:data/write/reindex"
- "cluster_composite_ops_ro"
- "indices:data/read/point_in_time/delete"
type: "cluster"
description: "Allow read/write bulk and m* operations"
cluster_composite_ops_ro:
Expand All @@ -131,8 +130,6 @@ cluster_composite_ops_ro:
- "indices:admin/aliases/get*"
- "indices:data/read/scroll"
- "indices:admin/resolve/index"
- "indices:data/read/point_in_time/read*"
- "indices:data/read/point_in_time/create"
type: "cluster"
description: "Allow readonly bulk and m* operations"
get:
Expand Down Expand Up @@ -230,3 +227,14 @@ manage_data_streams:
- "indices:monitor/data_stream/stats"
type: "index"
description: "Manage data streams"
manage_point_in_time:
reserved: true
hidden: false
static: true
allowed_actions:
- "indices:data/read/point_in_time/create"
- "cluster:admin/point_in_time/delete"
- "cluster:admin/point_in_time/read*"
- "indices:monitor/point_in_time/segments"
type: "cluster"
description: "Manage point in time actions"
2 changes: 1 addition & 1 deletion src/main/resources/static_config/static_roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ kibana_server:
cluster_permissions:
- "cluster_monitor"
- "cluster_composite_ops"
- "manage_point_in_time"
- "indices:admin/template*"
- "indices:data/read/scroll*"
- "indices:data/read/point_in_time*"
index_permissions:
- index_patterns:
- ".kibana"
Expand Down