Commit Graph

29 Commits (c1ee4d8bfbb9dcbb5703cd8bdeb76c5c6812edc7)

Author SHA1 Message Date
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
Jakub Onderka ed498aa804 fix: [UI] Input is not pair element 2019-10-13 19:49:59 +02:00
4ekin 0b33adedc1 fix: fixed i18n string representation in Views
Fix for a plenty of Views with incorrect localizations (only English
text shown)
2019-03-21 18:10:26 +03:00
iglocska d8ee91be68 chg: [refactor] Side menu generic templates moved 2019-02-13 14:45:01 +01:00
iglocska 58997b9ac1 chg: [psr-2] Changed view files to space indentation instead of tabs
- *sniff sniff*
2018-07-20 09:29:50 +02:00
iglocska 2b2a0c25a4 fix: Various fixes to the add feed action/view 2018-05-17 10:03:26 +02:00
Raphaël Vinot d0625ad493
fix: Source Format -> Input Source (C/P mistake) 2018-04-26 14:02:04 +02:00
iglocska e89d7ebc16 new: Added separation between enabled feeds and feeds enabled for caching 2018-03-30 23:30:54 +02:00
iglocska 96cea0b057 new: New BasicAuth header generator for the feed add/edit views 2018-01-19 15:56:34 +01:00
iglocska fd858d627b new: Allow passing headers along with feeds
- add any arbitrary header to a feed
- can be used for authentication via basic auth for example
2018-01-19 00:28:44 +01:00
Steve Clement 203d8b3a48 - View/Feeds -> __(' done 2018-01-09 20:53:34 +01:00
iglocska e18344b3f5 fix: several fixes to the feed overlay matrix
- lookup was broken for csv/freetext feeds
- allow users to see the feeds if the admin allows it
2017-05-09 16:35:59 +02:00
Ángel González 926895733b Cosmetic changes
Change space indents to tabs
Remove ?> at end of file
Add or remove some indentation where appropriate
2017-05-08 00:45:57 +02:00
iglocska b2f008d5ce new: Added the option to delete files after ingestion of local feed 2017-01-25 05:53:04 +01:00
iglocska e83d749f86 fix: Views left off 2017-01-24 14:22:48 +01:00
iglocska 26df6d3fe5 new: Added a new field for an exclude regex for the CSV / Freetext feeds
- just set a php compatible PCRE regex pattern to exclude values
2017-01-01 16:25:08 +01:00
iglocska 2aad201f26 fix: Setting naming consistency fail
- separator != delimiter
2016-12-31 22:22:58 +01:00
iglocska 7f8a81e161 new: Added caching and pagination to freetext/csv feeds 2016-12-30 16:16:56 +01:00
Iglocska 9082e9b090 fix: fixed various minor issues and a potential more serious bug
- various UI issues prevented the freetext/csv feed related fields from being hidden when adding a new MISP feed
- issue that potentially prevented new feeds from being saved if no target event is set (cannot reproduce)
2016-10-10 18:23:59 +02:00
Iglocska 9891234662 new: CSV feeds and various fixes
- Added the CSV feed format
  - users can specify which fields in the CSV should be parsed
  - comment lines are automatically omitted
  - new settings system added to feeds, currently only used for the value fields

- Slight rework of the correlation lookup for the feeds
  - got the Speed Force treatment
  - correctly checks against value1 and value2 instead of value

- Various freetext import fixes
2016-10-08 14:36:24 +02:00
Iglocska 9649c608b4 fix: Various fixes to the feed system
- allow users to override the IDS flags and keep all attributes pulled from a freetext feed IDS = off
- UI changes
- fix to a bug that caused already deleted attributes to be counted as existing ones
2016-10-07 18:27:13 +02:00
Iglocska 503661a240 new: First implementation of the freetext feed pull 2016-10-07 17:33:54 +02:00
Andreas Ziegler 1d06f25b38 chg: add newline character before EOF to non-minified (text-)files 2016-06-06 10:09:55 +02:00
Andreas Ziegler 0fe692c56a remove whitespace at end of line 2016-06-04 01:10:45 +02:00
Iglocska fe3a94d3d1 New fields added
- set the distribution and sharing group of a feed
  - will set all events received to the appropriate setting

- set a tag that should be applied by default to the events received from the feed
2016-03-08 23:27:53 +01:00
Iglocska bebdde03e7 Further progress 2016-03-04 14:56:56 +01:00
Iglocska 255c65942e Further progress on the feeds 2016-02-29 22:32:04 +01:00
Iglocska 9cb796b394 Work in progress on the feeds 2016-02-28 22:54:09 +01:00