From 69217d5332243e7d76036c2864f53347c85b0663 Mon Sep 17 00:00:00 2001 From: Edoardo Tenani Date: Mon, 9 Dec 2024 18:33:47 +0100 Subject: [PATCH 1/2] remove apm_user role in tests --- testing/docker/elasticsearch/users_roles | 1 - 1 file changed, 1 deletion(-) diff --git a/testing/docker/elasticsearch/users_roles b/testing/docker/elasticsearch/users_roles index 3330a23219..08ab802feb 100644 --- a/testing/docker/elasticsearch/users_roles +++ b/testing/docker/elasticsearch/users_roles @@ -1,6 +1,5 @@ apm_server:apm_server_user apm_system:apm_server_user -apm_user:apm_server_user,apm_user_ro beats:beats_user beats_system:beats_user,filebeat_user,heartbeat_user,metricbeat_user filebeat:filebeat_user From 890cce1dda321385afc06eeec94638e300d3f4d0 Mon Sep 17 00:00:00 2001 From: kruskal <99559985+kruskall@users.noreply.github.com> Date: Tue, 24 Dec 2024 17:03:15 +0100 Subject: [PATCH 2/2] test: add read privilege on traces-apm.sampled* to apm_server role --- testing/docker/elasticsearch/roles.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/docker/elasticsearch/roles.yml b/testing/docker/elasticsearch/roles.yml index 40484d004b..f19fa98a90 100644 --- a/testing/docker/elasticsearch/roles.yml +++ b/testing/docker/elasticsearch/roles.yml @@ -3,7 +3,7 @@ apm_server: indices: - names: ['apm-*', 'traces-apm*', 'logs-apm*', 'metrics-apm*'] privileges: ['write','create_index','manage','manage_ilm'] - - names: ['.apm-source-map'] + - names: ['.apm-source-map', 'traces-apm.sampled*'] privileges: ['read'] applications: - application: 'apm'