Fixes and updates for score and severity

This commit is contained in:
Simone Mainardi 2021-05-05 10:34:39 +02:00
parent bbe6a3de37
commit 602ea765e2
5 changed files with 45 additions and 45 deletions

View file

@ -646,7 +646,7 @@ function alerts_api.checkThresholdAlert(params, alert_type, value, attacker, vic
threshold
)
alert:set_score(threshold_config.score)
alert:set_score(100)
alert:set_granularity(params.granularity)
alert:set_subtype(script.key)