canonical / ubuntu-com-security-api

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

Detailed relations return #40

Closed albertkol closed 3 years ago

albertkol commented 3 years ago

Done

1) Delete BaseFilterQuery class, as it makes endpoints untestable with sqlalchemy_mock. For the API it's not a big deal, adding the filters manually makes little difference.
2) Add show_hidden parameter, so CVEs can hide/reveal hidden USNs. 3) Make cve.notices and notice.cves return full payload of notices and cves. cve.notices_ids and notice.cves_ids return just arrays of ids. 4) Add suffix .json to all endpoints 5) Validation bug fixes 6) Add cve_id filter for notices.json

QA

Issue / Card

Fixes #37

SirSamTumless commented 3 years ago

Waiting to talk to the security team