Remediation

Asset Vulnerability Solution

Changed on

Returns the highest-superceding rollup solutions for a vulnerability on an asset. The solution(s) selected will be the most recent and cost-effective means by which the vulnerability can be remediated.

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

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

Example response

{
  "links": [
    {
      "href": "https://hostname:3780/api/3/...",
      "rel": "self"
    }
  ],
  "resources": [
    {
      "appliesTo": "libexpat1 on Ubuntu Linux",
      "estimate": "PT10M",
      "fixAvailable": true,
      "links": [
        {
          "href": "https://hostname:3780/api/3/...",
          "rel": "self"
        }
      ],
      "matches": [
        {
          "fingerprint": {
            "description": "Ubuntu libexpat1 2.1.0-4ubuntu1.2",
            "product": "libexpat1",
            "vendor": "Ubuntu",
            "version": "2.1.0-4ubuntu1.2"
          },
          "links": [
            {
              "href": "https://hostname:3780/api/3/...",
              "rel": "self"
            }
          ],
          "type": "software"
        }
      ],
      "steps": {
        "html": "<p>\n    Use `apt-get upgrade` to upgrade libexpat1 to the latest version.\n  </p>",
        "text": "Use `apt-get upgrade` to upgrade libexpat1 to the latest version."
      },
      "summary": {
        "html": "Upgrade libexpat1",
        "text": "Upgrade libexpat1"
      },
      "type": "configuration"
    }
  ]
}

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