Added severity to ntopng checks table

This commit is contained in:
MatteoBiscosi 2022-10-20 10:34:23 +02:00
parent 933e8339ec
commit eda4cfb088
48 changed files with 406 additions and 340 deletions

View file

@ -572,8 +572,7 @@ function alerts_api.checkThresholdAlert(params, alert_type, value, attacker, vic
threshold
)
alert:set_score_error()
alert:set_granularity(params.granularity)
alert:set_info(params)
alert:set_subtype(script.key)
if attacker ~= nil then