Skip to content

Commit 7b39dfe

Browse files
committed
Changed CatShardsAction to internal to allow non-admin users
Signed-off-by: Somesh Gupta <guptasom@amazon.com>
1 parent bcf646d commit 7b39dfe

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
124124
- Fix AutoDateHistogramAggregator rounding assertion failure ([#17023](https://github.com/opensearch-project/OpenSearch/pull/17023))
125125
- Add highlighting for wildcard search on `match_only_text` field ([#17101](https://github.com/opensearch-project/OpenSearch/pull/17101))
126126
- Fix the failing CI's with `Failed to load eclipse jdt formatter` error ([#17172](https://github.com/opensearch-project/OpenSearch/pull/17172))
127+
- Changed CatShardsAction to internal to allow non-admin users. ([#17203](https://github.com/opensearch-project/OpenSearch/pull/17203))
127128

128129
### Security
129130

server/src/main/java/org/opensearch/action/admin/cluster/shards/CatShardsAction.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818
public class CatShardsAction extends ActionType<CatShardsResponse> {
1919
public static final CatShardsAction INSTANCE = new CatShardsAction();
20-
public static final String NAME = "cluster:monitor/shards";
20+
public static final String NAME = "internal:monitor/shards";
2121

2222
private CatShardsAction() {
2323
super(NAME, CatShardsResponse::new);

0 commit comments

Comments
 (0)