Truncate bro cached export files

pull/1860/head
Richard van den Berg 2017-01-23 13:32:06 +01:00
parent 8c63e6f3d5
commit b7c8ea0ff5
1 changed files with 1 additions and 0 deletions

View File

@ -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) {