From fcee7f4f502001437d154476e03bac2211d46f6a Mon Sep 17 00:00:00 2001 From: Dimitris Athanasiou Date: Tue, 2 Jul 2019 13:48:52 +0300 Subject: [PATCH] [7.x][ML] Get df-analytics action should require monitor privilege (#43831) --- .../xpack/core/ml/action/GetDataFrameAnalyticsAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetDataFrameAnalyticsAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetDataFrameAnalyticsAction.java index c3a88ea5f2752..3873cdac96428 100644 --- a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetDataFrameAnalyticsAction.java +++ b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetDataFrameAnalyticsAction.java @@ -21,7 +21,7 @@ public class GetDataFrameAnalyticsAction extends StreamableResponseActionType { public static final GetDataFrameAnalyticsAction INSTANCE = new GetDataFrameAnalyticsAction(); - public static final String NAME = "cluster:admin/xpack/ml/data_frame/analytics/get"; + public static final String NAME = "cluster:monitor/xpack/ml/data_frame/analytics/get"; private GetDataFrameAnalyticsAction() { super(NAME);