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

[Security Solution] POC hover actions in embedded dashboards #140304

Open
semd opened this issue Sep 8, 2022 · 2 comments
Open

[Security Solution] POC hover actions in embedded dashboards #140304

semd opened this issue Sep 8, 2022 · 2 comments

Comments

@semd
Copy link
Contributor

semd commented Sep 8, 2022

Summary:

Create a POC including the "add to timeline" hover action when the embedded dashboard is rendered inside Security using the current (old) component: getDashboardContainerByValueRenderer.
The final goal is to show the hover action in the table dashboard cells, and chart legends. This POC should test if it is possible using the current architecture.

Implementation:

Actions should be added inside the Security Solution codebase by calling registerAction and attachAction from the uiActions plugin. In a similar fashion as the src/plugins/dashboard/public/plugin.tsx is doing.
We have to add a control in the compatible action method to show the action only when the dashboards are rendered inside Security, otherwise all plugins will show the action as well.

@ThomThomson add any other information you think is relevant.

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting (Team:Threat Hunting)

@semd semd changed the title [Ssecurity Solution] POC hover actions in embedded dashboards [Security Solution] POC hover actions in embedded dashboards Sep 8, 2022
@ThomThomson
Copy link
Contributor

Looks great! We should also note that the current getDashboardContainerByValueRenderer will be replaced soon, but if you use it for a POC before the renderer is replaced, we will upgrade it in place for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants