Public/Get-bConnectSoftwareScanRule.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Function Get-bConnectSoftwareScanRule() {
    <#
        .Synopsis
            Get all software scan rules.
        .Outputs
            SoftwareScanRule (see bConnect documentation for more details).
    #>


    $_connectVersion = Get-bConnectVersion
    If($_connectVersion -ge "1.0") {

        return Invoke-bConnectGet -Controller "SoftwareScanRules" -Version $_connectVersion -Data $_body
    } else {
        return $false
    }
}