Skip to content

Commit

Permalink
Point in time API security changes (#2033) (#2037)
Browse files Browse the repository at this point in the history
Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
(cherry picked from commit 6b7a586)

Co-authored-by: Bharathwaj G <58062316+bharath-techie@users.noreply.github.com>
  • Loading branch information
1 parent fa47913 commit 692747b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
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

0 comments on commit 692747b

Please sign in to comment.