Vulnerability Result

Asset Vulnerability Validations

Changed on

Creates 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>.

post/api/3/assets/{id}/vulnerabilities/{vulnerabilityId}/validations

Request

Path parameters

idinteger required

The identifier of the asset.

Example:282
vulnerabilityIdstring required

The identifier of the vulnerability.

Example:windows-hotfix-ms03-007

Request body

datestring date-time

The date and time the vulnerability was validated, in the ISO8601 format.

idobject

The identifier of the vulnerability validation.

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

idobject

The identifier of the vulnerability validation.

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-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status