File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/user Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments