mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fixes missing blacklist (#8841)
This commit is contained in:
parent
dc4e2d1895
commit
0ebe2b9e88
5 changed files with 22 additions and 159 deletions
|
|
@ -382,7 +382,7 @@ end
|
|||
|
||||
-- #################################
|
||||
|
||||
function alert_utils.formatFlowAlertMessage(ifid, alert, alert_json, add_score, local_explorer)
|
||||
function alert_utils.formatFlowAlertMessage(ifid, alert, alert_json, add_score, local_explorer, exclude_remediation_link)
|
||||
local msg
|
||||
local alert_risk
|
||||
|
||||
|
|
@ -432,7 +432,7 @@ function alert_utils.formatFlowAlertMessage(ifid, alert, alert_json, add_score,
|
|||
end
|
||||
|
||||
-- Add the link to the documentation
|
||||
if alert_risk and alert_risk > 0 then
|
||||
if alert_risk and alert_risk > 0 and not exclude_remediation_link then
|
||||
msg = string.format("%s %s",
|
||||
msg, flow_risk_utils.get_remediation_documentation_link(alert_risk, alert_src))
|
||||
local info_msg = alert_utils.get_flow_risk_info(alert_risk, alert_json)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue