/api/v1/purl/{id} does not contain advisories.status.vulnerability.severity
field
#1099
Labels
UI-V1 parity
Tasks needed to get done for V1 UI parity
Fetching data from
/api/v1/purl/{id}
returns a response like the JSON below (I removed field and leave only the main ones):The
advisories.status.vulnerability
object does not have "severity".The reason to have "severity" is that there is the UI table below:
For each of the vulnerabilities found, there is the need to render the Severity of it. Currently the UI is fetching the severity for each Vulnerability calling to
/api/v1/vulnerability/{id}
. So, if the table has 10 elements then/api/v1/vulnerability/{id}
will be called 10 times too.If we were able to include the severity then we could significantly reduce the number of calls done to the backend.
@jcrossley3 tagging you here as you did previous work similar to this one to reduce the number of calls from the UI to the backend.
The text was updated successfully, but these errors were encountered: