Added Service Down check to Scan Alert (#9066)

This commit is contained in:
Manuel Ceroni 2025-03-21 16:55:29 +01:00 committed by GitHub
parent 757fabf8c1
commit fe0975ba2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 46 additions and 0 deletions

View file

@ -61,6 +61,13 @@ function host_alert_scan.format(ifid, alert, alert_type_params)
num_victims = alert_type_params.num_victims,
attack = alert_type_params.attack
})
elseif alert_type_params.attack == "Service Down" then
return i18n("alert_messages.host_alert_scan_servic_down", {
attacker = attacker,
victim = victim,
num_victims = alert_type_params.num_victims,
attack = alert_type_params.attack
})
elseif alert_type_params.attack == "Network" then
return i18n("alert_messages.host_alert_scan_network", {
attacker = attacker,