mirror of https://github.com/MISP/MISP
parent
2783916c2a
commit
47ffaf65b8
|
@ -708,9 +708,9 @@ CREATE TABLE IF NOT EXISTS `taxonomy_predicates` (
|
|||
INSERT INTO `admin_settings` (`id`, `setting`, `value`) VALUES
|
||||
(1, 'db_version', '2.4.27');
|
||||
|
||||
INSERT INTO `feeds` (`id`, `provider`, `name`, `url`) VALUES
|
||||
(1, 'CIRCL', 'CIRCL OSINT Feed', 'https://www.circl.lu/doc/misp/feed-osint'),
|
||||
(2, 'Botvrij.eu', 'The Botvrij.eu Data', 'http://www.botvrij.eu/data/feed-osint');
|
||||
INSERT INTO `feeds` (`id`, `provider`, `name`, `url`, `distribution`, `default`, `enabled`) VALUES
|
||||
(1, 'CIRCL', 'CIRCL OSINT Feed', 'https://www.circl.lu/doc/misp/feed-osint', 3, 1, 1),
|
||||
(2, 'Botvrij.eu', 'The Botvrij.eu Data', 'http://www.botvrij.eu/data/feed-osint', 3, 1, 0);
|
||||
|
||||
INSERT INTO `regexp` (`id`, `regexp`, `replacement`, `type`) VALUES
|
||||
(1, '/.:.ProgramData./i', '%ALLUSERSPROFILE%\\\\', 'ALL'),
|
||||
|
|
|
@ -67,13 +67,13 @@ class AppModel extends Model {
|
|||
case '2.4.25':
|
||||
$this->updateDatabase($command);
|
||||
$newFeeds = array(
|
||||
array('provider' => 'CIRCL', 'name' => 'CIRCL OSINT Feed', 'url' => 'https://www.circl.lu/doc/misp/feed-osint'),
|
||||
array('provider' => 'CIRCL', 'name' => 'CIRCL OSINT Feed', 'url' => 'https://www.circl.lu/doc/misp/feed-osint', 'enabled' => true),
|
||||
);
|
||||
$this->__addNewFeeds($newFeeds);
|
||||
break;
|
||||
case '2.4.27':
|
||||
$newFeeds = array(
|
||||
array('provider' => 'Botvrij.eu', 'name' => 'The Botvrij.eu Data','url' => 'http://www.botvrij.eu/data/feed-osint')
|
||||
array('provider' => 'Botvrij.eu', 'name' => 'The Botvrij.eu Data','url' => 'http://www.botvrij.eu/data/feed-osint', 'enabled' => false)
|
||||
);
|
||||
$this->__addNewFeeds($newFeeds);
|
||||
break;
|
||||
|
|
|
@ -340,7 +340,7 @@ class Feed extends AppModel {
|
|||
'name' => $newFeed['name'],
|
||||
'provider' => $newFeed['provider'],
|
||||
'url' => $newFeed['url'],
|
||||
'enabled' => false,
|
||||
'enabled' => $newFeeds['enabled'],
|
||||
'distribution' => 3,
|
||||
'sharing_group_id' => 0,
|
||||
'tag_id' => 0,
|
||||
|
|
Loading…
Reference in New Issue