mirror of https://github.com/MISP/MISP
Merge pull request #1860 from RichieB2B/ncsc-nl/brobesitas
Truncate bro cached export filespull/1858/merge
commit
44152d1998
|
@ -347,6 +347,7 @@ class EventShell extends AppShell
|
|||
$file = new File($dir->pwd() . DS . 'misp.bro.' . $user['Organisation']['name'] . '.intel');
|
||||
}
|
||||
|
||||
$file->write('');
|
||||
foreach ($types as $k => $type) {
|
||||
$final = $this->Attribute->bro($user, $type);
|
||||
foreach ($final as $attribute) {
|
||||
|
|
Loading…
Reference in New Issue