Skip to content

Commit

Permalink
Small improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
PrzemyslawKlys committed Jun 14, 2024
1 parent 318a355 commit 41600f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Public/Get-QualysHostDetection.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 41600f9

Please sign in to comment.