unable to set index level permission searchguard

23 views
Skip to first unread message

kanchank...@gmail.com

unread,
Jan 22, 2018, 9:44:37 AM1/22/18
to Search Guard Community Forum
Hi Team,

I am getting below issue:

[security_exception] no permissions for [indices:data/read/search] and User [name=ajitnew, roles=[sg_kibana_user], requestedTenant=null, attributes={}]

sg_internal_users.yml

amit:
  hash: $2y$12$oxNBLRDHhKimu35tKIJ5y.mzlTxGSaPwQBAE5pyNdMZnaNF83bKk.
  roles:
    - sg_amitrole


sg_roles.yml

sg_amitrole:
  cluster:
    - CLUSTER_COMPOSITE_OPS_RO  
  indices:
    'testnewindex':
      'testtype':  
        - indices:data/read/search


sg_roles_mapping.yml

sg_amitrole:
  users:
    - amit

where user is: amit, custom role is: sg_amitrole, index name is: testnewindex.

nothing is showing after login with amit.It is showing error for index level permission.

searchguard,elasticsearch and kibana version is 6.0.0








SG

unread,
Jan 22, 2018, 10:52:46 AM1/22/18
to search...@googlegroups.com
you are logged in as ajitnew, not as amit
> --
> You received this message because you are subscribed to the Google Groups "Search Guard Community Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to search-guard...@googlegroups.com.
> To post to this group, send email to search...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/2ba42ee9-0b1a-40c0-a0ae-861b5a40eee5%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

kanchank...@gmail.com

unread,
Jan 23, 2018, 1:31:41 AM1/23/18
to Search Guard Community Forum
sorry, the user is amit there.
Reply all
Reply to author
Forward
0 new messages