Skip to content
Merged
Show file tree
Hide file tree
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 @@ -328,6 +328,8 @@ static RoleDescriptor kibanaSystem(String name) {
"indices:admin/data_stream/lifecycle/put"
)
.build(),
// Read datasets for auto install content packages feature in Fleet
RoleDescriptor.IndicesPrivileges.builder().indices("logs-*", "metrics-*", "traces-*").privileges("read").build(),
// Endpoint specific action responses. Kibana reads and writes (for third party
// agents) to the index to display action responses to the user.
// `create_index`: is necessary in order to ensure that the DOT datastream index is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,10 @@ public void testKibanaSystemRole() {
|| indexName.startsWith(".logs-endpoint.actions-")
|| indexName.startsWith(".logs-endpoint.action.responses-")
|| indexName.startsWith(".logs-endpoint.heartbeat-")
|| indexName.startsWith(".logs-osquery_manager.actions-");
|| indexName.startsWith(".logs-osquery_manager.actions-")
|| indexName.startsWith("logs-")
|| indexName.startsWith("metrics-")
|| indexName.startsWith("traces-");
assertThat(
kibanaRole.indices().allowedIndicesMatcher(TransportGetAction.TYPE.name()).test(indexAbstraction),
is(isAlsoReadIndex)
Expand Down