Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ static RoleDescriptor kibanaSystem(String name) {
.privileges("all")
.allowRestrictedIndices(true)
.build(),
// Fleet writes to this datastream for Agent status alerting feature
RoleDescriptor.IndicesPrivileges.builder().indices("logs-elastic_agent.status_change-*").privileges("all").build(),
Copy link
Member

@azasypkin azasypkin Jun 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

questions:

  1. Is the functionality that relies on this permission available in all our offerings (on-prem, ECH, Serverless)?
  2. Are you planning to backport this change to 8.x?
  3. The linked issue says that user needs permissions to **write**, do we really need all here or we can just use write?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Yes
  2. No, this feature is planned for 9.2
  3. We need all to include creating/deleting/managing the data stream too.

// Fleet telemetry queries Agent Logs indices in kibana task runner
RoleDescriptor.IndicesPrivileges.builder().indices("logs-elastic_agent*").privileges("read").build(),
// Fleet publishes Agent metrics in kibana task runner
Expand Down