We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b98675 commit fdb5396Copy full SHA for fdb5396
1 file changed
.github/workflows/main.yml
@@ -25,3 +25,7 @@ jobs:
25
- name: Run Sysmon
26
run: .\sysmon.exe -accepteula -i sysmonconfig-export.xml
27
shell: powershell
28
+
29
+ - name: Check Eventcount
30
+ run: '$EventCount = 0 ;Get-WinEvent -ListLog * | where {$_.RecordCount -gt 0} | foreach{$_;$EventCount = $EventCount + $_.RecordCount}|Out-Null;"Eventcount: "+$EventCount; if ($EventCount -gt 56000){ Write-Output "Too many events"; $host.SetShouldExit(1)}'
31
+ shell: powershell
0 commit comments