Skip to content

Commit 74b04d2

Browse files
authored
added .fleet-file-data* to kibana_system privileges (#100019) (#100125)
* added .fleet-file-data* to kibana_system privileges * added the rest of the indices * fix formatting * fix formatting
1 parent ac26f77 commit 74b04d2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/store/KibanaOwnedReservedRoleDescriptors.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,23 @@ static RoleDescriptor kibanaSystem(String name) {
174174
.allowRestrictedIndices(true)
175175
.build(),
176176
RoleDescriptor.IndicesPrivileges.builder().indices(".fleet-fileds*").privileges("all").allowRestrictedIndices(true).build(),
177+
// 8.9 BWC
178+
RoleDescriptor.IndicesPrivileges.builder()
179+
.indices(".fleet-file-data-*")
180+
.privileges("all")
181+
.allowRestrictedIndices(true)
182+
.build(),
183+
RoleDescriptor.IndicesPrivileges.builder().indices(".fleet-files-*").privileges("all").allowRestrictedIndices(true).build(),
184+
RoleDescriptor.IndicesPrivileges.builder()
185+
.indices(".fleet-filedelivery-data-*")
186+
.privileges("all")
187+
.allowRestrictedIndices(true)
188+
.build(),
189+
RoleDescriptor.IndicesPrivileges.builder()
190+
.indices(".fleet-filedelivery-meta-*")
191+
.privileges("all")
192+
.allowRestrictedIndices(true)
193+
.build(),
177194
// Fleet telemetry queries Agent Logs indices in kibana task runner
178195
RoleDescriptor.IndicesPrivileges.builder().indices("logs-elastic_agent*").privileges("read").build(),
179196
// Legacy "Alerts as data" used in Security Solution.

0 commit comments

Comments
 (0)