mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
#11051 Fix discovery task notification
This commit is contained in:
parent
4191a7037f
commit
e41ea004e2
@ -1059,7 +1059,7 @@ function notification_filter()
|
|||||||
$type_name = 'ALLOW OVERRIDE';
|
$type_name = 'ALLOW OVERRIDE';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case '':
|
case 'DISCOVERYTASK':
|
||||||
$type_name = 'DISCOVERY TASK';
|
$type_name = 'DISCOVERY TASK';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -2058,6 +2058,8 @@ sub PandoraFMS::Recon::Base::report_scanned_agents($;$) {
|
|||||||
'index.php?sec=gservers&sec2=godmode/servers/discovery&wiz=tasklist#'
|
'index.php?sec=gservers&sec2=godmode/servers/discovery&wiz=tasklist#'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$notification->{'subtype'} .= safe_input('NOTIF.DISCOVERYTASK.REVIEW');
|
||||||
|
|
||||||
$notification->{'mensaje'} = safe_input(
|
$notification->{'mensaje'} = safe_input(
|
||||||
'Discovery task (host&devices) \''.safe_output($self->{'task_data'}{'name'})
|
'Discovery task (host&devices) \''.safe_output($self->{'task_data'}{'name'})
|
||||||
.'\' has been completed. Please review the results.'
|
.'\' has been completed. Please review the results.'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user