We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c5d8b9 commit b13e376Copy full SHA for b13e376
Modules/CIPPCore/Public/Webhooks/Test-CIPPAuditLogRules.ps1
@@ -195,7 +195,7 @@ function Test-CIPPAuditLogRules {
195
$CIPPClause = [System.Collections.Generic.List[string]]::new()
196
$AddedLocationCondition = $false
197
foreach ($condition in $conditions) {
198
- if ($condition.Property.value -eq 'CIPPGeoLocation' -and !$AddedLocationCondition) {
+ if ($condition.Property.label -eq 'CIPPGeoLocation' -and !$AddedLocationCondition) {
199
$conditionsString.Add("`$_.HasLocationData -eq `$true")
200
$CIPPClause.Add('HasLocationData is true')
201
$AddedLocationCondition = $true
0 commit comments