Skip to content

Sort vulnerabilities in dependency list [RUN ALL RSPEC] [RUN AS-IF-FOSS]

What does this MR do?

This MR fixes a bug that was preventing the dependency list from being sorted properly. The bug occurred because of an assumption that the vulnerabilities of a dependency would already be sorted, but this is no longer the case.

What are the relevant issue numbers?

#258648 (closed)

Screenshots (strongly suggested)

Before change

Dependency vulnerabilities are not sorted (medium vulnerabilities appear before critical for rails 5.0.0)

image

After change

Dependency vulnerabilities are sorted

image

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #258648 (closed)

Edited by Adam Cohen

Merge request reports