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