Skip to content

Commit 4aa83e2

Browse files
[Fleet] add index privileges to support reroute processor (#129692)
* add index privileges to support reroute processor * [CI] Auto commit changes from spotless * add more indices * update * fix test * remove unnecessary indices --------- Co-authored-by: elasticsearchmachine <[email protected]>
1 parent bd4f5fe commit 4aa83e2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

x-pack/plugin/security/qa/service-account/src/javaRestTest/java/org/elasticsearch/xpack/security/authc/service/ServiceAccountIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ public class ServiceAccountIT extends ESRestTestCase {
118118
"indices": [
119119
{
120120
"names": [
121+
"logs",
122+
"logs.*",
121123
"logs-*",
122124
"metrics-*",
123125
"traces-*",

x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/service/ElasticServiceAccounts.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ final class ElasticServiceAccounts {
5050
new RoleDescriptor.IndicesPrivileges[] {
5151
RoleDescriptor.IndicesPrivileges.builder()
5252
.indices(
53+
"logs",
54+
"logs.*",
5355
"logs-*",
5456
"metrics-*",
5557
"traces-*",

0 commit comments

Comments
 (0)