We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7db8767 commit 5197e8aCopy full SHA for 5197e8a
1 file changed
Modules/CIPPCore/Public/Entrypoints/Activity Triggers/Webhooks/Push-AuditLogTenant.ps1
@@ -36,7 +36,7 @@ function Push-AuditLogTenant {
36
$Configuration = $ConfigEntries | Where-Object { ($_.Tenants -match $TenantFilter -or $_.Tenants -match 'AllTenants') }
37
if ($Configuration) {
38
try {
39
- $LogSearches = Get-CippAuditLogSearches -TenantFilter $TenantFilter -ReadyToProcess
+ $LogSearches = Get-CippAuditLogSearches -TenantFilter $TenantFilter -ReadyToProcess | Select-Object -First 20
40
Write-Information ('Audit Logs: Found {0} searches, begin processing' -f $LogSearches.Count)
41
foreach ($Search in $LogSearches) {
42
$SearchEntity = Get-CIPPAzDataTableEntity @LogSearchesTable -Filter "Tenant eq '$($TenantFilter)' and RowKey eq '$($Search.id)'"
0 commit comments