Harmonizes remaining hardcoded Lua scores

This commit is contained in:
Simone Mainardi 2021-05-15 11:00:20 +02:00
parent 38b47d5aa8
commit ccb61a7444
13 changed files with 21 additions and 21 deletions

View file

@ -590,7 +590,7 @@ function alerts_api.handlerPeerBehaviour(params, stats, tot_anomalies, host_ip,
if threshold and tot_anomalies and tot_anomalies > threshold then
alert_unexpected_behaviour:set_score_error()
else
alert_unexpected_behaviour:set_score(50)
alert_unexpected_behaviour:set_score_warning()
end
alert_unexpected_behaviour:set_granularity(params.granularity)