mirror of https://github.com/MISP/MISP
chg: [default] old default 'TLP Amber' is now 'tlp:amber' to be consistent and use MISP taxonomy naming
parent
be86cbed5d
commit
983a58afba
|
@ -17,7 +17,7 @@ $config = array(
|
|||
'org' => 'ORGNAME',
|
||||
'showorg' => true,
|
||||
'threatlevel_in_email_subject' => true,
|
||||
'email_subject_TLP_string' => 'TLP Amber',
|
||||
'email_subject_TLP_string' => 'tlp:amber',
|
||||
'email_subject_tag' => 'tlp',
|
||||
'email_subject_include_tag_name' => true,
|
||||
'background_jobs' => true,
|
||||
|
|
|
@ -3173,7 +3173,7 @@ class Event extends AppModel
|
|||
$bodyevent = $temp[0];
|
||||
$body = $temp[1];
|
||||
$result = true;
|
||||
$tplColorString = !empty(Configure::read('MISP.email_subject_TLP_string')) ? Configure::read('MISP.email_subject_TLP_string') : "TLP Amber";
|
||||
$tplColorString = !empty(Configure::read('MISP.email_subject_TLP_string')) ? Configure::read('MISP.email_subject_TLP_string') : "tlp:amber";
|
||||
$subject = "[" . Configure::read('MISP.org') . " MISP] Need info about event " . $id . " - ".$tplColorString;
|
||||
$result = $this->User->sendEmail($reporter, $bodyevent, $body, $subject, $user) && $result;
|
||||
}
|
||||
|
|
|
@ -118,7 +118,7 @@ class Post extends AppModel
|
|||
$bodyDetail .= "The following message was added: \n";
|
||||
$bodyDetail .= "\n";
|
||||
$bodyDetail .= $message . "\n";
|
||||
$tplColorString = !empty(Configure::read('MISP.email_subject_TLP_string')) ? Configure::read('MISP.email_subject_TLP_string') : "TLP Amber";
|
||||
$tplColorString = !empty(Configure::read('MISP.email_subject_TLP_string')) ? Configure::read('MISP.email_subject_TLP_string') : "tlp:amber";
|
||||
$subject = "[" . Configure::read('MISP.org') . " MISP] New post in discussion " . $post['Post']['thread_id'] . " - ".$tplColorString;
|
||||
foreach ($orgMembers as $recipient) {
|
||||
$this->User->sendEmail($recipient, $bodyDetail, $body, $subject);
|
||||
|
|
|
@ -430,7 +430,7 @@ class Server extends AppModel
|
|||
'email_subject_TLP_string' => array(
|
||||
'level' => 2,
|
||||
'description' => __('This is the TLP string for e-mails when email_subject_tag is not found.'),
|
||||
'value' => 'TLP Amber',
|
||||
'value' => 'tlp:amber',
|
||||
'errorMessage' => '',
|
||||
'test' => 'testForEmpty',
|
||||
'type' => 'string',
|
||||
|
|
Loading…
Reference in New Issue