From bb192135db8760d19a07268d5604b5939c693c35 Mon Sep 17 00:00:00 2001 From: Orestis Floros Date: Mon, 16 Dec 2024 11:49:42 +0100 Subject: [PATCH] fix test --- .../security/authc/service/ServiceAccountIT.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/x-pack/plugin/security/qa/service-account/src/javaRestTest/java/org/elasticsearch/xpack/security/authc/service/ServiceAccountIT.java b/x-pack/plugin/security/qa/service-account/src/javaRestTest/java/org/elasticsearch/xpack/security/authc/service/ServiceAccountIT.java index b7fb8c37f4c45..44cb0277719af 100644 --- a/x-pack/plugin/security/qa/service-account/src/javaRestTest/java/org/elasticsearch/xpack/security/authc/service/ServiceAccountIT.java +++ b/x-pack/plugin/security/qa/service-account/src/javaRestTest/java/org/elasticsearch/xpack/security/authc/service/ServiceAccountIT.java @@ -316,6 +316,21 @@ public class ServiceAccountIT extends ESRestTestCase { "view_index_metadata" ], "allow_restricted_indices": false + }, + { + "names": [ + ".agentless-*" + ], + "privileges": [ + "read", + "write", + "monitor", + "create_index", + "auto_configure", + "maintenance", + "view_index_metadata" + ], + "allow_restricted_indices": false } ], "applications": [ {