diff --git a/CHANGELOG.md b/CHANGELOG.md index aa6e7bce8655d..feec72191e808 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Fix case insensitive and escaped query on wildcard ([#16827](https://github.com/opensearch-project/OpenSearch/pull/16827)) - Fix exists queries on nested flat_object fields throws exception ([#16803](https://github.com/opensearch-project/OpenSearch/pull/16803)) - Add highlighting for wildcard search on `match_only_text` field ([#17101](https://github.com/opensearch-project/OpenSearch/pull/17101)) +- Changed CatShardsAction to internal to allow non-admin users. ([#17203](https://github.com/opensearch-project/OpenSearch/pull/17203)) - Fix illegal argument exception when creating a PIT ([#16781](https://github.com/opensearch-project/OpenSearch/pull/16781)) ### Security diff --git a/server/src/main/java/org/opensearch/action/admin/cluster/shards/CatShardsAction.java b/server/src/main/java/org/opensearch/action/admin/cluster/shards/CatShardsAction.java index 381a950fe9a79..733da74c62087 100644 --- a/server/src/main/java/org/opensearch/action/admin/cluster/shards/CatShardsAction.java +++ b/server/src/main/java/org/opensearch/action/admin/cluster/shards/CatShardsAction.java @@ -17,7 +17,7 @@ */ public class CatShardsAction extends ActionType { public static final CatShardsAction INSTANCE = new CatShardsAction(); - public static final String NAME = "cluster:monitor/shards"; + public static final String NAME = "internal:monitor/shards"; private CatShardsAction() { super(NAME, CatShardsResponse::new);