mirror of https://github.com/MISP/MISP
fix: Changed bro cached export to the .intel extension
parent
b29ee07a6c
commit
c14869a35b
|
@ -342,9 +342,9 @@ class EventShell extends AppShell
|
|||
$typeCount = count($types);
|
||||
$dir = new Folder(APP . DS . '/tmp/cached_exports/bro', true, 0750);
|
||||
if ($user['Role']['perm_site_admin']) {
|
||||
$file = new File($dir->pwd() . DS . 'misp.bro.ADMIN.txt');
|
||||
$file = new File($dir->pwd() . DS . 'misp.bro.ADMIN.intel');
|
||||
} else {
|
||||
$file = new File($dir->pwd() . DS . 'misp.bro.' . $user['Organisation']['name'] . '.txt');
|
||||
$file = new File($dir->pwd() . DS . 'misp.bro.' . $user['Organisation']['name'] . '.intel');
|
||||
}
|
||||
|
||||
foreach ($types as $k => $type) {
|
||||
|
|
|
@ -99,7 +99,7 @@ class Event extends AppModel {
|
|||
'description' => 'Click this to download all network related attributes that you have access to under the Snort rule format. Only published events and attributes marked as IDS Signature are exported. Administration is able to maintain a whitelist containing host, domain name and IP numbers to exclude from the NIDS export.',
|
||||
),
|
||||
'bro' => array(
|
||||
'extension' => '.txt',
|
||||
'extension' => '.intel',
|
||||
'type' => 'Bro',
|
||||
'requiresPublished' => 1,
|
||||
'canHaveAttachments' => false,
|
||||
|
|
Loading…
Reference in New Issue