Skip to content

Commit 9bda74a

Browse files
committed
Grant permissions for DLM on .kibana-reporting
1 parent e97f1c1 commit 9bda74a

File tree

1 file changed

+21
-0
lines changed
  • x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user

1 file changed

+21
-0
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user/InternalUsers.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,27 @@ public class InternalUsers {
195195
)
196196
)
197197
.allowRestrictedIndices(true)
198+
.build(),
199+
RoleDescriptor.IndicesPrivileges.builder()
200+
.indices(
201+
// System data stream for Kibana reporting (see KibanaPlugin#KIBANA_REPORTING_DS_DESCRIPTOR)
202+
".kibana-reporting"
203+
)
204+
.privileges(
205+
filterNonNull(
206+
// needed to rollover failure store
207+
"manage_failure_store",
208+
"delete_index",
209+
RolloverAction.NAME,
210+
ForceMergeAction.NAME + "*",
211+
// indices stats is used by rollover, so we need to grant it here
212+
IndicesStatsAction.NAME + "*",
213+
TransportUpdateSettingsAction.TYPE.name(),
214+
DownsampleAction.NAME,
215+
TransportAddIndexBlockAction.TYPE.name()
216+
)
217+
)
218+
.allowRestrictedIndices(true)
198219
.build() },
199220
null,
200221
null,

0 commit comments

Comments
 (0)