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] Provide the hover actions registry functionality based on uiActions for the security_solution plugin #145662

Closed
YulNaumenko opened this issue Nov 18, 2022 · 2 comments
Assignees
Labels
8.7 candidate Team:Threat Hunting:Explore Team:Threat Hunting Security Solution Threat Hunting Team technical debt Improvement of the software architecture and operational architecture

Comments

@YulNaumenko
Copy link
Contributor

YulNaumenko commented Nov 18, 2022

Related to the Epic issue #144943

To solve the problem of reusability and extensibility(without mutation of the component) for the HoverActions component we made the architectural decision to implement it as package with the context reference to the uiActions plugin. This will help other plugins get unified render for the hover actions.
The goal of the current issue is to implement the registry functionality as a part of the security_solution plugin. As an example we can use Kibana Dashboards actions and registry of actions defined inside the dashboards plugin (code). The idea if to create a new trigger (group of actions) for the basic representations of the "hoverActions":

  1. Screen Shot 2022-11-17 at 6 53 17 PM
  2. Screen Shot 2022-11-17 at 6 53 50 PM
  3. Screen Shot 2022-11-17 at 6 54 27 PM
  4. Screen Shot 2022-11-17 at 6 54 35 PM
  5. Screen Shot 2022-11-17 at 6 55 36 PM

and registering all of them inside the consumer (security_solution) plugin. As an actions buttons we can use both - package buttons (FilterIn/FilterOut, Copy) and internal actions like AddToCases, etc.

Screen Shot 2022-11-17 at 7 19 56 PM

New architecture diagram:
Screen Shot 2022-11-17 at 7 06 25 PM

@YulNaumenko YulNaumenko added technical debt Improvement of the software architecture and operational architecture Team:Threat Hunting Security Solution Threat Hunting Team Team:Threat Hunting:Explore 8.7 candidate labels Nov 18, 2022
@elasticmachine
Copy link
Contributor

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

@YulNaumenko
Copy link
Contributor Author

Implemented by PR #148434

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.7 candidate Team:Threat Hunting:Explore Team:Threat Hunting Security Solution Threat Hunting Team technical debt Improvement of the software architecture and operational architecture
Projects
None yet
Development

No branches or pull requests

3 participants