Sha256: a2573701f8c2ba39a04094098feadbebade016876e19f89f022f8fe963d372c7

Contents?: true

Size: 1.68 KB

Versions: 2

Compression:

Stored size: 1.68 KB

Contents

# SwaggerClient::RemediationApi

All URIs are relative to *https://localhost:3780/*

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_asset_vulnerability_solutions**](RemediationApi.md#get_asset_vulnerability_solutions) | **GET** /api/3/assets/{id}/vulnerabilities/{vulnerabilityId}/solution | Asset Vulnerability Solution

# **get_asset_vulnerability_solutions**
> 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.

### Example
```ruby
# load the gem
require 'swagger_client'

api_instance = SwaggerClient::RemediationApi.new
id = 789 # Integer | The identifier of the asset.
vulnerability_id = 'vulnerability_id_example' # String | The identifier of the vulnerability.


begin
  #Asset Vulnerability Solution
  result = api_instance.get_asset_vulnerability_solutions(id, vulnerability_id)
  p result
rescue SwaggerClient::ApiError => e
  puts "Exception when calling RemediationApi->get_asset_vulnerability_solutions: #{e}"
end
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **id** | **Integer**| The identifier of the asset. | 
 **vulnerability_id** | **String**| The identifier of the vulnerability. | 

### Return type

[**ResourcesMatchedSolution**](ResourcesMatchedSolution.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json;charset=UTF-8



Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
avs-0.1.0 lib/service/api/rapid7_insightvm_client/docs/RemediationApi.md
avs-0.0.9 lib/service/api/rapid7_insightvm_client/docs/RemediationApi.md