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

Implement "Group by View" for Asset Inventory #202092

Open
7 tasks
opauloh opened this issue Nov 28, 2024 · 1 comment
Open
7 tasks

Implement "Group by View" for Asset Inventory #202092

opauloh opened this issue Nov 28, 2024 · 1 comment
Assignees
Labels
Team:Cloud Security Cloud Security team related
Milestone

Comments

@opauloh
Copy link
Contributor

opauloh commented Nov 28, 2024

Motivation

To provide users with a more intuitive way of exploring their asset inventory, a "Group by View" should be added to complement the DataGrid. This feature allows users to group assets by specific fields, enabling quick aggregation and categorization of data for better insights.

Definition of Done

  • Add a toggle to switch between DataGrid and Group by View visualizations.
  • Implement the Group by View using the @kbn/grouping package for consistency and reusability.
  • Provide a dropdown menu to select grouping fields, including:
    • Asset type (asset.type)
    • Asset category (asset.category)
    • Risk (host.risk.calculated_level)
    • Criticality (asset.criticality)
    • Custom field: Allow users to input/select a custom field for grouping.
  • Display the following information for each group row:
    • The grouped term value.
    • The count of assets in that group.
    • A button to expand the group and view the assets in a filtered DataGrid.
  • Ensure group expansion dynamically displays assets in a DataGrid filtered by the selected grouping field.
  • Pagination: Display 10 groups per page by default, with pagination controls to navigate between pages.
  • Rows per page dropdown: Allow users to adjust the number of groups displayed per page (options: 10, 25, 50, 100).

Screenshot

Image

Out of Scope

  • Custom DataGrid visualization for individual groups.
  • Sub-grouping functionality (to be covered in a separate ticket).

Requirements

Related tasks/epics

@opauloh opauloh added the Team:Cloud Security Cloud Security team related label Nov 28, 2024
@opauloh opauloh added this to the 8.18 milestone Nov 28, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security)

@opauloh opauloh assigned albertoblaz and opauloh and unassigned albertoblaz Dec 19, 2024
@opauloh opauloh modified the milestones: 8.18, 9.1 Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Cloud Security Cloud Security team related
Projects
None yet
Development

No branches or pull requests

3 participants