Depending on your setup, you may already be able to utilise MFA via RADIUS authentication, for example syncing users into NetXMS via LDAP with RADIUS auth against an NPS server which talks to AzureAD for MFA.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuSubAgent=wineventsync.nsm
[WinEventSync]
EventLog=Application
EventLog=Security
EventLog=System
[WinEventSync/Security]
IncludeEvent=4624-4625
IncludeEvent=4800-4803
...
ExcludeEvent=0-65535
[WinEventSync/System]
IncludeSource=Microsoft-Windows-WindowsUpdateClient
...
ExcludeSource=*
dci=FindDCIByName($node,"TotalCount");
cur=GetDCIValue($node,dci);
if (cur == null ) cur=0;
PushDCIData($node,dci,cur+$1);
return $1;
ExternalParametersProvider=powershell.exe -executionpolicy bypass -c "C:\NetXMS\script\ReturnInfo.ps1":1800
ExternalParameter=Custom.Script:powershell -Command "& {Get-ChildItem 'path' | Where { $$_.PSIsContainer } | Sort CreationTime | Select -First 1 | Foreach-Object {$$dtdiff = (New-TimeSpan ($$_.LastWriteTime) $$(Get-Date))}; write-host $$dtdiff.days}"