public/Get-NexposeVulnerabilityItemSolution.ps1
Function Get-NexposeVulnerabilityItemSolution { <# .SYNOPSIS Returns all solutions (across all platforms) that may be used to remediate this vulnerability .DESCRIPTION Returns all solutions (across all platforms) that may be used to remediate this vulnerability .PARAMETER Id The identifier of the vulnerability .EXAMPLE Get-NexposeVulnerabilityItemSolution -Id '7-zip-cve-2008-6536' .NOTES For additional information please see my GitHub wiki page .FUNCTIONALITY GET: vulnerabilities/{id}/solutions .LINK https://github.com/My-Random-Thoughts/Rapid7Nexpose #> Param ( [Parameter(Mandatory = $true)] [string]$Id ) Write-Output @(Invoke-NexposeQuery -UrlFunction "vulnerabilities/$Id/solutions" -RestMethod Get) } |