Skip to content

Commit b517bc7

Browse files
authored
[Fleet] Add permissions to kibana_system to write logs-elastic_agent.status_change-* data stream (#129191)
* Update KibanaOwnedReservedRoleDescriptors.java * Update KibanaOwnedReservedRoleDescriptors.java
1 parent 51e05a5 commit b517bc7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ static RoleDescriptor kibanaSystem(String name) {
223223
.privileges("all")
224224
.allowRestrictedIndices(true)
225225
.build(),
226+
// Fleet writes to this datastream for Agent status alerting feature
227+
RoleDescriptor.IndicesPrivileges.builder().indices("logs-elastic_agent.status_change-*").privileges("all").build(),
226228
// Fleet telemetry queries Agent Logs indices in kibana task runner
227229
RoleDescriptor.IndicesPrivileges.builder().indices("logs-elastic_agent*").privileges("read").build(),
228230
// Fleet publishes Agent metrics in kibana task runner

0 commit comments

Comments
 (0)