mirror of https://github.com/MISP/MISP
Merge branch '2.4' of github.com:MISP/MISP into 2.4
commit
86a0ebb217
|
@ -27,4 +27,6 @@
|
||||||
[submodule "misp-vagrant"]
|
[submodule "misp-vagrant"]
|
||||||
path = misp-vagrant
|
path = misp-vagrant
|
||||||
url = https://github.com/MISP/misp-vagrant.git
|
url = https://github.com/MISP/misp-vagrant.git
|
||||||
|
[submodule "cti-python-stix2"]
|
||||||
|
path = cti-python-stix2
|
||||||
|
url = https://github.com/oasis-open/cti-python-stix2
|
||||||
|
|
|
@ -1415,7 +1415,7 @@ class Server extends AppModel {
|
||||||
),
|
),
|
||||||
'Export_services_enable' => array(
|
'Export_services_enable' => array(
|
||||||
'level' => 0,
|
'level' => 0,
|
||||||
'description' => 'Enable/disable the import services',
|
'description' => 'Enable/disable the export services',
|
||||||
'value' => false,
|
'value' => false,
|
||||||
'errorMessage' => '',
|
'errorMessage' => '',
|
||||||
'test' => 'testBool',
|
'test' => 'testBool',
|
||||||
|
@ -1423,7 +1423,7 @@ class Server extends AppModel {
|
||||||
),
|
),
|
||||||
'Export_timeout' => array(
|
'Export_timeout' => array(
|
||||||
'level' => 1,
|
'level' => 1,
|
||||||
'description' => 'Set a timeout for the import services',
|
'description' => 'Set a timeout for the export services',
|
||||||
'value' => 10,
|
'value' => 10,
|
||||||
'errorMessage' => '',
|
'errorMessage' => '',
|
||||||
'test' => 'testForEmpty',
|
'test' => 'testForEmpty',
|
||||||
|
|
|
@ -170,7 +170,7 @@ foreach ($feeds as $item):
|
||||||
if ($item['Feed']['enabled']) echo $this->Html->link('', array('action' => 'fetchFromFeed', $item['Feed']['id']), array('class' => 'icon-download', 'title' => 'Fetch all events'));
|
if ($item['Feed']['enabled']) echo $this->Html->link('', array('action' => 'fetchFromFeed', $item['Feed']['id']), array('class' => 'icon-download', 'title' => 'Fetch all events'));
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<a href="<?php echo $baseurl;?>/feeds/edit/<?php echo h($item['Feed']['id']); ?>"><span class="icon-edit" title="edit"> </span></a>
|
<a href="<?php echo $baseurl;?>/feeds/edit/<?php echo h($item['Feed']['id']); ?>"><span class="icon-edit" title="Edit"> </span></a>
|
||||||
<?php echo $this->Form->postLink('', array('action' => 'delete', h($item['Feed']['id'])), array('class' => 'icon-trash', 'title' => 'Delete'), __('Are you sure you want to permanently remove the feed (%s)?', h($item['Feed']['name']))); ?>
|
<?php echo $this->Form->postLink('', array('action' => 'delete', h($item['Feed']['id'])), array('class' => 'icon-trash', 'title' => 'Delete'), __('Are you sure you want to permanently remove the feed (%s)?', h($item['Feed']['name']))); ?>
|
||||||
<a href="<?php echo $baseurl;?>/feeds/view/<?php echo h($item['Feed']['id']); ?>.json" title="Download feed metadata as JSON" download><span class="fa fa-cloud-download black"></span></a>
|
<a href="<?php echo $baseurl;?>/feeds/view/<?php echo h($item['Feed']['id']); ?>.json" title="Download feed metadata as JSON" download><span class="fa fa-cloud-download black"></span></a>
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
<th class="filter">Tags</th>
|
<th class="filter">Tags</th>
|
||||||
<th class="filter"><?php echo $this->Paginator->sort('date');?></th>
|
<th class="filter"><?php echo $this->Paginator->sort('date');?></th>
|
||||||
<th class="filter" title="<?php echo $eventDescriptions['threat_level_id']['desc'];?>"><?php echo $this->Paginator->sort('threat_level_id');?></th>
|
<th class="filter" title="<?php echo $eventDescriptions['threat_level_id']['desc'];?>"><?php echo $this->Paginator->sort('threat_level_id');?></th>
|
||||||
<th title="<?php echo $eventDescriptions['analysis']['desc'];?>"><?php echo $this->Paginator->sort('analysis');?></th>
|
<th title="<?php echo $eventDescriptions['analysis']['desc'];, 'title' => 'Fetch the event'?>"><?php echo $this->Paginator->sort('analysis');?></th>
|
||||||
<th class="filter"><?php echo $this->Paginator->sort('info');?></th>
|
<th class="filter"><?php echo $this->Paginator->sort('info');?></th>
|
||||||
<th class="filter"><?php echo $this->Paginator->sort('timestamp');?></th>
|
<th class="filter"><?php echo $this->Paginator->sort('timestamp');?></th>
|
||||||
<th class="actions">Actions</th>
|
<th class="actions">Actions</th>
|
||||||
|
@ -62,7 +62,7 @@
|
||||||
</td>
|
</td>
|
||||||
<td ondblclick="document.location.href ='<?php echo $eventViewURL . h($uuid);?>'" class="short"><?php echo h($event['timestamp']); ?></td>
|
<td ondblclick="document.location.href ='<?php echo $eventViewURL . h($uuid);?>'" class="short"><?php echo h($event['timestamp']); ?></td>
|
||||||
<td class="short action-links">
|
<td class="short action-links">
|
||||||
<?php if ($feed['Feed']['enabled']) echo $this->Form->postLink('', '/feeds/getEvent/' . $id . '/' . $uuid, array('class' => 'icon-download'), __('Are you sure you want to fetch and save this event on your instance?', $this->Form->value('Feed.id'))); ?>
|
<?php if ($feed['Feed']['enabled']) echo $this->Form->postLink('', '/feeds/getEvent/' . $id . '/' . $uuid, array('class' => 'icon-download', 'title' => 'Fetch the event'), __('Are you sure you want to fetch and save this event on your instance?', $this->Form->value('Feed.id'))); ?>
|
||||||
<a href='<?php echo $eventViewURL . h($uuid);?>' class = "icon-list-alt" title = "View"></a>
|
<a href='<?php echo $eventViewURL . h($uuid);?>' class = "icon-list-alt" title = "View"></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -144,7 +144,7 @@
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<td class="short action-links">
|
<td class="short action-links">
|
||||||
<?php if ($event['Event']['published']) echo $this->Form->postLink('', '/servers/pull/' . $server['Server']['id'] . '/' . $event['Event']['id'], array('class' => 'icon-download'), __('Are you sure you want to fetch and save this event on your instance?', $this->Form->value('Server.id'))); ?>
|
<?php if ($event['Event']['published']) echo $this->Form->postLink('', '/servers/pull/' . $server['Server']['id'] . '/' . $event['Event']['id'], array('class' => 'icon-download', 'title' => 'Fetch the event'), __('Are you sure you want to fetch and save this event on your instance?', $this->Form->value('Server.id'))); ?>
|
||||||
<a href='<?php echo $eventViewURL . h($event['Event']['id']);?>' class = "icon-list-alt" title = "View"></a>
|
<a href='<?php echo $eventViewURL . h($event['Event']['id']);?>' class = "icon-list-alt" title = "View"></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit ef6dade6f6773edd14aa16a2e4566e50bf74cbb4
|
Loading…
Reference in New Issue