All URIs are relative to https://localhost:3780
Method | HTTP request | Description |
---|---|---|
get_asset_vulnerability_solutions | GET /api/3/assets/{id}/vulnerabilities/{vulnerabilityId}/solution | Asset Vulnerability Solution |
ResourcesMatchedSolution get_asset_vulnerability_solutions(id, vulnerability_id)
Asset Vulnerability Solution
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.
from __future__ import print_function
import time
import rapid7vmconsole
from rapid7vmconsole.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = rapid7vmconsole.RemediationApi()
id = 789 # int | The identifier of the asset.
vulnerability_id = 'vulnerability_id_example' # str | The identifier of the vulnerability.
try:
# Asset Vulnerability Solution
api_response = api_instance.get_asset_vulnerability_solutions(id, vulnerability_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling RemediationApi->get_asset_vulnerability_solutions: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | The identifier of the asset. | |
vulnerability_id | str | The identifier of the vulnerability. |
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]