All URIs are relative to https://localhost:3780
Method | HTTP request | Description |
---|---|---|
get_affected_assets | GET /api/3/vulnerabilities/{id}/assets | Vulnerability Affected Assets |
get_exploit | GET /api/3/exploits/{id} | Exploit |
get_exploit_vulnerabilities | GET /api/3/exploits/{id}/vulnerabilities | Exploitable Vulnerabilities |
get_exploits | GET /api/3/exploits | Exploits |
get_malware_kit | GET /api/3/malware_kits/{id} | Malware Kit |
get_malware_kit_vulnerabilities | GET /api/3/malware_kits/{id}/vulnerabilities | Malware Kit Vulnerabilities |
get_malware_kits | GET /api/3/malware_kits | Malware Kits |
get_prerequisite_solutions | GET /api/3/solutions/{id}/prerequisites | Solution Prerequisites |
get_solution | GET /api/3/solutions/{id} | Solution |
get_solutions | GET /api/3/solutions | Solutions |
get_superseded_solutions | GET /api/3/solutions/{id}/supersedes | Superseded Solutions |
get_superseding_solutions | GET /api/3/solutions/{id}/superseding | Superseding Solutions |
get_vulnerabilities | GET /api/3/vulnerabilities | Vulnerabilities |
get_vulnerability | GET /api/3/vulnerabilities/{id} | Vulnerability |
get_vulnerability_categories | GET /api/3/vulnerability_categories | Categories |
get_vulnerability_category | GET /api/3/vulnerability_categories/{id} | Category |
get_vulnerability_category_vulnerabilities | GET /api/3/vulnerability_categories/{id}/vulnerabilities | Category Vulnerabilities |
get_vulnerability_exploits | GET /api/3/vulnerabilities/{id}/exploits | Vulnerability Exploits |
get_vulnerability_malware_kits | GET /api/3/vulnerabilities/{id}/malware_kits | Vulnerability Malware Kits |
get_vulnerability_reference | GET /api/3/vulnerability_references/{id} | Reference |
get_vulnerability_reference_vulnerabilities | GET /api/3/vulnerability_references/{id}/vulnerabilities | Reference Vulnerabilities |
get_vulnerability_references | GET /api/3/vulnerability_references | References |
get_vulnerability_references1 | GET /api/3/vulnerabilities/{id}/references | Vulnerability References |
get_vulnerability_solutions | GET /api/3/vulnerabilities/{id}/solutions | Vulnerability Solutions |
ReferencesWithAssetIDLink get_affected_assets(id)
Vulnerability Affected Assets
Get the assets affected by the vulnerability.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
id = 'id_example' # String | The identifier of the vulnerability.
begin
#Vulnerability Affected Assets
result = api_instance.get_affected_assets(id)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_affected_assets: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | String | The identifier of the vulnerability. |
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
Exploit get_exploit(id)
Exploit
Returns the details for an exploit.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
id = 56 # Integer | The identifier of the exploit.
begin
#Exploit
result = api_instance.get_exploit(id)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_exploit: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | The identifier of the exploit. |
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
ReferencesWithVulnerabilityNaturalIDLink get_exploit_vulnerabilities(id)
Exploitable Vulnerabilities
Returns the vulnerabilities exploitable to a exploit.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
id = 56 # Integer | The identifier of the exploit.
begin
#Exploitable Vulnerabilities
result = api_instance.get_exploit_vulnerabilities(id)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_exploit_vulnerabilities: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | The identifier of the exploit. |
ReferencesWithVulnerabilityNaturalIDLink
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
PageOfExploit get_exploits(opts)
Exploits
Returns all known exploits.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
opts = {
page: 0, # Integer | The index of the page (zero-based) to retrieve.
size: 10, # Integer | The number of records per page to retrieve.
sort: ['sort_example'] # Array<String> | The criteria to sort the records by, in the format: `property[,ASC|DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters.
}
begin
#Exploits
result = api_instance.get_exploits(opts)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_exploits: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
page | Integer | The index of the page (zero-based) to retrieve. | [optional] [default to 0] |
size | Integer | The number of records per page to retrieve. | [optional] [default to 10] |
sort | Array<String> | The criteria to sort the records by, in the format: `property[,ASC | DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters. |
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
MalwareKit get_malware_kit(id)
Malware Kit
Returns the details for a malware kit.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
id = 56 # Integer | The identifier of the malware kit.
begin
#Malware Kit
result = api_instance.get_malware_kit(id)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_malware_kit: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | The identifier of the malware kit. |
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
ReferencesWithVulnerabilityNaturalIDLink get_malware_kit_vulnerabilities(id)
Malware Kit Vulnerabilities
Returns the vulnerabilities that are susceptible to being attacked by a malware kit.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
id = 56 # Integer | The identifier of the malware kit.
begin
#Malware Kit Vulnerabilities
result = api_instance.get_malware_kit_vulnerabilities(id)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_malware_kit_vulnerabilities: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | The identifier of the malware kit. |
ReferencesWithVulnerabilityNaturalIDLink
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
PageOfMalwareKit get_malware_kits(opts)
Malware Kits
Returns all known malware kits.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
opts = {
page: 0, # Integer | The index of the page (zero-based) to retrieve.
size: 10, # Integer | The number of records per page to retrieve.
sort: ['sort_example'] # Array<String> | The criteria to sort the records by, in the format: `property[,ASC|DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters.
}
begin
#Malware Kits
result = api_instance.get_malware_kits(opts)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_malware_kits: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
page | Integer | The index of the page (zero-based) to retrieve. | [optional] [default to 0] |
size | Integer | The number of records per page to retrieve. | [optional] [default to 10] |
sort | Array<String> | The criteria to sort the records by, in the format: `property[,ASC | DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters. |
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
ReferencesWithSolutionNaturalIDLink get_prerequisite_solutions(id)
Solution Prerequisites
Returns the solutions that must be executed in order for a solution to resolve a vulnerability.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
id = 'id_example' # String | The identifier of the solution.
begin
#Solution Prerequisites
result = api_instance.get_prerequisite_solutions(id)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_prerequisite_solutions: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | String | The identifier of the solution. |
ReferencesWithSolutionNaturalIDLink
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
Solution get_solution(id)
Solution
Returns the details for a solution that can remediate one or more vulnerabilities.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
id = 'id_example' # String | The identifier of the solution.
begin
#Solution
result = api_instance.get_solution(id)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_solution: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | String | The identifier of the solution. |
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
ResourcesSolution get_solutions(opts)
Solutions
Returns the details for all solutions.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
opts = {
page: 0, # Integer | The index of the page (zero-based) to retrieve.
size: 10, # Integer | The number of records per page to retrieve.
sort: ['sort_example'] # Array<String> | The criteria to sort the records by, in the format: `property[,ASC|DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters.
}
begin
#Solutions
result = api_instance.get_solutions(opts)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_solutions: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
page | Integer | The index of the page (zero-based) to retrieve. | [optional] [default to 0] |
size | Integer | The number of records per page to retrieve. | [optional] [default to 10] |
sort | Array<String> | The criteria to sort the records by, in the format: `property[,ASC | DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters. |
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
ResourcesSolution get_superseded_solutions(id)
Superseded Solutions
Returns the solutions that are superseded by this solution.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
id = 'id_example' # String | The identifier of the solution.
begin
#Superseded Solutions
result = api_instance.get_superseded_solutions(id)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_superseded_solutions: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | String | The identifier of the solution. |
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
ResourcesSolution get_superseding_solutions(id, opts)
Superseding Solutions
Returns the solutions that supersede this solution.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
id = 'id_example' # String | The identifier of the solution.
opts = {
rollup: true # BOOLEAN | Whether to return only highest-level \"rollup\" superseding solutions.
}
begin
#Superseding Solutions
result = api_instance.get_superseding_solutions(id, opts)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_superseding_solutions: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | String | The identifier of the solution. | |
rollup | BOOLEAN | Whether to return only highest-level "rollup" superseding solutions. | [optional] [default to true] |
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
PageOfVulnerability get_vulnerabilities(opts)
Vulnerabilities
Returns all vulnerabilities that can be assessed during a scan.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
opts = {
page: 0, # Integer | The index of the page (zero-based) to retrieve.
size: 10, # Integer | The number of records per page to retrieve.
sort: ['sort_example'] # Array<String> | The criteria to sort the records by, in the format: `property[,ASC|DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters.
}
begin
#Vulnerabilities
result = api_instance.get_vulnerabilities(opts)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_vulnerabilities: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
page | Integer | The index of the page (zero-based) to retrieve. | [optional] [default to 0] |
size | Integer | The number of records per page to retrieve. | [optional] [default to 10] |
sort | Array<String> | The criteria to sort the records by, in the format: `property[,ASC | DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters. |
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
Vulnerability get_vulnerability(id)
Vulnerability
Returns the details for a vulnerability.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
id = 'id_example' # String | The identifier of the vulnerability.
begin
#Vulnerability
result = api_instance.get_vulnerability(id)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_vulnerability: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | String | The identifier of the vulnerability. |
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
PageOfVulnerabilityCategory get_vulnerability_categories(opts)
Categories
Returns all vulnerabilities categories that can be assigned to a vulnerability. These categories group and label vulnerabilities by general purpose, affected systems, vendor, etc.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
opts = {
page: 0, # Integer | The index of the page (zero-based) to retrieve.
size: 10, # Integer | The number of records per page to retrieve.
sort: ['sort_example'] # Array<String> | The criteria to sort the records by, in the format: `property[,ASC|DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters.
}
begin
#Categories
result = api_instance.get_vulnerability_categories(opts)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_vulnerability_categories: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
page | Integer | The index of the page (zero-based) to retrieve. | [optional] [default to 0] |
size | Integer | The number of records per page to retrieve. | [optional] [default to 10] |
sort | Array<String> | The criteria to sort the records by, in the format: `property[,ASC | DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters. |
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
VulnerabilityCategory get_vulnerability_category(id)
Category
Returns the details for a vulnerability category.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
id = 56 # Integer | The identifier of the vulnerability category.
begin
#Category
result = api_instance.get_vulnerability_category(id)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_vulnerability_category: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | The identifier of the vulnerability category. |
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
ReferencesWithVulnerabilityNaturalIDLink get_vulnerability_category_vulnerabilities(id)
Category Vulnerabilities
Returns hypermedia links to the vulnerabilities that are in a vulnerability category.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
id = 56 # Integer | The identifier of the vulnerability category.
begin
#Category Vulnerabilities
result = api_instance.get_vulnerability_category_vulnerabilities(id)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_vulnerability_category_vulnerabilities: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | The identifier of the vulnerability category. |
ReferencesWithVulnerabilityNaturalIDLink
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
PageOfExploit get_vulnerability_exploits(id, opts)
Vulnerability Exploits
Returns the exploits that can be used to exploit a vulnerability.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
id = 'id_example' # String | The identifier of the vulnerability.
opts = {
page: 0, # Integer | The index of the page (zero-based) to retrieve.
size: 10, # Integer | The number of records per page to retrieve.
sort: ['sort_example'] # Array<String> | The criteria to sort the records by, in the format: `property[,ASC|DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters.
}
begin
#Vulnerability Exploits
result = api_instance.get_vulnerability_exploits(id, opts)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_vulnerability_exploits: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | String | The identifier of the vulnerability. | |
page | Integer | The index of the page (zero-based) to retrieve. | [optional] [default to 0] |
size | Integer | The number of records per page to retrieve. | [optional] [default to 10] |
sort | Array<String> | The criteria to sort the records by, in the format: `property[,ASC | DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters. |
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
PageOfMalwareKit get_vulnerability_malware_kits(id, opts)
Vulnerability Malware Kits
Returns the malware kits that are known to be used to exploit the vulnerability.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
id = 'id_example' # String | The identifier of the vulnerability.
opts = {
page: 0, # Integer | The index of the page (zero-based) to retrieve.
size: 10, # Integer | The number of records per page to retrieve.
sort: ['sort_example'] # Array<String> | The criteria to sort the records by, in the format: `property[,ASC|DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters.
}
begin
#Vulnerability Malware Kits
result = api_instance.get_vulnerability_malware_kits(id, opts)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_vulnerability_malware_kits: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | String | The identifier of the vulnerability. | |
page | Integer | The index of the page (zero-based) to retrieve. | [optional] [default to 0] |
size | Integer | The number of records per page to retrieve. | [optional] [default to 10] |
sort | Array<String> | The criteria to sort the records by, in the format: `property[,ASC | DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters. |
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
VulnerabilityReference get_vulnerability_reference(id)
Reference
Returns an external vulnerability reference.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
id = 56 # Integer | The identifier of the vulnerability reference.
begin
#Reference
result = api_instance.get_vulnerability_reference(id)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_vulnerability_reference: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | The identifier of the vulnerability reference. |
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
PageOfVulnerability get_vulnerability_reference_vulnerabilities(id, opts)
Reference Vulnerabilities
Returns the vulnerabilities that are referenced by an external reference.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
id = 56 # Integer | id
opts = {
page: 0, # Integer | The index of the page (zero-based) to retrieve.
size: 10, # Integer | The number of records per page to retrieve.
sort: ['sort_example'] # Array<String> | The criteria to sort the records by, in the format: `property[,ASC|DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters.
}
begin
#Reference Vulnerabilities
result = api_instance.get_vulnerability_reference_vulnerabilities(id, opts)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_vulnerability_reference_vulnerabilities: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | id | |
page | Integer | The index of the page (zero-based) to retrieve. | [optional] [default to 0] |
size | Integer | The number of records per page to retrieve. | [optional] [default to 10] |
sort | Array<String> | The criteria to sort the records by, in the format: `property[,ASC | DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters. |
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
PageOfVulnerabilityReference get_vulnerability_references(opts)
References
Returns the external references that may be associated to a vulnerability.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
opts = {
page: 0, # Integer | The index of the page (zero-based) to retrieve.
size: 10, # Integer | The number of records per page to retrieve.
sort: ['sort_example'] # Array<String> | The criteria to sort the records by, in the format: `property[,ASC|DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters.
}
begin
#References
result = api_instance.get_vulnerability_references(opts)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_vulnerability_references: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
page | Integer | The index of the page (zero-based) to retrieve. | [optional] [default to 0] |
size | Integer | The number of records per page to retrieve. | [optional] [default to 10] |
sort | Array<String> | The criteria to sort the records by, in the format: `property[,ASC | DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters. |
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
PageOfVulnerabilityReference get_vulnerability_references1(id, opts)
Vulnerability References
Returns the external references that may be associated to a vulnerability.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
id = 'id_example' # String | The identifier of the vulnerability.
opts = {
page: 0, # Integer | The index of the page (zero-based) to retrieve.
size: 10, # Integer | The number of records per page to retrieve.
sort: ['sort_example'] # Array<String> | The criteria to sort the records by, in the format: `property[,ASC|DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters.
}
begin
#Vulnerability References
result = api_instance.get_vulnerability_references1(id, opts)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_vulnerability_references1: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | String | The identifier of the vulnerability. | |
page | Integer | The index of the page (zero-based) to retrieve. | [optional] [default to 0] |
size | Integer | The number of records per page to retrieve. | [optional] [default to 10] |
sort | Array<String> | The criteria to sort the records by, in the format: `property[,ASC | DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters. |
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
ReferencesWithSolutionNaturalIDLink get_vulnerability_solutions(id)
Vulnerability Solutions
Returns all solutions (across all platforms) that may be used to remediate this vulnerability.
# load the gem
require 'rapid7_vm_console'
api_instance = Rapid7VmConsole::VulnerabilityApi.new
id = 'id_example' # String | The identifier of the vulnerability.
begin
#Vulnerability Solutions
result = api_instance.get_vulnerability_solutions(id)
p result
rescue Rapid7VmConsole::ApiError => e
puts "Exception when calling VulnerabilityApi->get_vulnerability_solutions: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | String | The identifier of the vulnerability. |
ReferencesWithSolutionNaturalIDLink
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8