canonical / ubuntu-com-security-api

The API for CVEs and USNs data.
17 stars 9 forks source link

The API filter "status" isn't working #115

Closed pereyra-m closed 1 year ago

pereyra-m commented 2 years ago

Summary

When I try to filter the CVEs by status, there is always an error message and the results aren't retrieved.

Process

All these API calls currently fail

{"errors":"{'query': {'status': {0: ['Cannot find a status with status active']}}}","message":"Invalid payload"}
{"errors":"{'query': {'status': {0: ['Cannot find a status with status rejected']}}}","message":"Invalid payload"}
{"errors":"{'query': {'status': {0: ['Cannot find a status with status not-in-ubuntu']}}}","message":"Invalid payload"}

Current and expected result

The API fails to get any result.

It's expected that the filter works properly.

Browser details

Brave browser: [Versión 1.43.89 Chromium: 105.0.5195.102 (Build oficial) (64 bits)]

mtruj013 commented 1 year ago

Good catch @pereyra-m, thanks for raising these!

pereyra-m commented 1 year ago

Thanks to you !