You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Audit record in the Windows event log: every Write-IamLog line also goes to the Application log (source IamAutomation; ID 1000 information, 2000 warning, 3000 error), with the Windows account and computer. A user cannot edit or delete single events, unlike output\iam-automation.log. Without the source registered, scripts log to the file only and warn once per run. Linux and macOS: file only.
Setup/Register-IamEventSource.ps1: registers the source once per machine (admin), or removes it with -Remove.
Test-IamEventSource: whether the source is registered. It never registers it.
Tested in the lab
Before registering: file only, one warning per run. After registering: every line as an event with the Windows account and computer, written by a normal user. wevtutil cl Application as that user: Access is denied.