List images vulnerable to the specific vulnerability ID.
Returns a listing of images and their respective packages vulnerable to the given vulnerability ID
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /query/images/by_vulnerability
- Auth: none declared
Query parameters
The ID of the vulnerability to search for within all images stored in anchore-engine (e.g. CVE-1999-0001)
Filter results to images within the given vulnerability namespace (e.g. debian:8, ubuntu:14.04)
Filter results to images with vulnable packages with the given package name (e.g. libssl)
Filter results to vulnerable package/vulnerability with the given severity
Filter results to include only vulnerabilities that are not marked as invalid by upstream OS vendor data
The page of results to fetch. Pages start at 1
Limit the number of records for the requested page. If omitted or set to 0, return all results in a single page
Headers
An account name to change the resource scope of the request to that account, if permissions allow (admin only)
Response
Image lookup success
Example response
{
"images": [
{
"image": {
"tag_history": [
{
"registry": "registry",
"detected_at": "2000-01-23T04:56:07.000+00:00",
"pullstring": "pullstring",
"tag": "tag",
"repository": "repository"
}
]
}
}
]
}