canonical / ubuntu-com-security-api

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

Add new pocket options #125

Closed mtruj013 closed 1 year ago

mtruj013 commented 1 year ago

Done

Rationale

As a part of the CVE overhaul we are going to start tracking the pocket options listed above. This will eventually replace the work done in this PR. Additionally, during development we figured out that the soss pocket was never added to the db as an option because of a missing migration. This PR fixes that as well.

QA

Issue / Card

Fixes https://warthogs.atlassian.net/browse/WD-2895

codecov[bot] commented 1 year ago

Codecov Report

Merging #125 (4ce5cb2) into main (fab179d) will increase coverage by 0.10%. The diff coverage is 78.26%.

:exclamation: Current head 4ce5cb2 differs from pull request most recent head ad9e96f. Consider uploading reports for the commit ad9e96f to get more accurate results

@@            Coverage Diff             @@
##             main     #125      +/-   ##
==========================================
+ Coverage   80.94%   81.05%   +0.10%     
==========================================
  Files          25       26       +1     
  Lines        1249     1272      +23     
==========================================
+ Hits         1011     1031      +20     
- Misses        238      241       +3     
Flag Coverage Δ
python 81.05% <78.26%> (+0.10%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
tests/fixtures/models.py 100.00% <ø> (ø)
tests/fixtures/payloads.py 100.00% <ø> (ø)
webapp/models.py 84.55% <ø> (ø)
webapp/schemas.py 92.48% <ø> (ø)
...igrations/versions/1e0a9c001320_add_new_pockets.py 78.26% <78.26%> (ø)

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.