diff --git a/x-pack/plugin/ml/qa/ml-with-security/src/yamlRestTest/java/org/elasticsearch/smoketest/MlWithSecurityUserRoleIT.java b/x-pack/plugin/ml/qa/ml-with-security/src/yamlRestTest/java/org/elasticsearch/smoketest/MlWithSecurityUserRoleIT.java index 85174f504621c..5172ccf42198a 100644 --- a/x-pack/plugin/ml/qa/ml-with-security/src/yamlRestTest/java/org/elasticsearch/smoketest/MlWithSecurityUserRoleIT.java +++ b/x-pack/plugin/ml/qa/ml-with-security/src/yamlRestTest/java/org/elasticsearch/smoketest/MlWithSecurityUserRoleIT.java @@ -56,7 +56,8 @@ public void test() throws IOException { assertThat(ae.getMessage(), either(containsString("action [cluster:monitor/xpack/ml")) .or(containsString("action [cluster:admin/xpack/ml")) - .or(containsString("action [cluster:admin/ingest"))); + .or(containsString("action [cluster:admin/ingest")) + .or(containsString("action [cluster:monitor/ingest"))); assertThat(ae.getMessage(), containsString("returned [403 Forbidden]")); assertThat(ae.getMessage(), containsString("is unauthorized for user [ml_user]")); }