Adds traces for (string expected, got light userdata) exceptions

This commit is contained in:
Simone Mainardi 2021-10-07 10:48:09 +02:00
parent 48be233fea
commit 886537299c
2 changed files with 11 additions and 3 deletions

View file

@ -49,8 +49,6 @@ function alert_lateral_movement.format(ifid, alert, alert_type_params)
vlan_id = alert["vlan_id"]
}
if alert.json then
info = json.decode(alert["json"])
if not isEmptyString(info["info"]) then