Commit Graph

48 Commits (a7905b40cededa7fb54e2c735b8196c9aae03f94)

Author SHA1 Message Date
Sami Mokaddem 683a90199c
fix: [feed:edit] Make sure to keep orgc_id to its saved value 2023-01-10 12:04:56 +01:00
Luciano Righetti af0aef7db7
fix: fixed events and target event id not properly set 2022-09-22 12:35:23 +02:00
Sami Mokaddem a851764b57
chg: [feeds:add] Default orgc to $me->org_id and select fixed_event by default 2022-09-01 11:01:31 +02:00
Luciano Righetti 26c40ff35f chg: allow option to disable correlations for all events coming from a feed 2022-04-28 16:41:30 +02:00
Jakub Onderka a3c43d2c17 fix: [UI] Fix authkey field type 2021-12-28 19:34:33 +01:00
Luciano Righetti 4df55d99c8 fix: sharing groups dropdown not showing when adding a feed with distribution set to sharing group. 2021-10-08 10:33:23 +02:00
Luciano Righetti cf73e33894 fix: fix pr comments: add warning notice for local feeds disabled on feeds/add, fix various ui elements. 2021-07-13 12:25:57 +02:00
Luciano Righetti fbf3a45b16 fix: fix issue when adding attribute, add optionalField class to inputs. 2021-07-08 15:20:30 +02:00
Luciano Righetti 7c807dfec8 fix: fix pr comments: replace whitelist->allowlist, checkbox label inline, add missing feed fields for csv and freetext. add missing button for adding basic auth headers. 2021-07-08 11:55:42 +02:00
Luciano Righetti 1bc44f5b0d fix: add type dropdown in all generic forms. 2021-06-24 16:01:56 +02:00
Luciano Righetti c947b5556c fix: fix pull rules legend not showing on feeds/edit load. 2021-06-24 12:07:09 +02:00
Luciano Righetti c1bb5cbc1d fix: handle feed rules 2021-06-22 17:46:33 +02:00
Luciano Righetti 1c39af3385 fix: fix genericForm builder issues. 2021-06-21 17:38:13 +02:00
Luciano Righetti 2f5c521eda chg: initial port genericForm changes from cerebrate 2021-06-18 18:02:40 +02:00
Luciano Righetti 94d4ba8274 chg: migrate FeedsController to use CRUD component. 2021-06-17 17:14:22 +02:00
mokaddem 960d46ec8a
chg: [servers:edit] Added indicative text for serverRuleElements 2021-04-28 14:58:31 +02:00
mokaddem 428d3875e0
chg: [elements:serverRuleElements] Reset widgets state on modal close 2021-04-28 14:42:04 +02:00
mokaddem 4c84a00aaa
chg: [element:serverRuleElements] Rules are parsed and build on rules_widget container
They can later be recovered by external commands without having to rely
on fixed HTML ID properties
2021-04-22 16:25:58 +02:00
mokaddem 1946960c88
new: [servers:edit] Fetches available orgs and tags from remote server
- Componentized views and made them responsive
- Usage of picker for orgs and tags
- For server pull rule, fetches available choices from remote server
2021-04-20 10:46:43 +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
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