chg: [Model] swapped openioc and json so that json is selected by default

pull/3955/head
mokaddem 2018-11-07 11:39:39 +01:00
parent c48afbccb1
commit 695b71c555
2 changed files with 2 additions and 2 deletions

View File

@ -118,8 +118,8 @@ class Attribute extends AppModel
);
public $validFormats = array(
'openioc' => array('xml', 'OpeniocExport', 'ioc'),
'json' => array('json', 'JsonExport', 'json'),
'openioc' => array('xml', 'OpeniocExport', 'ioc'),
'xml' => array('xml', 'XmlExport', 'xml'),
'suricata' => array('txt', 'NidsSuricataExport', 'rules'),
'snort' => array('txt', 'NidsSnortExport', 'rules'),

View File

@ -150,8 +150,8 @@ class Event extends AppModel
);
public $validFormats = array(
'openioc' => array('xml', 'OpeniocExport', 'ioc'),
'json' => array('json', 'JsonExport', 'json'),
'openioc' => array('xml', 'OpeniocExport', 'ioc'),
'xml' => array('xml', 'XmlExport', 'xml'),
'suricata' => array('txt', 'NidsSuricataExport', 'rules'),
'snort' => array('txt', 'NidsSnortExport', 'rules'),