Added event distribution to alert e-mail, fixes #127

pull/304/merge
iglocska 2014-08-21 17:04:02 +02:00
parent be00fbebff
commit d118a22b53
1 changed files with 1 additions and 0 deletions

View File

@ -1106,6 +1106,7 @@ class Event extends AppModel {
if ('true' == Configure::read('MISP.showorg')) {
$body .= 'Reported by : ' . $event['Event']['org'] . "\n";
}
$body .= 'Distribution: ' . $this->distributionLevels[$event['Event']['distribution']] . "\n";
$body .= 'Threat Level: ' . $event['ThreatLevel']['name'] . "\n";
$body .= 'Analysis : ' . $this->analysisLevels[$event['Event']['analysis']] . "\n";
$body .= 'Description : ' . $event['Event']['info'] . "\n\n";