Asset Vulnerabilities
Changed onRetrieves all vulnerability findings on an asset. A finding may be invulnerable if all instances have exceptions applied.
Request
- Base URLhttps://<host>:<port>
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The identifier of the asset.
Query parameters
The index of the page (zero-based) to retrieve.
The number of records per page to retrieve.
The criteria to sort the records by, in the format: property[,ASC|DESC]. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters.
Response
OK
Example response
{
"links": [
{
"href": "https://hostname:3780/api/3/...",
"rel": "self"
}
],
"page": {
"number": 6,
"size": 10,
"totalPages": 13,
"totalResources": 123
},
"resources": [
{
"instances": 1,
"links": [
{
"href": "https://hostname:3780/api/3/...",
"rel": "self"
}
],
"results": [
{
"links": [
{
"href": "https://hostname:3780/api/3/...",
"rel": "self"
}
],
"port": 22,
"proof": "<p><p>OpenBSD OpenSSH 4.3 on Linux</p></p>",
"protocol": "tcp",
"reintroduced": "2018-08-09T11:32:33.658Z",
"since": "2017-08-09T11:32:33.658Z",
"status": "vulnerable-version"
}
],
"since": "2017-08-09T11:32:33.658Z",
"status": "vulnerable"
}
]
}Changes
- info
added the media type
application/json;charset=UTF-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status
- info