So, I am using the Elasticsearch and have the xpack.security.enabled as true. When I try to open the IP:Port and check the status of Elasticsearch node, I have to authorize myself. I wanted to know is it possible to have this authorization removed with anonymous user feature of xpack?
If it is indeed possible I would like to know what kind of role would I need to provide to the anonymous user so that I wouldn't need to enter the credential and I am able to see the status without any issues.
Built-in roles | Elasticsearch Guide [7.16] | Elastic
These are the built-in-roles that I think would be considered but if I have to create a new role do let me know along with it's configuration.