Skip to content

Add ability to sort Dependency List by Severity

What does this MR do?

Adds ability to sort Dependency List by Severity.

This adds "Severity" to the available sorting options on the Dependency List. This will sort the dependencies according to the severity of any of their detected vulnerabilities.

This contributes towards the larger feature for adding dependency scanning results to the Dependency List, behind the dependency_list_vulnerabilities feature flag.

There is no backend support for this yet, though the UI portion still works if you enable the feature flag anyway; the returned list just won't be sorted as expected.

sort_by_severity_open

sort_by_severity_selected

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Edited by Mark Florian

Merge request reports