mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fixed webhook error indexing json field (#8786)
This commit is contained in:
parent
f978581261
commit
c40baa8b22
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ local function formatAlertMsg(alert)
|
|||
if json_decoded and json_decoded.flow_risk_info then
|
||||
json_decoded.flow_risk_info = json.decode(json_decoded.flow_risk_info)
|
||||
end
|
||||
if json_decoded and json_decoded.alert_generation.flow_risk_info then
|
||||
if json_decoded and json_decoded.alert_generation and json_decoded.alert_generation.flow_risk_info then
|
||||
json_decoded.alert_generation.flow_risk_info = json.decode(json_decoded.alert_generation.flow_risk_info)
|
||||
end
|
||||
decoded_alert.json = json_decoded
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue