Commit Graph

545 Commits (34ba484b0620a5def91532d7fd26569c01570313)

Author SHA1 Message Date
iglocska 49d78bea32 chg: [cleanup] Removed duplicate capture field definitions 2018-08-03 15:03:35 +02:00
iglocska 273af898ce fix: [internal] removed massive duplicate lookup function 2018-08-03 14:58:24 +02:00
Christophe Vandeplas aba4c90e0c
fixes missing hostname|port in network activity mapping
The hostname|port has default category "Network Activity" , but was not allowed by the mapping.
2018-08-03 13:31:23 +02:00
iglocska f712efe85e chg: [internal] instead of replicating the event level distribution rules, the attribute model now inherits the event code 2018-08-03 11:34:55 +02:00
iglocska 1810c920b4 new: [API] rework of the attribute fetcher
- correctly handles attribute tags
- performance improvements due to rework of the internal pagination
- fixes to issues with too many hits on a tag search causing queries that are too long
2018-08-02 15:41:51 +02:00
iglocska 1930823474 fix: [API] set attribute distribution if it isn't set in the capture attribute call
- should have worked via the beforevalidate() but it didn't
- ah well
2018-07-20 16:32:30 +02:00
iglocska a81894f14c chg: [CS] Changed to PSR-2
- to make contributions easier, adopted PSR-2
- used php-cs-fixer to rework the style
- *sniff sniff* Goodbye tab indentation
2018-07-19 11:48:22 +02:00
Steve Clement c607729e18 chg: [i18n] More __(); 2018-07-12 23:36:47 +02:00
iglocska fc40bee6ee fix: [python version] changed generate_file_objects.py's execution to python3 2018-07-06 11:24:16 +02:00
iglocska 8d567782d9 chg: [cleanup] Removed the deprecated GFI sandbox import
- Burn the heretic. Kill the mutant. Purge the unclean.
2018-07-06 10:57:44 +02:00
iglocska 064748d87d new: [internal] setTimestampConditions unified and improved
- no more separate codepath for setPublishTimestampConditions
- accept shorthand time descriptions (1d, 5h, etc)
- always accept single values or arrays with start/end times
2018-07-04 15:33:50 +02:00
iglocska 898aef2e10 new: [data model] Added support for monero - new type xmr
- soft validation
- secondary validation with warnings for malformed addresses
- supporting epic facial hair styles
2018-07-04 10:22:58 +02:00
iglocska c67b575ba6 fix: [bug] Potential fix for SQL return size limit reached when fetching a list of attributes 2018-07-02 10:38:24 +02:00
iglocska 9df31f3f5d fix: Fixed an issue where tags couldn't be added anymore since the last commit 2018-06-22 11:33:11 +02:00
iglocska 35cd81251d fix: [API] tag capture fixed on newly created objects via the API, fixes MISP/PyMISP#236 2018-06-22 06:19:09 +02:00
iglocska e70992c565 fix: Added impfuzzy validation 2018-06-11 17:48:36 +02:00
iglocska ed09fdedbf new: [performance] Made the deadlock fix optional
- old behaviour by default or if the setting is disabled
- new behaviour with non transactional attribute add / correlation add
2018-06-05 18:06:02 +02:00
iglocska 6ad4a16718 fix: potential fix for the deadlock issue addressing #3264
- This will mean a performance hit for correlations / adding attributes in general, but let's see how it goes
2018-05-22 13:56:46 +02:00
iglocska 5a269a8a9a fix: validation issue for objects fixed 2018-05-15 08:48:20 +02:00
iglocska 99206201bd new: Added option to include base64 encoded attachments in the ZMQ output, fixes #3169 2018-05-11 06:15:52 +02:00
iglocska 0324379ebd fix: [validation] Fixed an issue with the unique attribute validation rule blocking legitimate use-cases
- adding an attribute with a matching pair or category/type/value in an existing object-contained attribute would be incorrectly flagged as violating the attribute uniqueness rule
2018-05-10 12:40:53 +02:00
iglocska 86a54ffe77 chg: [validation] Change the unique validation for attributes to be escaped if an object ID is set, as opposed to an object relation 2018-05-10 12:24:45 +02:00
Andras Iklody 1d54d11566
Merge pull request #3215 from ts-way/for-upstream/disable-correlations-fix
Honour `MISP.completely_disable_correlation` on attribute/event save/delete action
2018-05-03 18:03:20 +02:00
iglocska 47df2d5c61 fix: Attribute values that are too long for mysql text fields don't generate warnings and just truncate, fixes #3196
added validation error
2018-05-01 01:28:05 +02:00
Eugenio Paolantonio b022748d63 fix: honour `MISP.completely_disable_correlation` on attribute/event save/delete action
Signed-off-by: Eugenio Paolantonio <eugenio.paolantonio@ts-way.com>
2018-04-26 16:30:11 +02:00
iglocska 2af8bfec4e new: Added event enrichment functionality
- select and run a set of enrichments on all applicable attributes of the event
- exposed to the API
- exposed to the command line tool
- adheres to attribute distributions
2018-04-24 16:41:09 +02:00
iglocska 5391358b0a fix: enforcewarninglist can still accidentally convert the attribute list to an attribute dictionary using attribute fetchAttributes(), fixes #3166 2018-04-19 14:06:12 +02:00
iglocska 00aab4a81e fix: Fixed an edge case where an attribute could be created that is tied to an object but has no object relation 2018-04-17 13:42:34 +02:00
StefanKelm 1cfa3385c6
Update Attribute.php
According to https://cve.mitre.org/news/archives/2014/news.html#jan152014_New_CVE_ID_Format_in_Effect_as_of_January_1_2014 the four-fixed-digits requirement has been dropped
2018-04-12 14:35:04 +02:00
iglocska 025b2a4e5d fix: valueNotEmpty() switched to stringNotEmpty for the attribute value validation
- Core 1+2 of the new laptop
2018-04-09 13:58:24 +02:00
Nils Kuhnert 27e0150692
Assigned "Network activity" as default category for url in $typeDefiitions as defined in $defaultCategories 2018-03-28 15:09:35 +02:00
iglocska 961bef7f1e fix: Financial tool result included in event
- also removing trailing . from domain names
2018-03-28 11:08:00 +02:00
iglocska 37720c38d6 fix: critical API integrity bug, potentially allowing users to delete attributes of other events
- a crafted edit for an event (without attribute UUIDs but attribute IDs set) could overwrite an existing attribute
2018-03-23 11:44:47 +01:00
iglocska 7df39a5dd1 fix: Fixed invalid removal of attributes based on blocked tags using the /attributes/restSearch API 2018-03-14 05:31:21 +01:00
iglocska cbfde6cd3c fix: Correctly fail validation for invalid composite attributes, instead of throwing an exception, fixes #3025 2018-03-14 01:51:56 +01:00
iglocska eadae41be7 fix: Fix notice error when attribute is added with no correlation flag set either way 2018-03-13 14:06:00 +01:00
iglocska c7907bf45a fix: /attributes/text should allow more than one type to be downloaded
- simply pass something such as:

{
  "type": ["ip-src", "ip-dst"]
}
2018-02-28 23:44:56 +01:00
iglocska 788338231e fix: Fixed an issue with no disable_correlation key existing for an event in after save correlation 2018-02-28 11:52:07 +01:00
iglocska 331ee569d0 fix: Changed stupid parameter name to better reflec what it does
- affects /attributes/restSearch
- includeAttributeUuid => includeEventUuid
2018-02-26 16:58:45 +01:00
iglocska b7a53559d9 fix: typo fixed for the previous commit
- apparently can't spell distribution
2018-02-23 13:30:59 +01:00
iglocska a35263c305 fix: No distribution set on the server should default to inherit for object attributes 2018-02-23 11:41:32 +01:00
iglocska 498ba39763 fix: Attribute distribution defaults fixed for adding objects 2018-02-23 11:40:05 +01:00
iglocska 6fe812c595 fix: disable_correlation now works correctly as expected 2018-02-22 14:13:29 +01:00
Andras Iklody 297fe776fc
Merge pull request #2934 from cvandeplas/fix/modules-api
fix - allows upload of files using the misp-modules API
2018-02-18 10:07:21 +01:00
iglocska 9cacfac6d7 fix: Removed debug code, added cleanup for edits/deletes 2018-02-15 01:07:29 +01:00
iglocska 67fe09c67f new: First iteration of ssdeep correlation 2018-02-14 22:55:10 +01:00
Christophe Vandeplas 637a500c1e fix - allows upload of files using the misp-modules API
See also #2719
2018-02-14 13:40:04 +01:00
iglocska be2ae484b5 fix: Do not try to decrement attribute count below 0 2018-02-10 13:32:51 +01:00
Alexandre Dulaunoy 01e018d064
Merge branch '2.4' of github.com:MISP/MISP into 2.4 2018-02-08 11:16:25 +01:00
Alexandre Dulaunoy d50e2207e8
add: mime-type attribute added 2018-02-08 11:07:13 +01:00