Jakub Onderka
180fb627cc
chg: [internal] Convert array to const
2021-07-27 18:58:04 +02:00
mokaddem
f42a2eb7a1
Merge remote-tracking branch 'origin/develop' into pr-7551
2021-07-14 11:31:08 +02:00
mokaddem
bb72a83ddf
chg: [mispObject:breakOnDuplicate] Provide more feedback
2021-07-14 11:30:31 +02:00
Jakub Onderka
6e61258e0d
fix: [API] Check if user can view object that contains reference
2021-07-07 12:38:49 +02:00
Jakub Onderka
c14e070912
fix: [internal] Relationship import
2021-07-07 12:38:49 +02:00
Sebastiano Mariani
c51ef9da8e
fix: wrong attribute value hash computed inside checkForDuplicateObjects function
...
Signed-off-by: Sebastiano Mariani <smariani@vmware.com>
2021-07-06 11:44:26 -07:00
mokaddem
25cb3942d7
fix: [attribute:first_seen/last_seen] First seen value can be equal to the last_seen value.
...
Fix #7404
2021-05-11 11:23:36 +02:00
mokaddem
06cc58e163
chg: [object] Added validation rules for some fields
2021-05-06 15:53:57 +02:00
mokaddem
7be6575e9b
fix: [attributes] Enforce FS to be before LS (also for ShadowAttributes & Objects)
2021-05-06 15:03:06 +02:00
Jakub Onderka
ad1b373766
new: [log] Audit log
2021-05-03 13:44:44 +02:00
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