Commit Graph

149 Commits (2.4)

Author SHA1 Message Date
Sami Mokaddem 00991bda27
chg: [feed] Added support of tag_collection_id when dealing with feeds 2024-04-17 15:59:10 +02:00
Sami Mokaddem 038c411366
new: [feed:pullEvents] Added support of tag collection in feed configuration
This allow to specify a tag collection for which all the tags will be applied on the pulled Events
2024-04-12 15:58:19 +02:00
Sami Mokaddem c4c395af31
new: [feed] Added unpublish_event setting to ensure pulled events are in the unpublished state 2024-04-08 14:48:04 +02:00
Luciano Righetti 104e791e93 fix: make target event id not required (makes form submit fail) 2023-06-14 14:11:35 +02:00
Sami Mokaddem 683a90199c
fix: [feed:edit] Make sure to keep orgc_id to its saved value 2023-01-10 12:04:56 +01:00
Jakub Onderka 1eaa3b9d99 fix: [templates] Use $hostOrgUser variable 2022-10-22 14:35:41 +02: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
Jakub Onderka feee069c32 fix: [UI] Feed preview index and event 2022-05-29 16:21:25 +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 e385e71551 fix: [UI] Avoid calling submitPublish() JS method 2022-03-28 12:44:56 +02:00
Jakub Onderka a3c43d2c17 fix: [UI] Fix authkey field type 2021-12-28 19:34:33 +01:00
Christophe Vandeplas 1f79573fd7 chg: [feeds] Support for sharing groups with feeds, fixes #5758 2021-11-30 12:55:08 +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 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 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 3529ddcacd
fix: [feeds:edit] Display additional filtering rules 2021-04-22 16:22:10 +02:00
mokaddem 876608d72d
chg: [elements:serverRuleElements] Added support of existing rules for feeds 2021-04-22 12:49:53 +02:00
mokaddem 27cc0f619c
fix: [elements:serverRuleElementsPull] Correctly setup codemirror 2021-04-20 16:05:19 +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
mokaddem 41099defb2
fix: [tags] More granularity for local and global add tag buttons 2021-03-24 10:22:44 +01:00
Jakub Onderka bea5432123
Merge pull request #7207 from JakubOnderka/freetext-feed-view
chg: [UI] Show number of items in freetext feed
2021-03-16 20:43:38 +01:00
Jakub Onderka 284dc80f72 chg: [UI] Show number of items in freetext feed 2021-03-15 18:12:58 +01:00
Jakub Onderka 42f78580df chg: [UI] Make feed event preview nicer 2021-03-10 14:09:06 +01:00
iglocska 1c886c7d28
fix: [UI] notice resolved on the feed index 2021-02-08 16:49:27 +01:00
Jakub Onderka 970a99fb87 fix: [UI] Allow to sort feeds by name 2021-01-27 19:16:20 +01:00
Jakub Onderka e3cbd08255 fix: [UI] Remove nonsense paginator options 2021-01-10 16:51:09 +01:00
Jakub Onderka f4ff425c90 fix: [UI] Show feed cache buttons just to site admins 2020-12-11 17:19:22 +01:00
Jakub Onderka c80818eefb fix: [internal] Warning when viewing feed info 2020-10-29 17:46:41 +01:00
Jakub Onderka 700536086a fix: [UI] Remove duplicate request for quick filter 2020-10-06 14:15:17 +02:00
Vito Piserchia b8c7485712 resolve merge 2020-08-16 13:31:31 +02:00
Jakub Onderka 1d5b1aabf1
fix: [UI] Show feed caching just for site admins
Without this patch, when user is not site admin, for all feeds is showed 'Not cached', that is not true. And it also generates a lot of warnings to debug log.
2020-06-01 18:37:19 +02:00
Jakub Onderka 7378d1ab19 fix: [UI] Always use UUID with capital letter 2020-05-05 12:43:10 +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
iglocska 15893c0a91
fix: [ui] pass static_tags_only to the feed view 2019-09-19 15:36:18 +02:00
Bechkalo Evgeny 9cf2ef3a46 fix: more issues with PostgreSQL
- fixed error during update Job date_modified field (SQLSTATE[22008]:
Datetime field overflow: 7 ERROR:  date/time field value out of range)
- fixed error during fetching events while updating from feeds (
SQLSTATE[42P01]: Undefined table: 7 ERROR: missing FROM-clause entry for
table events)
- fixed Feed edit view with wrong boolean forms (combobox instead
checkbox)
2019-08-29 18:36:47 +03:00