List user's assigned indexes only

Hi,
Am using
Elasticsearch: 2…4.5
search-guard-2: 2.4.5.12
java version “1.8.0_144”
Basically on successfull authentication connecting to elasticsearch cluster i should Show / List user’s assigned indexes only, accessing indexes with prefix using curl works fine
curl -Ss --insecure -u rwedge:rwedge https://localhost:9200/edge*
{“edge-devops”:{“aliases”:{},“mappings”:{“tech”:{“properties”:{“name”:{“type”:“string”}}}},“settings”:{“index”:{“creation_date”:“1504507369036”,“number_of_shards”:“2”,“number_of_replicas”:“1”,“uuid”:“Tdcl-osMQqK9HSqEu0osaQ”,“version”:{“created”:“2040599”}}},“warmers”:{}}}
user matching index access error via plugin elasticsearch**-head** only am unable to show/list user’s indexes

From elasticsearch logs exceptions as below

No perm match for User [name=rwedge, roles=] [IndexType [index=edge*, type=_nodes]] [Action [indices:data/read/get]] [RolesChecked [edge_user_rw]]
[2017-09-04 15:28:59,539][INFO ][com.floragunn.searchguard.configuration.PrivilegesEvaluator] No perm match for User [name=rwedge, roles=] [IndexType [index=edge*, type=_cluster]] [Action [indices:data/read/get]] [RolesChecked [edge_user_rw]]

Note: please let me know which actions should i modify to avoid above exception

Hi,

sg_roles.yml

edge_user_rw:
cluster:
- CLUSTER_COMPOSITE_OPS_RO
indices:
‘edge-':
'
’:
- INDEX_OWNER

sg_roles_mapping.yml

edge_user_rw:
backendroles:
- edge_user_rw
users:
- rwedge

sg_action_groups.yml

INDEX_OWNER:

  • CREATE_INDEX
  • CRUD

CLUSTER_COMPOSITE_OPS_RO:

  • “indices:data/read/get”
  • “indices:data/read/mget”
  • “indices:data/read/msearch”
  • “indices:data/read/mtv”
  • “indices:data/read/coordinate-msearch*”
  • “indices:admin/aliases/exists*”
  • “indices:admin/aliases/get*”
  • cluster:admin/mappings/get
  • indices:admin/template/get
  • indices:admin/get
  • indices:data/read*
  • indices:monitor/stats
  • cluster:monitor/nodes/info
  • cluster:monitor/health
  • cluster:monitor/main