Commit Graph

1191 Commits (471840ce33233a8d9db86766d007153f66727e8d)

Author SHA1 Message Date
iglocska 4dd5d369b4
chg: [attribute search] by uuid updated
- pre-checks if the passed UUID is actually an event UUID before going with the slow query against both tables
2024-04-17 12:00:53 +02:00
iglocska 13d33a3acb
chg: [comment] added to the previous fix to make it clear what it does 2024-04-08 10:12:22 +02:00
Alexandre Dulaunoy 02bf0ebd54
new: [attribute] new attribute type added `integer`
Initially, we utilised a counter type across numerous objects.

However, the semantic significance of this type became unclear when establishing relationships with integers in various objects.

Signed-off-by: Alexandre Dulaunoy <a@foo.be>
2024-04-03 12:04:46 +02:00
Jakub Onderka 1f3f018bf7 fix: [internal] Attribute.php code style fix 2024-04-02 19:40:14 +02:00
iglocska 74579bb1fe
fix: [attribute search] enforce unpublishedprivate directive 2024-03-22 15:24:05 +01:00
iglocska 394d680a7b
chg: [version] bump 2024-03-20 14:09:22 +01:00
iglocska 94d7537eec
chg: [attribute search] rework
- Massive performance improvement when using MysqlExtended or MysqlObserverExtended data sources
- event level lookup moved to subqueries, allowing for simpler, much faster indexed queries
- Ignoring the deleted index as it slows things down
2024-03-20 13:07:10 +01:00
iglocska 6b408a6be5
chg: [attribute fetch] slightly refactored
- simplify conditions
- don't load acl conditions twice
2024-03-15 07:43:58 +01:00
Sami Mokaddem 6f99b148f0
Merge remote-tracking branch 'origin/develop' into notes 2024-02-16 15:29:03 +01:00
iglocska c47f1987dc
Merge branch 'develop' of github.com:MISP/MISP into develop 2024-02-16 14:24:44 +01:00
iglocska c1638e0a9c
fix: [sighting sync] speculative fix for critical sync issue
- pulls from an instance with extremely high numbers of sightings (~300M+) can lead to the pulled instance becoming unusable
- This fix addresses multiple issues:
  - The use of last:0 as a sighting pull filter parameter lead to a search using an unindexed field
  - Internally searching for sighting IDs across 500 events in one shot can lead to massive data-sets
  - Internally searching for sighting IDs by Event.uuid on a joined table is extremely slow compared to searching on the sighting table alone
2024-02-16 14:21:10 +01:00
Sami Mokaddem 66cd091ac4
Merge remote-tracking branch 'origin/develop' into notes 2024-02-16 08:30:04 +01:00
Sami Mokaddem 66926d1b60
fix: [attribute:editAttributePostProcessing] Call function from the correct model 2024-02-15 12:09:36 +01:00
Jeroen Pinoy bf6a148bc8
fix: fix objects restsearch first_seen filter 2024-02-14 15:40:06 +01:00
Sami Mokaddem 54b3c566d4
new: [Event:_edit] Added support of recursive update of analyst data 2024-02-14 11:22:43 +01:00
Sami Mokaddem 006c900c8e
new: [Event:_add] Added support of recursive capture of analyst data 2024-02-14 09:48:11 +01:00
Sami Mokaddem ea7e48b2a7
Merge remote-tracking branch 'origin/develop' into notes 2024-02-06 15:04:09 +01:00
Jakub Onderka 67eeb9df9d chg: [internal] Use Attribute::fetchAttributesInChunks for correlations 2024-01-28 22:12:17 +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
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 324039f9b7 fix: [internal] Attachment scanning 2024-01-09 16:06:34 +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
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 b38878b963
fix: [attributes] type field added to editable fields 2023-11-29 11:25:41 +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 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 5ec0ac952d
chg: [bulk update] simplified 2023-11-25 11:42:28 +01:00
iglocska 1de6b9ec04
fix: [bulksave] valiadate only only works with saveAll() 2023-11-25 11:31:02 +01:00
iglocska 10bcdff8ea
chg: [bulksave] tuning 2023-11-25 11:07:47 +01:00
iglocska 7b209e726e
fix: [bulksave] doesn't save with a single invalid attribute 2023-11-25 10:59:26 +01:00
iglocska 4f36105d56
chg: [fast_update] Only run recorrelation on attributes that need to be recorrelated 2023-11-23 12:28:53 +01:00
iglocska 79cd0015a1
fix: [fast_update] recorrelation typo 2023-11-23 10:26:17 +01:00
iglocska dfe3b786a9
Merge branch 'nohooks' into develop 2023-11-23 09:18:57 +01:00
iglocska f66c336c7c
chg: [cleanup] of temporary paths 2023-11-23 09:18:20 +01:00
iglocska babf2b73b0
chg: [fast_update] recalculate attribute count + regenerate correlations 2023-11-23 09:14:58 +01:00
iglocska d015f9cae7
new: [WiP] edit refactor 2023-11-20 14:13:15 +01:00
iglocska d744e6f3d5
new: [event edit] skip validation hooks on demand
- WiP for bulk ingestion of minor changes
2023-11-15 07:37:11 +01:00
Luciano Righetti e1f99a2824 fix: api order not working because of dropped param/incorrect handling, related to #9359 2023-11-09 09:56:57 +01:00
iglocska 075a68f187
Merge branch 'llm_tests' into develop 2023-10-31 15:04:27 +01:00
iglocska d4256ad87a
fix: [llm test] should work nao 2023-10-18 16:45:50 +02:00
Sami Mokaddem cc4a51aea4
fix: [attribute] Log entry with the correct action 2023-10-18 16:14:01 +02:00
iglocska a9f40fe91c
Merge branch '2.4' into develop 2023-05-31 09:01:30 +02:00
iglocska 709a9e270a
fix: [Attribute index] moved to light pagination 2023-05-30 09:01:30 +02:00
Christophe Vandeplas c5483cf4b5 fix: [cleanup] removes some TODO messages #103 2023-05-21 10:09:05 +02:00
Luciano Righetti db47d7f285 chg: move breakOnDuplicate check to Attribute::captureAttribute 2023-04-07 15:29:36 +02:00
Luciano Righetti e62e1b00db fix: handle when a batch of attributes is sent and only a subset has breakOnDuplicate=false 2023-04-07 11:28:16 +02:00
Luciano Righetti 4acc24580d fix: remove unused line 2023-04-06 15:38:52 +02:00