Commit Graph

118 Commits (94d4ba827420aa4c61def2483c7bd92f5d04b9df)

Author SHA1 Message Date
Luciano Righetti 94d4ba8274 chg: migrate FeedsController to use CRUD component. 2021-06-17 17:14:22 +02:00
Alexandre Dulaunoy a4c8a1d1ac
Merge pull request #7427 from righel/fix-add-feed-api-endpoint
fix: /feeds/add endpoint returns empty 'name' error via api call
2021-06-05 10:22:41 +02:00
Luciano Righetti ebeab4d245 fix: return api error when feed is not enabled 2021-05-25 11:54:47 +02:00
Luciano Righetti 644161f42a fix: /feeds/add endpoint returns empty 'name' error via api call 2021-05-21 09:43:55 +02:00
iglocska 40af102e2b
fix: [feed preview] fixed exception thrown to invalid threat level listing call 2021-05-05 16:37:57 +02:00
mokaddem 0d35032610
fix: [feeds:edit] Recover event_id if it exists
Fix #7293 (second part)
2021-04-26 10:12:27 +02:00
mokaddem 6590c17578
Merge remote-tracking branch 'origin/2.4' into develop 2021-04-23 12:22:31 +02:00
mokaddem bc2c58abe9
security: [feeds] Hide headers for non-site admin users 2021-04-23 12:07:01 +02:00
mokaddem 6a51b6fd56
Merge remote-tracking branch 'origin/2.4' into develop 2021-04-21 15:22:31 +02:00
mokaddem 99f2da3dd8
fix: [feeds:edit] Log correct action.
Fix #7347
2021-04-21 15:21:21 +02:00
mokaddem 514b09b4d6
fix: [feed:edit] Fixed bug preventing to recover feed data in the UI 2021-04-20 15:29:05 +02:00
mokaddem 10efa547f4
chg: [feeds:edit] Improved saving of edits
Fix #7293
2021-04-06 14:29:26 +02:00
iglocska 8f13e5f41a
fix: [internal] ThreatLevel::list() function renamed
- causes issues under certain PHP versions as it's a reserved keyword
2021-03-30 09:38:41 +02:00
Jakub Onderka 42f78580df chg: [UI] Make feed event preview nicer 2021-03-10 14:09:06 +01:00
Jakub Onderka 3935dee16b chg: [internal] Threat levels list 2021-03-10 08:17:11 +01:00
Jakub Onderka 771d939237 fix: [internal] Attaching warninglist for feed event preview without attributes 2021-01-02 18:09:09 +01:00
Jakub Onderka 8b5868d8f1 fix: [warnings] Attach warnings to feed and server event preview 2020-10-03 10:17:05 +02:00
Jakub Onderka 2340970e95 fix: [internal] Feed controller cleanup 2020-07-27 09:50:11 +02:00
Jakub Onderka be4dd7792f
fix: [UI] Fetching from not enabled feed should be error 2020-06-26 15:52:49 +02:00
mokaddem dcd3664bba
Merge branch '2.4' of github.com:MISP/MISP into pr-5256 2020-05-18 14:14:51 +02:00
mokaddem 0c8d233787
fix: [feed:edit] Do not override feed settings if not provided via the
API. Fix #5896
2020-05-14 15:50:08 +02:00
Jakub Onderka 94b36c9259 chg: [feed] Provide more info when caching feeds about failures 2020-05-11 15:00:52 +02:00
mokaddem 61c80edf5c
fix: [feed:add] Do not override `new_event_at_each_pull` value. Fix #5815 2020-04-27 11:21:59 +02:00
iglocska 2d63f68fc1
new: [feeds] index refactor and new features
- added the ability to select an orgc ID for CSV/freetext feeds
  - all events created from this feed will carry the selected orgc_id

- Refactored the index fully
  - using the factories
  - better warnings against the dangerous new feed each pull setting
  - event index search added
  - several settings cleaned up / made more clear

- auto reload of default feed configuration disabled, fixes #2542, fixes #5789
  - added a button / endpoint to handle that instead to allow for the deleted default feeds to stay deleted
2020-04-17 14:17:54 +02:00
iglocska 30ff4b6451
chg: [security] Added setting to restrict the encoding of local feeds
- By adding local feeds, a malicious administrator could point MISP to ingest configuration files that the apache user has access to
- This includes some more sensitive files (database.php / config.php / .gnupg data)
- Whilst this is currently not leading to an exploitable vulnerability as the current implementation wouldn't trigger on the values,
  having a setting to disable this will become much more interesting once we have a system in place for custom feed parsers
- The setting can only be enabled/disabled via the CLI

- As reported by Matthias Weckbecker
2020-03-30 14:02:14 +02:00
Andras Iklody 6bcd8b200c
Merge branch '2.4' into fix/import_empty_feed 2019-10-02 22:55:14 +02:00
Pierre-Jean Grenier 8415cea5db fix: [feed] fix REST problems 2019-10-02 16:53:44 +02:00
Pierre-Jean Grenier f4ad4578dd fix: undefined variable when no feed was enable 2019-10-02 15:29:06 +02:00
Jakub Onderka a45575a44d chg: [feed] Error handling for saveFreetextFeedData 2019-09-03 17:24:06 +02:00
Jakub Onderka 78f113c563 chg: [feed] Proper error handling for fetching feed events 2019-09-02 17:51:37 +02:00
Jakub Onderka 5b2bb6d0fa chg: [feed] Proper error handling for fetching freetext feed 2019-09-02 17:51:37 +02:00
Jakub Onderka 9ee3570379 chg: [feed] Proper error handling for fetching feed manifest 2019-09-02 17:51:37 +02:00
Jakub Onderka 6174c9c698
fix: [UI] Info message should not be error 2019-08-23 19:40:20 +02:00
iglocska 64fafa1913
fix: [api fix] Deletes broken due to invalid boolean
- /facepalm
2019-07-10 13:55:33 +02:00
iglocska ed401d88be
fix: [API] delete http requests properly accepted by some /delete endpoints 2019-07-10 11:57:21 +02:00
4ekin 14feb57e2f fix: Typos in controllers 2019-04-29 16:12:55 +03:00
iglocska c6974d217e Merge branch '2.4' of github.com:MISP/MISP into 2.4 2019-04-01 16:21:30 +02:00
iglocska dc39255be5 fix: [ACL] Added ACL for the new cache searches 2019-04-01 16:16:16 +02:00
iglocska ab858d5f17 new: [feeds] Feed/Server cache search added
- /feeds/searchCaches added
2019-04-01 16:09:24 +02:00
iglocska a10e175f83 fix: [API] Feed index shouldn't adhere to pagination defaults of the UI, fixes MISP/misp-book#149 2019-04-01 14:20:09 +02:00
iglocska fc34510eda new: [Feeds] New overlap tool finished
- compare a feed against a combination of feeds/servers to find if you can cover the contents with a combination of other cached feeds
2019-03-10 18:09:46 +01:00
iglocska 8b68dbc7e2 new: [Feed preview UI] Added quick filter to the MISP feed preview 2019-02-23 12:57:00 +01:00
iglocska 358a8f2eac fix: [Feeds API] blackholes due to invalid csrf check relaxation call 2019-02-11 22:28:59 +01:00
Christophe Vandeplas 67efc70bf5 fix: [style] consistent space indentation 2019-02-10 13:08:55 +01:00
iglocska 498a7ae77c new: [feeds] Opened up feed inspection to host org users and added servers to overlap matrix 2019-01-20 10:19:05 +01:00
iglocska fe3bf1f57a fix: [feeds] Fixed an issue that caused a misp format feed fetch to fail intermittently 2018-12-12 17:30:58 +01:00
iglocska 2d0259ce13 fix: [CS] coding standards script re-run 2018-11-23 14:11:33 +01:00
iglocska 2d66dd421b new: [feeds] Changed default feed target to fixed event
- major cause of death by overcorrelating
2018-11-05 18:21:52 +01:00
iglocska a81894f14c chg: [CS] Changed to PSR-2
- to make contributions easier, adopted PSR-2
- used php-cs-fixer to rework the style
- *sniff sniff* Goodbye tab indentation
2018-07-19 11:48:22 +02:00
Steve Clement c607729e18 chg: [i18n] More __(); 2018-07-12 23:36:47 +02:00