mirror of https://github.com/MISP/MISP
Merge branch '2.4' of https://github.com/MISP/MISP into 2.4
commit
52bf961dea
|
@ -901,7 +901,7 @@ class EventsController extends AppController {
|
|||
$this->Event->recursive = -1;
|
||||
$temp = $this->Event->find('first', array(
|
||||
'recursive' => -1,
|
||||
'conditons' => array('Event.uuid' => $id),
|
||||
'conditions' => array('Event.uuid' => $id),
|
||||
'fields' => array('Event.id', 'Event.uuid')
|
||||
));
|
||||
if ($temp == null) throw new NotFoundException('Invalid event');
|
||||
|
|
|
@ -136,6 +136,7 @@ class NidsSuricataExport extends NidsExport {
|
|||
$content = 'flow:to_server; app-layer-protocol:tls;';
|
||||
}
|
||||
# Domain: rule on https certificate subject
|
||||
/*
|
||||
else {
|
||||
$suricata_protocol = 'tls';
|
||||
$suricata_src_ip = '$EXTERNAL_NET';
|
||||
|
@ -144,6 +145,7 @@ class NidsSuricataExport extends NidsExport {
|
|||
$suricata_dst_port = 'any';
|
||||
$content = 'tls_cert_subject; content:"' . $data['host'] . '"; nocase; pcre:"/' . $data['host'] . '$/";';
|
||||
}
|
||||
*/
|
||||
break;
|
||||
|
||||
case "ssh":
|
||||
|
|
Loading…
Reference in New Issue