Skip to content

Commit e48fc0f

Browse files
committed
Fix tests
1 parent db8f1f6 commit e48fc0f

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

docs/reference/rest-api/security/get-service-accounts.asciidoc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,21 @@ GET /_security/service/elastic/fleet-server
270270
"view_index_metadata"
271271
],
272272
"allow_restricted_indices": false
273+
},
274+
{
275+
"names": [
276+
"agentless-*",
277+
],
278+
"privileges": [
279+
"read",
280+
"write",
281+
"monitor",
282+
"create_index",
283+
"auto_configure",
284+
"maintenance",
285+
"view_index_metadata"
286+
],
287+
"allow_restricted_indices": false
273288
}
274289
],
275290
"applications": [

test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -781,6 +781,7 @@ protected Set<String> preserveILMPolicyIds() {
781781
"profiling-60-days",
782782
"profiling-60-days@lifecycle",
783783
"synthetics",
784+
"agentless",
784785
"synthetics@lifecycle",
785786
"7-days-default",
786787
"7-days@lifecycle",
@@ -2192,6 +2193,7 @@ protected static boolean isXPackTemplate(String name) {
21922193
case "metrics-tsdb-settings":
21932194
case "metrics-mappings":
21942195
case "synthetics":
2196+
case "agentless":
21952197
case "synthetics-settings":
21962198
case "synthetics-mappings":
21972199
case ".snapshot-blob-cache":

0 commit comments

Comments
 (0)