Skip to content

Commit

Permalink
added privileges to write metrics-fleet_server* (elastic#100574)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaElastic authored Oct 10, 2023
1 parent 77b4fd1 commit d923414
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ static RoleDescriptor kibanaSystem(String name) {
.build(),
// 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
RoleDescriptor.IndicesPrivileges.builder().indices("metrics-fleet_server*").privileges("auto_configure", "write").build(),
// Legacy "Alerts as data" used in Security Solution.
// Kibana user creates these indices; reads / writes to them.
RoleDescriptor.IndicesPrivileges.builder().indices(ReservedRolesStore.ALERTS_LEGACY_INDEX).privileges("all").build(),
Expand Down

0 comments on commit d923414

Please sign in to comment.