#11051 Fix discovery task notification

This commit is contained in:
miguel angel rasteu 2023-08-21 13:11:57 +02:00
parent 4191a7037f
commit e41ea004e2
2 changed files with 3 additions and 1 deletions

View File

@ -1059,7 +1059,7 @@ function notification_filter()
$type_name = 'ALLOW OVERRIDE';
break;
case '':
case 'DISCOVERYTASK':
$type_name = 'DISCOVERY TASK';
break;

View File

@ -2058,6 +2058,8 @@ sub PandoraFMS::Recon::Base::report_scanned_agents($;$) {
'index.php?sec=gservers&sec2=godmode/servers/discovery&wiz=tasklist#'
);
$notification->{'subtype'} .= safe_input('NOTIF.DISCOVERYTASK.REVIEW');
$notification->{'mensaje'} = safe_input(
'Discovery task (host&devices) \''.safe_output($self->{'task_data'}{'name'})
.'\' has been completed. Please review the results.'