Skip to content

Commit a99c69f

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

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
@@ -121,6 +121,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
121121
- Use OpenSearch version to deserialize remote custom metadata([#16494](https://github.com/opensearch-project/OpenSearch/pull/16494))
122122
- Fix AutoDateHistogramAggregator rounding assertion failure ([#17023](https://github.com/opensearch-project/OpenSearch/pull/17023))
123123
- Fix the failing CI's with `Failed to load eclipse jdt formatter` error ([#17172](https://github.com/opensearch-project/OpenSearch/pull/17172))
124+
- Changed CatShardsAction to internal to allow non-admin users. ([#17203](https://github.com/opensearch-project/OpenSearch/pull/17203))
124125

125126
### Security
126127

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)