flora-server
flora-server copied to clipboard
Expose a resource for advisories
After implementing #554 we should display the advisories inside Flora with the following resources:
-
/security/advisories/namespace/<@namespace>
to list all advisories pertaining to a namespace, with default pagination settings. -
/security/advisories/package/<@namespace>/<package>
to list all advisories pertaining to a package, with default pagination settings. -
/security/advisories/<advisory-id>
where advisory-id is the HSEC identifier (HSEC-XXXX-XXXX
) to view a specific advisory.