Closed elyousfi5 closed 2 months ago
Attention: Patch coverage is 97.77778%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 62.84%. Comparing base (
038cf19
) to head (a28a277
). Report is 5 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
src/ostorlab/cli/vulnz/list/list.py | 0.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
PR Description
Purpose: This pull request adds functionality to allow users to order vulnerabilities by
id
,title
, orrisk_rating
when listing vulnerabilities for a specific scan. This enhancement improves the usability of the vulnerability listing feature by providing more flexibility in how the results are presented.Changes Made:
order_by
parameter in thelist_vulnz
method, with a default value ofrisk_rating
.id
,title
, andrisk_rating
.order_by
parameter.order_by
value is provided, the method defaults to sorting byrisk_rating
.Benefits: