Logging user login via alerts, added 'user activity' alerts type

This commit is contained in:
Alfredo Cardigliano 2018-12-04 20:55:21 +01:00
parent 51af9ea40c
commit aab9e384ed
6 changed files with 69 additions and 2 deletions

View file

@ -51,6 +51,8 @@ local function formatAlertRecord(alert_entity, record)
if alert_entity == "flow" then
column_msg = formatRawFlow(record, record["alert_json"])
elseif alert_entity == "User" then
column_msg = formatRawUserActivity(record, record["alert_json"])
end
column_msg = string.gsub(column_msg, '"', "'")