mirror of https://github.com/MISP/MISP
chg: [Model] swapped openioc and json so that json is selected by default
parent
c48afbccb1
commit
695b71c555
|
@ -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'),
|
||||
|
|
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue