Hi All,
I have just upgraded my Elastic Search to 5.6.1 as well as x-pack.
I am having hard time recreating the USER built in role available in shield into x-pack , for that i have defined the role in x-pack as
PUT /_xpack/security/role/user?pretty
{
"run_as": [ ],
"cluster": [ ],
"indices": [
{
"names": [ "*" ],
"privileges": [ "read" ]
}
]
}
But once i assign the role to any users they are facing an issue when they try to run
1.GET /_cat/indices?v
Error:
{
"error": {
"root_cause": [
{
"type": "security_exception",
"reason": "action [indices:admin/get] is unauthorized for user [dbodauser]"
}
],
"type": "security_exception",
"reason": "action [indices:admin/get] is unauthorized for user [dbodauser]"
},
"status": 403
}
2.GET /Salesproviders?pretty
Error:
{
"error": {
"root_cause": [
{
"type": "security_exception",
"reason": "action [indices:admin/get] is unauthorized for user [dbodauser]"
}
],
"type": "security_exception",
"reason": "action [indices:admin/get] is unauthorized for user [dbodauser]"
},
"status": 403
}
Can some one please throw some light on where i am going wrong
Thanks in Advance.
Jack