Skip to content

v1.7.0

Choose a tag to compare

@Hawkode Hawkode released this 27 Nov 16:49
· 49 commits to main since this release

Added

  • 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.