elastic/kibana

Dashboard and Benchmark Pages Missing Unprivileged Prompt

Open

#184 621 ouverte le 2 juin 2024

Voir sur GitHub
 (8 commentaires) (1 réaction) (0 assignés)TypeScript (8 021 forks)batch import
Team:Cloud Securitybuggood first issue

Métriques du dépôt

Stars
 (19 065 stars)
Métriques de merge PR
 (Merge moyen 1j 16h) (999 PRs mergées en 30 j)

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

  1. Create a role that lacks access to cloud security posture indices.
  2. Create a user with the role from the previous step.
  3. 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

Guide contributeur