fix: [restSearch] Fixed return format for STIX formats

pull/3766/head
chrisr3d 2018-10-05 09:27:55 +02:00
parent 396f5902b4
commit 44989cfa90
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 2 additions and 2 deletions

View File

@ -161,8 +161,8 @@ class Event extends AppModel
'rpz' => array('rpz', 'RPZExport', 'rpz'),
'text' => array('text', 'TextExport', 'txt'),
'csv' => array('csv', 'CsvExport', 'csv'),
'stix' => array('stix', 'Stix1Export', 'xml'),
'stix2' => array('stix2', 'Stix2Export', 'json')
'stix' => array('xml', 'Stix1Export', 'xml'),
'stix2' => array('json', 'Stix2Export', 'json')
);
public $csv_event_context_fields_to_fetch = array(