Vulnerability Result

Asset Vulnerability

Changed on

Retrieves the details for a vulnerability finding on an asset.

get/api/3/assets/{id}/vulnerabilities/{vulnerabilityId}

Request

Path parameters

idinteger required

The identifier of the asset.

Example:282
vulnerabilityIdstring required

The identifier of the vulnerability.

Example:windows-hotfix-ms03-007

Response

OK

idobject required

The identifier of the vulnerability.

instancesinteger required

The number of vulnerable occurrences of the vulnerability. This does not include invulnerable instances.

sincestring date-time

The date and time the finding was was first recorded, in the ISO8601 format. If the result changes status this value is the date and time of the status change.

status'vulnerable' | 'invulnerable' | 'no-results' required

The status of the finding.

Example response

{
  "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-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