From 76572b6f73b5f09c0bad9d27a2bb27f842fa4cd2 Mon Sep 17 00:00:00 2001 From: Mark Hopkin Date: Thu, 27 Apr 2023 16:22:17 +0100 Subject: [PATCH] fix descriptor test --- .../xpack/security/authc/service/ServiceAccountIT.java | 9 +++++++++ 1 file changed, 9 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 4f2fe4e829f31..9cb43431b91e6 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 @@ -128,6 +128,15 @@ public class ServiceAccountIT extends ESRestTestCase { ], "allow_restricted_indices": true }, + { + "names": [ + ".secrets*" + ], + "privileges": [ + "read" + ], + "allow_restricted_indices":true + }, { "names": [ "synthetics-*"