I had created a kibana_dashboard_only_user with index specific access and spaces specific access read permissions specified in a custom role called viewer , it was working so far but now stopped working due to unknown reason , i am getting {"statusCode":403,"error":"Forbidden","message":"Forbidden"}
, I tried to elevate the rights to user by adding more roles , like kibana_user
kibana_system
data_frame_transforms_user
monitoring_user
reporting_user
snapshot_user
but that also not made it working , still getting same error.
in Logs i got this information but i could not figure out anything out from it:-
{"type":"response","@timestamp":"2020-09-15T14:22:34Z","tags":,"pid":1,"method":"get","statusCode":403,"req":{"url":"/","method":"get","headers":{"host":"avts-staging.my.aws.pvt.com","x-request-id":"141fb63f65021af5xx10faab0cef189f","x-real-ip":"37.201.226.5","x-forwarded-for":"37.201.226.5","x-forwarded-host":"avts-staging.my.aws.pvt.com","x-forwarded-port":"443","x-forwarded-proto":"https","x-scheme":"https","sec-ch-ua":""\\Not;A\"Brand";v="99", "Google Chrome";v="85", "Chromium";v="85"","sec-ch-ua-mobile":"?0","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.10 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9","sec-fetch-site":"same-origin","sec-fetch-mode":"navigate","sec-fetch-user":"?1","sec-fetch-dest":"document","referer":"https://avts-staging.my.aws.pvt.com/login?next=%2F","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9"},"remoteAddress":"192.168.64.14","userAgent":"192.168.64.14","referer":"https://avts-staging.my.aws.pvt.com/login?next=%2F"},"res":{"statusCode":403,"responseTime":36,"contentLength":9},"message":"GET / 403 36ms - 9.0B"}
However Superusers and Admin user which is elasticuser admin are able to access normally. Only custom users are affected with read or restricted permission ,this issue has made Kibana Tool Assessment work stopped. Looking out for some help here. Thanks in Advance!