From 41600f93c010ece3fc6f56bbdf975abf49562f88 Mon Sep 17 00:00:00 2001 From: Przemyslaw Klys Date: Fri, 14 Jun 2024 10:55:57 +0200 Subject: [PATCH] Small improvement --- Public/Get-QualysHostDetection.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Public/Get-QualysHostDetection.ps1 b/Public/Get-QualysHostDetection.ps1 index a9ce2af..54ada0e 100644 --- a/Public/Get-QualysHostDetection.ps1 +++ b/Public/Get-QualysHostDetection.ps1 @@ -10,7 +10,7 @@ [ValidateSet('Confirmed', 'Potential')][string] $IncludeVulnerabilityType, [switch] $ShowAssetId, [string] $OSPattern, - [alias('Qids')][string] $QID, + [alias('Qids')][string[]] $QID, [string] $Severities, [switch] $ShowIgs ) @@ -61,7 +61,7 @@ $invokeQualysQuerySplat.Body['os_pattern'] = $OSPattern } if ($QID) { - $invokeQualysQuerySplat.Body['qids'] = $QID + $invokeQualysQuerySplat.Body['qids'] = $QID -join "," } if ($Severities) { $invokeQualysQuerySplat.Body['severities'] = $Severities