Andras Iklody
5b8afa1a4f
Merge pull request #7342 from Wachizungu/fix-checkForDuplicateObjects-typo
...
chg: [MispObject] fix copy paste error in checkForDuplicateObjects
2021-04-19 22:41:45 +02:00
Jeroen Pinoy
d1556d21b3
chg: [MispObject] fix copy paste error in editObject
2021-04-15 04:49:03 -07:00
Jeroen Pinoy
233c1f2fe9
chg: [MispObject] fix copy paste error in checkForDuplicateObjects
2021-04-15 04:39:47 -07:00
iglocska
a0f08501d2
fix: [security] Sharing group misassociation on sync
...
- when an object has a sharing group associated on an event edit, the sharing group object is ignored and instead the passed local ID is reused
- as reported by Jeroen Pinoy
2021-04-08 10:57:20 +02:00
mokaddem
3cb87fcf9b
Merge branch 'develop' of github.com:MISP/MISP into develop
2021-02-16 11:06:17 +01:00
mokaddem
a7834a291b
new: [object] Allows updating from an unknown object templates
2021-02-16 11:04:11 +01:00
iglocska
8bde7d01f4
fix: [breakOnDuplicate] on event add fixed, fixes #6917
...
- add breakOnDuplicate on the event level as a flag
- {"Event":{"breakOnDuplicate":1, "info": "foo", ...}}
- correctly handle 2 equal objects added to the same event in memory
2021-02-16 00:15:18 +01:00
iglocska
a335dff2e2
fix: [breakOnDuplicate] invalid placement return, affects #6917
...
- as reported by @github-germ
2021-02-03 08:48:42 +01:00
iglocska
0a062215b8
new: [object add] make add event / edit event breakOnDuplicate aware
...
- cull objects that would be duplicates
- cache the fetching of existing objects to speed up the query
- thanks to @github-germ for the suggested fixes to the duplicate checking to accomodate this patch
2021-01-20 15:10:16 +01:00
iglocska
7493f9e8c3
fix: [object] the optional blocking of duplicates fixed for objects including malware samples
...
- also looping the attributes through the pre-validation massaging ensures that attributes modified by it are correctly compared
2021-01-12 15:02:20 +01:00
iglocska
88d7e08606
Merge branch '2.4' into develop
2021-01-12 13:09:48 +01:00
iglocska
68596db5be
fix: [objects] breakonduplicate fixed
2021-01-12 13:06:52 +01:00
Jakub Onderka
1a184ebbb5
new: [internal] Allow to output directly TmpFileTool
2020-12-21 21:02:37 +01:00
mokaddem
b9dd089be3
fix: [object] Send all required arguments
2020-11-18 12:07:29 +01:00
mokaddem
217abfc2f8
fix: [mispObject:save_object] Returns error in correct format.
...
Fix #6598
2020-11-17 11:37:40 +01:00
mokaddem
774c4c104a
fix: [object:deltaMerge] Stopped updating object's attributes when updating the FS/LS.
...
- Make sure to compare the correct date value of FS/LS and not their representation
2020-11-11 09:56:05 +01:00
mokaddem
a076562817
fix: [object:edit] Changes on fs/ls handling for object's attributes
...
- Allow object's attributes to have fs/ls different from their object.
- Object's attribute's timestamp is no longer refreshed when editing an object unless the attribute changed
- Object's attribute's inherit their object fs/ls if unset
2020-11-06 09:09:50 +01:00
Jakub Onderka
bc9be1f5c9
fix: [internal] `Undefined index: value` warning
2020-10-29 09:07:28 +01:00
Jakub Onderka
b031ad3a07
chg: [internal] Change method name to show that it just filter one attr
2020-10-03 10:17:05 +02:00
Jakub Onderka
bbb08e4074
new: [warninglist] Cache warninglist results
2020-10-03 10:17:05 +02:00
Jakub Onderka
73cc4b7044
fix: [internal] Conditions when object distribution is set to org only
2020-09-21 11:33:19 +02:00
Jakub Onderka
32acd3895d
chg: [internal] Simplify objects conditions
2020-09-20 19:02:57 +02:00
Jakub Onderka
3d4142f836
fix: [internal] Fetching objects with attachments
2020-09-20 18:54:04 +02:00
Jakub Onderka
08e2a18b2c
chg: [internal] Use cached sharing groups IDs when fetching objects
2020-09-20 18:43:07 +02:00
Jakub Onderka
f52eee457a
fix: [internal] Remove duplicate check for published event when fetch objects
2020-09-20 18:34:38 +02:00
Jakub Onderka
6a017f63fe
fix: [internal] Remove duplicate conditions for object restSearch
2020-09-20 18:20:23 +02:00
Jakub Onderka
8f897af503
fix: [internal] Code style
2020-09-20 18:20:23 +02:00
Jakub Onderka
636fc74d8a
fix: [internal] Invalid conditions for sharing group when fetching objects
2020-09-20 18:20:23 +02:00
Jakub Onderka
935437d1bc
chg: [internal] Invalid message for UUID contains that UUID must be RFC 4122 compliant
2020-09-18 10:56:28 +02:00
Jakub Onderka
0e916bd364
chg: [internal] Ensure that UUID is always lowecase and real UUID
2020-09-08 10:47:28 +02:00
Golbark
3a0bedb104
chg: [internal] Using Allowedlist instead of Whitelist
2020-09-01 16:28:20 +02:00
Jakub Onderka
b6116098c0
fix: [security] Throw exception if invalid data provided
2020-08-05 12:39:11 +02:00
Jakub Onderka
03c78fedf7
fix: [ACL] Unpublished private for object do not apply for site admin
2020-08-05 12:39:11 +02:00
Jakub Onderka
f0f826841e
fix: [security] Sharing groups for objects respect permissions
2020-08-05 12:39:11 +02:00
Jakub Onderka
db626cf741
fix: [security] Respect ACL when event edit
2020-08-04 12:21:42 +02:00
mokaddem
3d224cfdb8
Merge branch '2.4' of github.com:MISP/MISP into fix-mass-edit-form-with-post
2020-07-30 15:29:20 +02:00
mokaddem
8420663ae1
fix: [object:edit] Updating an object to a new template acutally save
...
the template version
Fix #6083
2020-07-29 15:46:20 +02:00
mokaddem
f92467643b
chg: [objects:edit] Merge data is passed via cookies instead of the URI
2020-07-27 16:10:47 +02:00
mokaddem
cda56bdbd3
fix: [attribute:editableFields] Typo in variable name
2020-07-24 16:19:02 +02:00
mokaddem
f53ba3675e
chg: [AttributeTags:handleAttributeTags] More generic way to handle
...
capture and association
2020-07-24 14:30:41 +02:00
mokaddem
6c1bbf0fde
chg: [attribute] Added tag handling when saving attributes and objects
2020-07-24 13:55:34 +02:00
mokaddem
f9b851f229
fix: [object:edit] Correctly set the SG of the added new attributes
...
Fix #6025
2020-07-24 10:13:54 +02:00
mokaddem
e05505eb60
chg: [object] Avoid notices if some object attributes fields are not set
2020-07-23 12:26:22 +02:00
mokaddem
f26503de48
chg: [object:edit] Allow deleting objects by passing `deleted` flag
...
Fix #6024
2020-07-23 11:52:46 +02:00
iglocska
662cdbc7b7
fix: [sync] drop the republishing of events when the modification is merely a timestamp bump
...
- due to an already fixed issue still lingering, invalid event edits keep getting synchronised between instances
- these events still generate publish alerts erroneously
- this fix compares the previous state of the event to the modification, if there are no material changes (attributes, objects, object relations, event tags added/updated) then the publishing is dropped.
2020-07-22 13:10:52 +02:00
Andras Iklody
e6995dab67
Merge pull request #6035 from JakubOnderka/rest-search-optim
...
chg: [internal] Attribute REST search optimisations and error handling
2020-07-07 12:18:29 +02:00
Richard van den Berg
b9865f719d
fix: [MispObject] Do not unpublish synced events, fixes #4838
2020-07-06 09:17:44 +02:00
Jakub Onderka
3d12cb3f3c
chg: [internal] Attribute REST search optimisations and error handling
2020-06-19 23:45:22 +02:00
iglocska
82425123ab
fix: [internal] object level restsearch issues resolved when querying via filters on the attribute scope, fixes #6016
...
- use subqueries instead of trying to query on the current scope
- associated find queries don't work on habtm relationships
2020-06-14 20:23:48 +02:00
mokaddem
bb167029eb
new: [userSettings] New setting `default_restsearch_parameters`
...
It allows users to supply restSearch parameters that will be injected
(and possibly overridden) into the restSearch filters.
2020-05-29 15:23:27 +02:00