Merge pull request #1860 from RichieB2B/ncsc-nl/brobesitas

Truncate bro cached export files
pull/1858/merge
Alexandre Dulaunoy 2017-01-23 13:59:24 +01:00 committed by GitHub
commit 44152d1998
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) {