Scan
Show registry layers report
get/scan/registry/{name}/layers/{id}
Request
- Base URL/v1 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared. Required headers: X-Auth-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
namestring required
Name of the registry
idstring required
Layer ID
Headers
X-Auth-Tokenstring required
Response
Success
Example response
{
"report": {
"layers": [
{
"vulnerabilities": [
{
"name": "CVE-2015-8356",
"score": 7.2,
"severity": "High",
"description": "The setup_env function in group.c in sshd in OpenSSH allows local users to gain privileges.",
"package_name": "openssh",
"package_version": "7.2_p2-r0",
"fixed_version": "1:7.2p2-3",
"link": "https://security-tracker.debian.org/tracker/CVE-2015-8356",
"score_v3": 7.3,
"published_timestamp": 1516561260,
"last_modified_timestamp": 1516561253,
"in_base_image": true
}
],
"size": 1
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.