From 26533fc804663137b432531d38201757bd613ebb Mon Sep 17 00:00:00 2001 From: Jake Landis Date: Tue, 27 Aug 2024 16:36:42 -0500 Subject: [PATCH] bwc integration test --- .../RemoteClusterSecurityBwcRestIT.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/x-pack/plugin/security/qa/multi-cluster/src/javaRestTest/java/org/elasticsearch/xpack/remotecluster/RemoteClusterSecurityBwcRestIT.java b/x-pack/plugin/security/qa/multi-cluster/src/javaRestTest/java/org/elasticsearch/xpack/remotecluster/RemoteClusterSecurityBwcRestIT.java index cbf735c66462c..17acd258ed34b 100644 --- a/x-pack/plugin/security/qa/multi-cluster/src/javaRestTest/java/org/elasticsearch/xpack/remotecluster/RemoteClusterSecurityBwcRestIT.java +++ b/x-pack/plugin/security/qa/multi-cluster/src/javaRestTest/java/org/elasticsearch/xpack/remotecluster/RemoteClusterSecurityBwcRestIT.java @@ -113,6 +113,12 @@ public void testBwcWithLegacyCrossClusterSearch() throws Exception { "privileges": ["read", "read_cross_cluster"], "clusters": ["my_remote_cluster"] } + ], + "remote_cluster": [ + { + "privileges": ["monitor_enrich"], + "clusters": ["*"] + } ] }"""); assertOK(adminClient().performRequest(putRoleRequest)); @@ -157,6 +163,12 @@ public void testBwcWithLegacyCrossClusterSearch() throws Exception { "privileges": ["read", "read_cross_cluster"], "clusters": ["my_remote_*", "non_existing_remote_cluster"] } + ], + "remote_cluster": [ + { + "privileges": ["monitor_enrich"], + "clusters": ["*"] + } ] } }