Asset Vulnerability Validations
Changed onCreates a vulnerability validation for a vulnerability on an asset. The validation signifies that the vulnerability has been confirmed exploitable by an external tool, such as <a target="_blank" rel="noopener noreferrer" href="https://www.metasploit.com">Metasploit</a>.
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.
The identifier of the vulnerability.
Request body
Example request
{
"date": "2017-12-21T04:54:32.314Z",
"links": [
{
"href": "https://hostname:3780/api/3/...",
"rel": "self"
}
],
"source": {
"key": "exploit/windows/iis/iis_webdav_scstoragepathfromurl",
"name": "metasploit"
}
}Response
OK
Example response
{
"links": [
{
"href": "https://hostname:3780/api/3/...",
"rel": "self"
}
]
}Changes
- breaking
added required request body
- 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
- breaking