Skip to content

Commit 9578d77

Browse files
committed
fix: remove tenant from displayed location info
1 parent e1f0ee5 commit 9578d77

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
@@ -107,7 +107,7 @@ function Test-CIPPAuditLogRules {
107107
}
108108
if (!$Trusted) {
109109
$CacheLookupStartTime = Get-Date
110-
$Location = Get-CIPPAzDataTableEntity @LocationTable -Filter "RowKey eq '$($Data.clientIp)'" | Select-Object -Last 1
110+
$Location = Get-CIPPAzDataTableEntity @LocationTable -Filter "RowKey eq '$($Data.clientIp)'" | Select-Object -Last 1 -ExcludeProperty Tenant
111111
$CacheLookupEndTime = Get-Date
112112
$CacheLookupSeconds = ($CacheLookupEndTime - $CacheLookupStartTime).TotalSeconds
113113
Write-Warning "Cache lookup for IP $($Data.clientip) took $CacheLookupSeconds seconds"

0 commit comments

Comments
 (0)