Commit Graph

6991 Commits (8ac96cc1040f14f889caf6307fa02c43b513e658)

Author SHA1 Message Date
Sami Mokaddem 207c55e1e4
fix: [analyst-data:push] Correctly adjust locked flag for push 2024-02-05 11:59:13 +01:00
Sami Mokaddem 7fee219b45
fix: [analyst-data:pull] Correctly adjust distribution level and locked flag when pulling 2024-02-05 11:58:40 +01:00
Sami Mokaddem f649814afb
chg: [analyst-data:pull] Change in pull strategy + few improvements 2024-02-05 10:59:20 +01:00
Sami Mokaddem ea88d5c7bb
chg: [analyst-data:pull] Continuation implementation of pull - WiP 2024-02-05 09:27:13 +01:00
Jakub Onderka 70c2b83e84 fix: [log] Do not save to database big changes 2024-02-01 17:46:56 +01:00
Jakub Onderka 9ebf18e82b new: [UI] Show dragonfly version in diagnostics 2024-02-01 17:34:53 +01:00
Sami Mokaddem 8e6758e6f6
chg: [analyst-data:pull] Started implementation of pull - WiP 2024-02-01 16:27:54 +01:00
Sami Mokaddem c4fc994857
fix: [analyst-data:pushAnalystData] Typo in success reporting log line 2024-02-01 14:53:36 +01:00
Sami Mokaddem 2c2c297b32
fix: [analyst-data:db-migration] Fixed typo in create table instruction 2024-02-01 14:43:33 +01:00
Sami Mokaddem eaf8a2b98a
chg: [analyst-data] Added `locked` flag, support of orgc/org, analyst-data-blocklist and most implementation of push synchronisation - WiP 2024-02-01 14:24:41 +01:00
Jakub Onderka 3d8a3919d0 fix: [internal] Raise size for access_logs action column 2024-01-31 16:32:12 +01:00
Sami Mokaddem 8cef82f1ea
chg: [server:sync/analyst-data] Started integration of server synchronisation - WiP 2024-01-31 15:10:08 +01:00
Sami Mokaddem ceb423ae76
chg: [permission:analyst-data] Added new permission `perm_analyst_data` 2024-01-31 15:05:49 +01:00
Sami Mokaddem 51840a0697
chg: [events:export] Make setting `MISP.disable_cached_exports` enabled by default
Since the /events/export has been marked deprecated for a years started
the process to phase it out by first disabling the endpoint by default.
2024-01-31 14:26:22 +01:00
Sami Mokaddem 9425c99894
Merge branch 'develop' of github.com:MISP/MISP into develop 2024-01-31 10:44:43 +01:00
Sami Mokaddem ebdf1c0004
fix: [organisation:orgMerge] Added missing models for organisation handover 2024-01-31 10:44:11 +01:00
Jakub Onderka ebbe17b88c
Merge pull request #9534 from JakubOnderka/speedup-vol2
chg: [internal] Faster check for session destruction
2024-01-31 10:30:36 +01:00
Sami Mokaddem 7513cfaeb0
fix: [organisation:orgMerge] Make sure to serialize array before insertion 2024-01-31 10:06:16 +01:00
Jakub Onderka 7f935f4cec chg: [internal] Faster check for session destruction 2024-01-30 18:54:11 +01:00
Luciano Righetti f1bab1e98c Revert "fix: incorrect foreing key"
This reverts commit 6a36d7a3cd.
2024-01-30 18:49:05 +01:00
Luciano Righetti 6a36d7a3cd fix: incorrect foreing key 2024-01-30 15:16:18 +01:00
Sami Mokaddem b2f3602265
chg: [analyst-data:ACL] Enforced ACL and reflected the change in the UI 2024-01-30 15:15:26 +01:00
Jakub Onderka b1d31d653d fix: [admin] Show logos in SVG format in admin 2024-01-30 14:49:37 +01:00
Sami Mokaddem caf55c3eec
chg: [analyst-data:event-report] Added support of analyst-data to event reports 2024-01-30 10:13:58 +01:00
Sami Mokaddem e3b09cd5a5
fix: [analyst-data:afterFind] Only rearrange key sharing-group key if they distribution exists 2024-01-30 09:36:45 +01:00
Sami Mokaddem 1975e38d8c
chg: [galaxyCluster] Added support of analyst-note in the UI 2024-01-30 09:03:16 +01:00
Sami Mokaddem f15429e444
fix: [analyst-data] Fixed sharing group associations 2024-01-30 08:57:14 +01:00
Jakub Onderka 01c3a0329f fix: [internal] Email new login sending 2024-01-29 15:44:40 +01:00
Sami Mokaddem 0bbd5bf05e
fix: [analyst-data-behavior:afterFind] Restored behavior that fetched child notes and opinions in the analyst-data afterFind method
Might be reverted later on
2024-01-29 12:00:13 +01:00
Sami Mokaddem 990b574867
chg: [analyst-data:add] Added support of picker for relationship type and improved UI for sharing-group 2024-01-29 11:01:02 +01:00
Sami Mokaddem 0c53d96d5d
Merge branch 'feature/analyst-data' into notes 2024-01-29 10:06:25 +01:00
Jakub Onderka 67eeb9df9d chg: [internal] Use Attribute::fetchAttributesInChunks for correlations 2024-01-28 22:12:17 +01:00
iglocska 68722c8827
fix: [analystdata] added behavior to objects 2024-01-28 18:12:05 +01:00
iglocska 839047d8e1
chg: [collections] added db changes 2024-01-28 18:06:33 +01:00
iglocska 846c130fa3
new: [collections] feature added. Still missing sync integration - WiP 2024-01-28 18:05:29 +01:00
Jakub Onderka 398b062bd8 chg: [internal] ssdeep correlation speedup 2024-01-28 17:40:05 +01:00
Jakub Onderka fbc5e91ca2 chg: [internal] Use array_push($array, ...) instead of slower array_merge 2024-01-28 16:01:21 +01:00
Jakub Onderka 0e1e598a5b chg: [internal] Remove unused and broken method 2024-01-28 15:41:31 +01:00
Jakub Onderka f0a2c9c8e9 new: [CLI] User::ip_country 2024-01-28 13:03:32 +01:00
Jakub Onderka ac334851e5 chg: [internal] Use compressed version of browscap and update to latest version 2024-01-28 12:11:50 +01:00
Jakub Onderka 51640b0f3f new: [internal] Store browscap cache in apcu 2024-01-28 01:02:18 +01:00
Jakub Onderka dff9a5eca2 chg: [internal] Faster checking if array is list 2024-01-27 13:01:13 +01:00
Jakub Onderka 87a94a9345 chg: [internal] Slightly optimise Mysql::insertMulti 2024-01-27 13:01:13 +01:00
Jakub Onderka 08ee718f87 fix: [internal] More explaining error message 2024-01-27 10:17:44 +01:00
Jakub Onderka 5fd3c17cad chg: [internal] Simplify getting current repo commit 2024-01-27 10:17:44 +01:00
Jakub Onderka 70f9f10e8b chg: [internal] Log exceptions when doing diagnostics 2024-01-27 09:30:57 +01:00
Sami Mokaddem 80b50c5a8d
chg: [analyst-note] Added support of opinion on relationships 2024-01-26 16:25:09 +01:00
Sami Mokaddem 4f33648290
chg: [analyst-data:UI] Added support of relation for object + refactoring + fixes 2024-01-26 16:05:35 +01:00
Sami Mokaddem 6742f9ed42
chg: [analyst-data] Added support of fetching & displaying of related object + refacto + fixes - WiP 2024-01-25 20:01:04 +01:00
Sami Mokaddem dca913c969
chg: [analyst-data] Linked CRUD and UI together - WiP
- Added dynamic association binding
- Recursive notes and opinions injection
- few improvements
- fixes

-> Still need to link CRUD for relationships and UI
-> Still need to refactor for performance notes/opinions loading
2024-01-24 21:48:53 +01:00
iglocska 713a9f4df3
fix: [objects] restsearch first/last seen filters added
- also a fix for the allowedlists generating notice errors / not firing correctly
2024-01-19 18:11:28 +01:00
iglocska ceda8c3788
chf: [notes] wip 2024-01-19 17:54:06 +01:00
Jakub Onderka b5f3c2fae5 chg: [CLI] Optimise cake user authkey_valid 2024-01-15 20:04:46 +01:00
Jakub Onderka fb43e1e6a9 fix: [internal] Access log errors from test 2024-01-14 18:19:10 +01:00
Jakub Onderka ad8666369c new: [CLI] cake User init command
Deprecate cake UserInit
2024-01-14 17:35:25 +01:00
Jakub Onderka ede7a081ed chg: [CLI] Be more strict for setSetting accepted values 2024-01-14 17:35:25 +01:00
Jakub Onderka e6b79baf93 chg: [internal] Code cleanup 2024-01-14 17:35:25 +01:00
Jakub Onderka 7b0ebfae5c chg: [internal] PHP 7.4 is required, so we can remove hacks for older versions vol. 2 2024-01-14 17:35:25 +01:00
Jakub Onderka 4303e488b8 chg: [internal] PHP 7.4 is required, so we can remove hacks for older versions 2024-01-14 12:12:52 +01:00
Jakub Onderka 50147aa389 chg: [internal] Log errors for git 2024-01-13 19:34:54 +01:00
Jakub Onderka e1a97d6a76 chg: [internal] Better error messages 2024-01-13 16:41:20 +01:00
Jakub Onderka 518b2faa94 fix: [internal] Try to cleanup memory when fetching feed 2024-01-13 16:41:20 +01:00
Jakub Onderka d2911274b5 fix: [internal] Fix error code when fetching sightings 2024-01-13 16:41:20 +01:00
Jakub Onderka fa85228f84 new: [CLI] AdminShell isEncryptionKeyValid command 2024-01-13 16:41:20 +01:00
Jakub Onderka 9616e07e95
Merge pull request #8717 from JakubOnderka/experimental-curl-client
new: [sync] Experimental curl client
2024-01-12 12:18:54 +01:00
Jakub Onderka f859fe37a5
Merge pull request #9100 from JakubOnderka/galaxy-improt-update
chg: [galaxies] Allow to update galaxy fields when doing update
2024-01-12 12:16:41 +01:00
Jakub Onderka 3025979c1b chg: [CLI] Log exception if file was not found during attachment scan 2024-01-09 16:06:34 +01:00
Jakub Onderka 324039f9b7 fix: [internal] Attachment scanning 2024-01-09 16:06:34 +01:00
Jakub Onderka bb36276a11 chg: [CLI] Better logging for workers 2024-01-08 17:58:28 +01:00
Jakub Onderka e1b4d81f51 chg: [internal] Do not scan attachment that are bigger than 25 MB 2024-01-08 14:02:13 +01:00
Jakub Onderka 3365796c6c chg: [internal] Move attachment scanning to prio queue 2024-01-08 14:02:12 +01:00
Jakub Onderka 405b918580 new: [CLI] IP address normalization script 2024-01-05 17:38:05 +01:00
Jakub Onderka 8678da10d8 chg: [internal] Optimise reportValidationIssuesAttributes 2024-01-05 16:40:49 +01:00
Sami Mokaddem 71e78e6eb3
Merge branch 'feature/publication-blocking-same-user' into develop 2024-01-05 09:57:59 +01:00
iglocska d67591f54c
Merge branch 'develop' of github.com:MISP/MISP into develop 2024-01-05 09:19:35 +01:00
iglocska 34dc350dc3
chg: [garbage collection] added cached exports 2024-01-05 09:19:05 +01:00
iglocska 2ab819f3cb
chg: [analystdata wip] 2024-01-04 19:56:11 +01:00
Jakub Onderka 9c346e8282 fix: [internal] Code style 2024-01-04 17:59:23 +01:00
Jakub Onderka edd6d3f157
Merge pull request #9473 from JakubOnderka/logging
chg: [internal] Do not log in audit log last_api_access
2024-01-04 16:38:02 +01:00
Jakub Onderka b5fe0722eb fix: [internal] Session destroy 2024-01-04 16:16:52 +01:00
Jakub Onderka 58d89510a5
Merge pull request #9106 from JakubOnderka/sentry-nicer
chg: [sentry] Capture exception with message
2024-01-04 15:57:24 +01:00
Jakub Onderka 6b0fb4a638 chg: [internal] Refactor UserController::_postlogin 2024-01-04 12:20:38 +01:00
Jakub Onderka 9d81da4df2 fix: [internal] Fix view user login history 2024-01-04 11:24:36 +01:00
Sami Mokaddem 160d7442ff
Merge branch 'feature/analyst-notes' into notes 2024-01-04 11:20:04 +01:00
iglocska e04c810ae3
new: [analystdata] wip 2024-01-04 10:12:47 +01:00
Jakub Onderka 54fa92be71 fix: [internal] Code style 2024-01-04 10:11:14 +01:00
Jakub Onderka f5db800875 fix: [internal] Review user logins fix 2024-01-03 18:41:47 +01:00
Jakub Onderka 775d098ff8 chg: [internal] Do not log in audit log last_api_access 2024-01-03 17:55:01 +01:00
Jakub Onderka 1671ff198d chg: [internal] Handle GeoIp2 exceptions 2024-01-03 14:07:44 +01:00
Jakub Onderka 4c65981195 chg: [internal] Add logging for UserShell::authkey_valid 2024-01-03 13:20:30 +01:00
Jakub Onderka 0dd3a73488 fix: [internal] Correctly handle X-Forwarded-For header values 2024-01-03 12:40:36 +01:00
Jakub Onderka 67b393ea7b chg: [internal] Move field description to controller 2024-01-03 09:08:42 +01:00
Jakub Onderka d6c0514644 fix: [internal] Undefined index sharing_group_id when uploading stix file 2024-01-03 09:08:42 +01:00
Jakub Onderka a2fa480568 chg: [internal] Error handling when converting STIX2MISP 2024-01-01 12:46:33 +01:00
Jakub Onderka c1b6b4abd0 fix: [internal] ECS: Add support for handling PHP errors and exceptions 2023-12-31 20:37:59 +01:00
Jakub Onderka 8d4ff03a53 chg: [internal] Code cleanup for UserLoginProfile 2023-12-29 13:47:38 +01:00
Jakub Onderka 120997d42e fix: [internal] ECS: Avoid double JSON encoding 2023-12-29 13:47:22 +01:00
Jakub Onderka bdd86b9aec chg: [scan] Skip empty files 2023-12-29 12:18:01 +01:00
Jakub Onderka 252b23efe2 chg: [log] Proper exception logging 2023-12-29 12:18:01 +01:00
Jakub Onderka 018652cb09 chg: [sentry] Capture exception with message 2023-12-29 12:18:01 +01:00
Jakub Onderka af4644f534 fix: [internal] Code cleanup for IP logging 2023-12-29 09:59:10 +01:00
Jakub Onderka 2b159eb025 chg: [internal] ECS: Add specific log for emails 2023-12-28 12:14:37 +01:00
Jakub Onderka 412ba0f192 new: [internal] New option `Security.ecs_log` to enable ECS logging 2023-12-25 13:11:19 +01:00
Jakub Onderka 31f40c8d43 new: [internal] Add more metadata to ECS log 2023-12-25 11:34:03 +01:00
Jakub Onderka ca8a58697d new: [internal] Add support for MISP ECS logs 2023-12-24 11:35:53 +01:00
Jakub Onderka 6eb5a66878 chg: [internal] Code cleanup for logging 2023-12-23 14:32:07 +01:00
Jakub Onderka 786becad1a chg: [internal] Code cleanup for user login profile 2023-12-22 22:52:02 +01:00
iglocska f8632849c6
new: [garbage collection] added for temporary files 2023-12-22 15:50:20 +01:00
iglocska 7e641c572d
fix: [datasource] added mashup of mysqlobserver and mysqlextended 2023-12-21 09:41:02 +01:00
Sami Mokaddem 446620fad6
chg: [event:publish] Reverse condition for readability and consistency with _add 2023-12-18 11:53:32 +01:00
Sami Mokaddem 1389150069
chg: [event:publish] Exempt sync users from MISP.block_publishing_for_same_creator 2023-12-18 11:45:14 +01:00
Sami Mokaddem 615095950f
chg: [event:publish] Prevent publication if publishing is coming from /add or /edit 2023-12-18 11:41:18 +01:00
Sami Mokaddem e900d37366
chg: [events:publish] Improved phrasing on the publication blocking if creator == publisher 2023-12-18 10:10:45 +01:00
Sami Mokaddem fc135af841
new: [event:publication] Added new setting to block event publication if the user is the creator
Enabling this setting will change the behavior of MISP so that it will block the publication of an Event if the publisher is the same as the event creator.
2023-12-18 09:58:24 +01:00
Sami Mokaddem c8f7f89cb6
fix: [workflow-modules:Organisation_if] Make sure to convert operator to support new version of the module
Shoud fix #9423
2023-12-18 09:39:28 +01:00
Christian Studer 6a0f3f1b73 Merge branch 'develop' of github.com:MISP/MISP into develop 2023-12-14 14:11:43 +01:00
Christian Studer d70150d237
fix: [upload_stix] Avoiding issues with sharing group arguments being null 2023-12-14 14:10:58 +01:00
iglocska 100702244b
fix: [correlation] exclusion cleaning was broken for noacl correlations, fixes #8899 2023-12-14 12:45:00 +01:00
iglocska 78efee02da
Merge branch '2.4' into develop 2023-12-14 12:29:08 +01:00
iglocska e73d1001a0
new: [db] tables added for notes 2023-12-14 12:28:13 +01:00
Christian Studer 472cfab3c7 Merge branch 'develop' of github.com:MISP/MISP into develop 2023-12-14 11:42:43 +01:00
Christian Studer debae13bc2
chg: [upload_stix] Casting distributions and sharing group IDs type 2023-12-14 11:41:47 +01:00
Sami Mokaddem 618dbb64cf
fix: [eventReport:editReport] Generate an UUID if new report added from pull 2023-12-14 10:59:49 +01:00
Andras Iklody ab61a6d5da
chg: [event reports] content field size changed to mediumtext 2023-12-13 09:47:50 +01:00
Christian Studer bdcfe06cf3
add: [upload_stix] Handling cluster distribution and sharing group for content imported from STIX 2.x 2023-12-12 10:57:57 +01:00
iglocska e5809fdccf
fix: [case sensitivity] fix 2023-12-07 16:14:12 +01:00
iglocska 5bed463416
chg: [logging] fail silently if logging entry can't be saved
- can happen when the log change is too large for example
- no need to roll back / break sync for example if a log entry is too large, just fail silently.
2023-12-07 15:17:58 +01:00
Sami Mokaddem 805f91daed
chg: [feed:attachFeedCorrelations] Added comment 2023-12-07 09:54:50 +01:00
Sami Mokaddem b79fb64f2f
chg: [event:view] Show feed meta-information as popup 2023-12-07 09:54:45 +01:00
Sami Mokaddem 1585740764
new: [event:view] Added new option `show_server_correlations_for_all_users` allowing non-privileged users to view server correlations 2023-12-07 09:54:37 +01:00
iglocska 8c50a86bc0
fix: [attribute bulk update] separate out tag deletion as it builds a ridiculously large query at times 2023-12-05 16:08:40 +01:00
iglocska b66a37844f
fix: [caching] remove uuid validation from the feed caching
- not really needed and it breaks the entire caching if a single old event has an invalid uuid
2023-12-05 14:33:56 +01:00
Jakub Onderka 305b3be44d chg: [module] Keep connection between requests 2023-12-05 12:47:50 +01:00
Jakub Onderka 8b5fb3240a chg: [internal] Use curl when possible 2023-12-05 12:47:50 +01:00
Jakub Onderka ad76c0e509 new: [sync] Experimental curl client 2023-12-05 12:47:49 +01:00
iglocska 4215285443
fix: [Alert on suspicious logins] disabled by default
- requires logs table to be better indexed currently to not be a bottleneck (user_id and action fields)
- Will be made default in an upcoming version once the performance issues are resolved
2023-12-01 22:10:50 +01:00
iglocska 8d604363fb
fix: [revert] dumb check 2023-11-30 10:39:24 +01:00
iglocska 56cd155367
Merge branch 'develop' into 2.4 2023-11-29 20:33:56 +01:00
iglocska 970ae6cc1f
fix: [compatibility] make the ancient gods happy 2023-11-29 15:17:29 +01:00
iglocska affae66a17
chg: [user login profile] old version compatibility 2023-11-29 12:20:37 +01:00
iglocska b38878b963
fix: [attributes] type field added to editable fields 2023-11-29 11:25:41 +01:00
Sami Mokaddem 91b4c4397a
Merge branch '2.4' of github.com:MISP/MISP into develop 2023-11-27 11:24:39 +01:00
Sami Mokaddem d758516042
fix: [Attribute:editPostProcessing] Fixed sighting capture 2023-11-27 11:23:30 +01:00
Sami Mokaddem f8f02b053a
fix: [Attribute:EditPostProcessing] Make sure the ID is set 2023-11-27 10:26:41 +01:00
Sami Mokaddem 99ed363a14
fix: [Attribute:EditPostProcessing] Make sure the ID is set 2023-11-27 10:25:51 +01:00
Sami Mokaddem 7496164783
Merge branch '2.4' of github.com:MISP/MISP into develop 2023-11-27 08:48:31 +01:00
Sami Mokaddem c14c6efde0
fix: [attribute:validation] Typo in function name 2023-11-27 08:46:26 +01:00
Sami Mokaddem 91e6a4ba4a
fix: [attribute:editPostProcessing] Fixed typo in condition preventing tags to be detached 2023-11-27 08:45:07 +01:00
iglocska b2734bf22d
Merge branch 'develop' of github.com:MISP/MISP into develop 2023-11-25 11:54:22 +01:00
iglocska 5ec0ac952d
chg: [bulk update] simplified 2023-11-25 11:42:28 +01:00