Merge pull request #9613 from JakubOnderka/alert-email-title

chg: [internal] Add title to alert template
pull/7976/merge
Jakub Onderka 2024-03-12 10:17:06 +01:00 committed by GitHub
commit 0f32956aa4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -3282,6 +3282,7 @@ class Event extends AppModel
$template->set('distributionLevels', $this->distributionLevels);
$template->set('analysisLevels', $this->analysisLevels);
$template->set('tlp', $subjMarkingString);
$template->set('title', Configure::read('MISP.title_text'));
$template->subject($subject);
$template->referenceId("event-alert|{$event['Event']['id']}");

View File

@ -5400,6 +5400,13 @@ class Server extends AppModel
'test' => 'testForEmpty',
'type' => 'string',
],
'email_reply_to' => [
'level' => 2,
'description' => __('Reply to e-mail address for e-mails send from MISP instance.'),
'value' => '',
'test' => 'testForEmpty',
'type' => 'string',
],
'taxii_sync' => array(
'level' => 3,
'description' => __('This setting is deprecated and can be safely removed.'),