diff --git a/x-pack/plugin/security/qa/operator-privileges-tests/src/javaRestTest/java/org/elasticsearch/xpack/security/operator/Constants.java b/x-pack/plugin/security/qa/operator-privileges-tests/src/javaRestTest/java/org/elasticsearch/xpack/security/operator/Constants.java index a9d339f144cbd..08864fb4219b4 100644 --- a/x-pack/plugin/security/qa/operator-privileges-tests/src/javaRestTest/java/org/elasticsearch/xpack/security/operator/Constants.java +++ b/x-pack/plugin/security/qa/operator-privileges-tests/src/javaRestTest/java/org/elasticsearch/xpack/security/operator/Constants.java @@ -13,8 +13,8 @@ public class Constants { public static final Set NON_OPERATOR_ACTIONS = org.elasticsearch.common.collect.Set.of( // "cluster:admin/autoscaling/delete_autoscaling_policy", - // "cluster:admin/autoscaling/get_autoscaling_capacity", - // "cluster:admin/autoscaling/get_autoscaling_policy", + "cluster:admin/autoscaling/get_autoscaling_capacity", + "cluster:admin/autoscaling/get_autoscaling_policy", // "cluster:admin/autoscaling/put_autoscaling_policy", "cluster:admin/component_template/delete", "cluster:admin/component_template/get", diff --git a/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/operator/OperatorOnlyRegistry.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/operator/OperatorOnlyRegistry.java index e2b725365a4c0..22f425db17939 100644 --- a/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/operator/OperatorOnlyRegistry.java +++ b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/operator/OperatorOnlyRegistry.java @@ -33,8 +33,6 @@ public class OperatorOnlyRegistry { // Autoscaling does not publish its actions to core, literal strings are needed. "cluster:admin/autoscaling/put_autoscaling_policy", "cluster:admin/autoscaling/delete_autoscaling_policy", - "cluster:admin/autoscaling/get_autoscaling_policy", - "cluster:admin/autoscaling/get_autoscaling_capacity", // Repository analysis actions are not mentioned in core, literal strings are needed. "cluster:admin/repository/analyze", "cluster:admin/repository/analyze/blob",