Skip to content

Commit e96cc95

Browse files
committed
Update Test-CIPPAuditLogRules.ps1
1 parent 581ea51 commit e96cc95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/Webhooks/Test-CIPPAuditLogRules.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function Test-CIPPAuditLogRules {
162162
$HasLocationData = $true
163163
}
164164
}
165-
$Data.AuditRecord = $AuditRecord
165+
$Data.AuditRecord = $RootProperties
166166
$Data | Select-Object *,
167167
@{n = 'HasLocationData'; exp = { $HasLocationData } } -ExcludeProperty ExtendedProperties, DeviceProperties, parameters
168168
} catch {

0 commit comments

Comments
 (0)