Skip to content

Commit 5e9e9d3

Browse files
authored
chore: User simulation in workflow
1 parent b8a1a30 commit 5e9e9d3

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,13 @@ jobs:
4848
run: Get-WinEvent -ListLog Microsoft-Windows-Sysmon*
4949

5050
- name: Install some Choco Packages
51-
run: choco install ninja adobereader googlechrome firefox jre8 notepadplusplus.install vlc python3 dotnetfx openssh winrar nodejs.install foxitreader autohotkey.portable putty.install skype ccleaner winlogbeat gimp
51+
run: choco install ninja adobereader googlechrome firefox python3
52+
53+
- name: Download User Sim
54+
run: git clone https://github.com/humpalum/sim-user.git
55+
56+
- name: Run User Sim
57+
run: sim-user\5minuser.exe
5258

5359
- name: Check Eventcount
5460
run: '$EventCount = 0 ;Get-WinEvent -ListLog Microsoft-Windows-Sysmon* | where {$_.RecordCount -gt 0} | foreach{$_;$EventCount = $EventCount + $_.RecordCount}|Out-Null;"Eventcount: "+$EventCount; if ($EventCount -gt 10000){ Write-Output "Too many events"; $host.SetShouldExit(1)}'

0 commit comments

Comments
 (0)