I made a mistake under applications, the privileges was set to 8 instead of *. This setting works now.
But how can I make restrictions such as only allowing the following privileges on indices:
"privileges": ["write", "create_index", "create", "index", "read"]
and still be able to check if the index exists? Is the permission under applications or indices? With the provided privileges, I'm getting a permissions error.
curl elastic:changeme@localhost:9200/_cat/indices?v
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
green open .kibana_1 zTZKCuXAQauxZJG0acOJGA 1 0 5 1 39.4kb 39.4kb
green open .security-7 600qyaUsQB2u_dRtm_tBvA 1 0 6 6 34.3kb 34.3kb
yellow open unspecified-abc UxEc8jzSRMyYvMti68ENiA 1 1 274 0 157.2kb 157.2kb
green open .kibana_task_manager yyEJyEY_SjmEmvTWP3fUow 1 0 2 0 29.6kb 29.6kb
use some_app user to check if unspecified-abc exists
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.