trustification / trustify

Apache License 2.0
10 stars 19 forks source link

Vulnerability GET /api/v1/vulnerability should support Filter by `average_severity` #411

Closed carlosthe19916 closed 2 months ago

carlosthe19916 commented 3 months ago

Each vulnerability has the field average_severity. We should be able to filter by that field. There was very similar work done for the Advisories.

The current message I get when I try to filter by average_severity is:

q=average_severity=low

{ "error": "Query error", "message": "query syntax error: Invalid field name for filter: 'average_severity'" }