Get advisories for a package
Changed onReturns a paginated list of security advisories for a single package identified by PURL. Intended for lazy-loading the Security tab in the package detail drawer.
Request
- Base URLhttps://cm.lfx.dev/api/v1
- URLhttps://cm.lfx.dev/api/v1/akrites/packages/advisories
- AuthHTTP bearer
Query parameters
Package URL (PURL) — must start with pkg:.
Page number (1-based).
Number of advisories per page (max 100).
Filter by severity. Accepts comma-separated values or multiple params.
Filter by resolution status. Accepts comma-separated values or multiple params.
Filter by criticality flag (CVSS >= 7.0).
Response
Paginated advisory list.
Example response
{
"advisories": [
{
"osvId": "GHSA-xxxx-xxxx-xxxx"
}
]
}Changes
- warning
added the new
moderateenum value to the//response property for the response status - warning
added the new
openenum value to the//response property for the response status - warning
added the new
patchedenum value to the//response property for the response status - info
added the new optional
queryrequest parametercritical - info
added the new optional
queryrequest parameterpage - info
added the new optional
queryrequest parameterpageSize - info
added the new optional
queryrequest parameterresolution - info
added the new optional
queryrequest parameterseverity - info
removed the
mediumenum value from the//response property for the response status - info
added the required property
//to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- warning
- breaking
removed the required property
//from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
deleted the
queryrequest parametercritical - warning
deleted the
queryrequest parameterpage - warning
deleted the
queryrequest parameterpageSize - warning
deleted the
queryrequest parameterresolution - warning
deleted the
queryrequest parameterseverity - warning
added the new
mediumenum value to the//response property for the response status - info
removed the
moderateenum value from the//response property for the response status - info
removed the
openenum value from the//response property for the response status - info
removed the
patchedenum value from the//response property for the response status
- breaking