Update the GET /v1/vulnerability API and frontend to allow for filtering only vulnerabilities that affect catalogued projects #3110
Labels
enhancement
New feature or request
p2
Non-critical bugs, and features that help organizations to identify and reduce risk
Current Behavior
The API GET /v1/vulnerability Returns a list of all vulnerabilities.
Likewise the frontend http://localhost:8080/vulnerabilities URL returns all known vulnerabilities.
Proposed Behavior
The API GET /v1/vulnerability accepts optional parameter and / or
that allows to retrieve only the vulnerabilities affecting projects or vulnerabilities affecting >= affectedProjectCount projects.
Likewise, the frontend for vulnerabilities could have a toggle < Active Vulnerabilities> that would filter out the vulnerabilities not present in the catalogued projects. .
Checklist
The text was updated successfully, but these errors were encountered: