Why does it need cluster:monitor/main permission

ES 7.17 cloud is hosted in https://xxx.elastic-cloud.com:9243

Using Java High Level REST client, I was able to connect to server ES client 7.9.3. Now I update to ES client 7.17.4. But it gives me permission issue.

"root_cause":[{"type":"security_exception","reason":"action [cluster:monitor/main] is unauthorized for user [xxxx] with roles

Why does it need this permission? Someone mentioned that client pings the cluster using the / endpoint and it's actually why the [cluster:monitor/main privilege] is required. And this was added after the 7.10.2 Opensearch fork.

Where can I find the reference?

OpenSearch/OpenDistro are AWS run products and differ from the original Elasticsearch and Kibana products that Elastic builds and maintains. You may need to contact them directly for further assistance.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.