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 custom criticality sorting #213427

Open
5 tasks
opauloh opened this issue Mar 6, 2025 · 1 comment
Open
5 tasks

Implement custom criticality sorting #213427

opauloh opened this issue Mar 6, 2025 · 1 comment
Assignees
Labels
Team:Cloud Security Cloud Security team related
Milestone

Comments

@opauloh
Copy link
Contributor

opauloh commented Mar 6, 2025

Motivation

This ticket aims to pass custom column schema and schema detector to the UnifiedDataTable component, which will allow custom sorting text capability on the UnifiedDataTable column headers. Currently, the sorting text is dynamically identified by the UnifiedDataTable plugin, and we want to be able to pass custom sorting.

Use cases:

One use case is to allow changing the Criticality column sorting of the Inventory page to sort by Criticity, i.e: (Critical -> High -> Medium -> Low) instead of Alphabetical (which currently leads to (Critical -> High -> Low -> Medium)).

Definition of done

  • UnifiedDataTable accepts customSchemaConfig and the columns object accepts a schema property.
  • The column schema can be pointed to the customSchemaConfig.
  • When not override the field sorting is dynamic calculated.
  • The Asset Inventory datagrid uses the custom criticality sorting
  • Unit tests are written to ensure the default functionality works alongside the schema override
@opauloh opauloh added the Team:Cloud Security Cloud Security team related label Mar 6, 2025
@opauloh opauloh self-assigned this Mar 6, 2025
@elasticmachine
Copy link
Contributor

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

@opauloh opauloh added this to the 9.1 milestone Mar 6, 2025
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

2 participants