elastic/kibana
View on GitHubDashboard and Benchmark Pages Missing Unprivileged Prompt
Open
#184621 opened on Jun 2, 2024
Team:Cloud Securitybuggood first issue
Description
Motivation When accessing Cloud Security pages with a role that lacks the required privileges:
- On the dashboard page, nothing appears until one of the tabs (Cloud / Kubernetes) is clicked.
- On the benchmark page, there is a delay of approximately 5 seconds before an error message is displayed, stating "We couldn't fetch your cloud security posture benchmark data," instead of presenting the insufficient privileges prompt.
Steps to Reproduce
- Create a role that lacks access to cloud security posture indices.
- Create a user with the role from the previous step.
- Try accessing the dashboard and benchmark pages.
Definition of Done
- When navigating to the dashboard page, an insufficient privileges prompt should appear without needing to click on any tab.
- The benchmark page should present a meaningful insufficient privileges prompt.
- Update the custom roles FTRs to include accessing the benchmark and dashboard pages.
https://github.com/elastic/kibana/assets/90558359/df549baa-c6fa-424a-a56c-58a43e4173da
Related links