Skip to content

Commit

Permalink
Add read pivilege on connectors indices for user kibana_system (elast…
Browse files Browse the repository at this point in the history
  • Loading branch information
wangch079 authored Dec 5, 2023
1 parent ad735e6 commit 72afbc1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,9 @@ static RoleDescriptor kibanaSystem(String name) {
// Kibana system user uses them to read / write slo data.
RoleDescriptor.IndicesPrivileges.builder().indices(".slo-observability.*").privileges("all").build(),
// Endpoint heartbeat. Kibana reads from these to determine metering/billing for endpoints.
RoleDescriptor.IndicesPrivileges.builder().indices(".logs-endpoint.heartbeat-*").privileges("read").build() },
RoleDescriptor.IndicesPrivileges.builder().indices(".logs-endpoint.heartbeat-*").privileges("read").build(),
// For connectors telemetry. Will be removed once we switched to connectors API
RoleDescriptor.IndicesPrivileges.builder().indices(".elastic-connectors*").privileges("read").build() },
null,
new ConfigurableClusterPrivilege[] {
new ConfigurableClusterPrivileges.ManageApplicationPrivileges(Set.of("kibana-*")),
Expand Down

0 comments on commit 72afbc1

Please sign in to comment.