Skip to content

Commit

Permalink
tests: remove apm_user role (#14876)
Browse files Browse the repository at this point in the history
* remove apm_user role in tests

* test: add read privilege on traces-apm.sampled* to apm_server role

---------

Co-authored-by: kruskal <[email protected]>
  • Loading branch information
endorama and kruskall authored Dec 27, 2024
1 parent 4a0d98d commit ef6f0c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion testing/docker/elasticsearch/roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 0 additions & 1 deletion testing/docker/elasticsearch/users_roles
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit ef6f0c6

Please sign in to comment.