Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[K8s dashboard improvements] Create button to show CSP score + link to CSP benchmark for selected cluster. #146205

Open
mitodrummer opened this issue Nov 23, 2022 · 2 comments
Assignees
Labels
Team: AWP: Visualization AWP team that does most fullstack work in kibana
Milestone

Comments

@mitodrummer
Copy link
Contributor

In an effort to have the K8s dashboard link to other plugins / features. We are adding 3 new buttons to the dashboard "breadcrumbs" section. This ticket focuses on a button to link to the CSP (cloud security posture) dashboard page for the cluster.

Image

Requirements:

  • Based on breadcrumb selection show the CSP score for the selected cluster in the button. No score if it doesn't exist or integration isn't setup.
  • On hover a tooltip with links to the cloud posture page for the cluster showing the score.
  • Ensure we are adding CSP as a dependency to k8s dashboard so that we can peer into their constants to get the appropriate indexes needed to query the score for the cluster. Perhaps there are already routes we can leverage for this cc @kfirpeled @oren-zohar
  • If CSP integration not setup, the tooltip should link to the integrations page, so users can install it.

Epic: https://github.com/elastic/security-team/issues/4663
Figma: https://www.figma.com/file/BdAcN5SbfW629OMvJrGT2r/%5B8.4%5D-%5BKubernetes%5D-Viz-of-k8s-environment-in-a-topological-view?node-id=3406%3A705469&t=QvdyqaZ7yClJKa5F-0

@mitodrummer mitodrummer added the Team: AWP: Visualization AWP team that does most fullstack work in kibana label Nov 23, 2022
@mitodrummer mitodrummer added this to the 8.7 milestone Nov 23, 2022
@kfirpeled
Copy link
Contributor

HI, currently cloud_security_posture plugin expose several internal APIs.
So far this is the first requirement for such capability so we haven't worked on exposing these APIs publicly, either through a plugin or public API.
So lets work on the requirements and agree on the interface, and I'll setup a task for that

@mitodrummer
Copy link
Contributor Author

Thanks @kfirpeled, yes lets define that interface. I guess we need the ability to get a link to the cloud posture page (with prepopulated query to filter by cluster.id), and also an api endpoint or exposed plugin function to get the posture score for a given cluster id. I'll throw a meeting in the cal for next week to touch base on this, as well as for the CSP issues we are going to help with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team: AWP: Visualization AWP team that does most fullstack work in kibana
Projects
None yet
Development

No branches or pull requests

3 participants