-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes 3656: add api to list template errata #679
Conversation
need to update this to return a list of CVEs, i think that would require a change in tang. also, this endpoint refers to errata which is consistent with the similar endpoint to list snapshot errata, but the task says to use advisories. should i refer to these as errata or advisories? EDIT: based on our conversation in standup, will continue to use errata here and refer to them as advisories in the UI |
938ccc4
to
9f65bcc
Compare
9f65bcc
to
8af6e49
Compare
/retest |
Hi ACK from me API works[1], UI has problems not related to this PR[2] @jlsherrill Merge on ACK [1]
|
Summary
/templates/:uuid/errata
(similar to the list errata endpoint for snapshots)search
,limit
,type
, andseverity
Testing steps
OPTIONS_REPOSITORY_IMPORT_FILTER=small go run cmd/external-repos/main.go import && go run cmd/external-repos/main.go nightly-jobs
)/templates/:uuid/errata
endpoint with the template uuid and you should see the template's errata (should include errata from both of the snapshots in the template) in a response similar to this:Checklist