Commit Graph

945 Commits (d55a5f90dec382e5d9c68f34959cdf8d19390809)

Author SHA1 Message Date
Raphaël Vinot 7a5945a5ce fix: Properly __repr__ MISPUser 2019-08-07 18:20:38 +02:00
Raphaël Vinot f9c8fb815e new: Update MISP, test sync server 2019-08-07 18:19:52 +02:00
Raphaël Vinot da6d7cbeb8 fix: move __not_jsonable *inside* the __init__
Turns out, if you modify a variable defined outside the __init__,
every instances (and inherited classes) of that class will be impacted by it.
2019-08-07 16:09:56 +02:00
Raphaël Vinot a3140f3773 new: Properly support attribute/add of multiple attributes (2.4.113+) 2019-08-06 16:50:09 +02:00
Raphaël Vinot 89a24d4923 chg: Some more code cleanup 2019-08-06 14:26:54 +02:00
Raphaël Vinot 5286462361 chg: Code cleanup 2019-08-06 14:23:32 +02:00
Raphaël Vinot e993886dd7 fix: Exception when posting multiple attributes on attributes/add
Fix #433

Few cleanups in code.
2019-08-06 14:14:28 +02:00
Raphaël Vinot 277f9a6037 chg: Bump describeTypes 2019-08-05 11:34:59 +02:00
Raphaël Vinot d160edce57 fix: Inconsistency in MISPEvent, reenable tests 2019-08-03 00:54:08 +02:00
Raphaël Vinot 1ac62e8e4e chg: Bump version 2019-08-02 17:09:44 +02:00
Raphaël Vinot 66ccc7d082 new: [Search] Add a few new options in rest search 2019-08-02 17:08:25 +02:00
chrisr3d 0e024760d1
add: New attribute type weakness 2019-08-01 16:47:38 +02:00
Paal Braathen 8d302d3ea6 Fix missing f in f-string
Fixes: #429
2019-08-01 15:47:40 +02:00
Raphaël Vinot b1c79f939b chg: [tests] Few improvements 2019-08-01 15:10:48 +02:00
Raphaël Vinot 1b85f73d89 chg: [tests] Add new test cases 2019-08-01 13:19:21 +02:00
Raphaël Vinot 1f6c238370 Merge branch 'master' of github.com:MISP/PyMISP 2019-07-30 20:15:15 +02:00
Raphaël Vinot 9352062de3 fix: PyTaxonomies is not compatible with python<3.6 2019-07-30 20:14:50 +02:00
Georges Toth 7cc72349c1 wrong variable 2019-07-30 01:13:08 +02:00
Raphaël Vinot 0957399799 new: Allow to change the template on an object on-the-fly
Related: #425
2019-07-25 14:53:30 +02:00
Raphaël Vinot d477a3688c chg: Rename relationship included-in -> includes 2019-07-24 13:57:36 +02:00
Raphaël Vinot 96f65b7d29 chg: Bump misp-objects 2019-07-24 09:32:12 +02:00
Raphaël Vinot 5a3e3def97 new: get_objects_by_name in MISPEvent
new: Convert datetime objects to python datetime.
2019-07-23 16:37:26 +02:00
Raphaël Vinot 4d45587dc5 fix: [deprecation] Wrong deprecation message
Also, deprecated method was broken.

Fix #424
2019-07-22 15:18:25 +02:00
Raphaël Vinot 38140e3a45 chg: Bump verison 2019-07-22 11:41:26 +02:00
Raphaël Vinot a6a0fcd4fb chg: Make pythonify=False default everywhere
Add a method to toggle pythonify globally
2019-07-22 11:28:31 +02:00
Raphaël Vinot a40e383b18 fix: [objects] Allow the value of an attribute to be 0 2019-07-22 00:42:44 +02:00
Raphaël Vinot 55c2bff26b fix: Properly handle fallbacks add/update/delete attributes 2019-07-19 16:26:28 +02:00
Raphaël Vinot 1ae058acde fix: [add_attribute] Only create a proposal when needed 2019-07-19 14:46:28 +02:00
Raphaël Vinot f5cbb417c8 new: [Sightings] Delete method
Fix #230
2019-07-19 11:42:05 +02:00
Raphaël Vinot 60a2bdfd43 chg: Bump version 2019-07-18 14:55:48 +02:00
Raphaël Vinot 4ade9b8130 fix: Python < 3.6 support 2019-07-18 14:16:18 +02:00
Raphaël Vinot 9d0be8d3f0 new: Add option to locally expand malware samples with LIEF 2019-07-18 14:05:08 +02:00
Raphaël Vinot 16ac0b2c14 chg: Bump misp-objects 2019-07-17 17:16:09 +02:00
Raphaël Vinot 2d0d36e578 chg: Improve deprecation message on PyMISP 2019-07-17 17:12:28 +02:00
Raphaël Vinot ce4cb36d0d chg: Reorganise ExpandedPyMISP methods, normalise the parameters 2019-07-17 15:37:14 +02:00
Raphaël Vinot c9d58dad8a chg: Deprecate everything in PyMISP 2019-07-17 11:44:55 +02:00
Raphaël Vinot 84935c211f chg: Bump version 2019-07-12 16:09:02 +02:00
Raphaël Vinot ccad2321a5 chg: Bumb misp-objects 2019-07-12 16:07:08 +02:00
Raphaël Vinot b8b384a3c3 Merge branch 'master' of github.com:MISP/PyMISP 2019-07-04 16:57:15 +02:00
Raphaël Vinot 7d5b55fcdc fix: Skip attribute in object when value is empty, skip empty objects. 2019-07-04 16:56:56 +02:00
Raphaël Vinot 9f53426202
Merge pull request #408 from tomking2/master
Introduce ability to create a sharing group
2019-07-04 10:59:33 +02:00
Raphaël Vinot 24f31e44a1
Merge pull request #410 from tomking2/feature/delete_sharing_group
chg: Allow for deletion of security group
2019-07-04 10:58:48 +02:00
Raphaël Vinot 7c76d6be39
Merge pull request #409 from 3c7/bugfix/openioc_datatypes
[OpenIOC] Allow the use of content type for RouteEntryItem/Destination
2019-07-04 10:35:40 +02:00
Raphaël Vinot e0fac90310 new: Allow to pass delimiter & quotechar to the CSV loader 2019-07-02 11:55:51 +02:00
Tom King fcfe058509 chg: Allow for deletion of security group 2019-06-20 09:11:51 +01:00
0x3c7 7be58af56a
[openioc] changed default mapping for RouteEntryItem/Destination/string. 2019-06-19 12:45:20 +02:00
Tom King 709ba2c29c chg: Remove roaming as it can't be set in this request 2019-06-19 10:40:15 +01:00
Tom King ffcc7e0631 new: Introduce ability to create a sharing group 2019-06-19 10:25:34 +01:00
0x3c7 b7d15380c9
[openioc] Changed mapping for RouteEntryItem/Destination/string to domain instead of url because UrlHistoryItem/URL is mostly used for urls 2019-06-19 07:39:15 +02:00
0x3c7 42a3dcf704
Fixes other mapping to other types 2019-06-19 07:38:15 +02:00
0x3c7 efd8b80adb
[openioc] Allow the use of types in openioc content tags 2019-06-18 16:10:20 +02:00
mokaddem 98ce3f803e fix: [direct_call] Allows the response type to be something else than a
JSON (e.g. csv).
2019-05-22 11:55:03 +02:00
Raphaël Vinot 121d8853e2 new: Method to POST a STIX file to MISP and create a new event. 2019-05-21 16:47:10 +02:00
Raphaël Vinot 3b56b218b5 new: Object generator for ssh authorized_keys files. 2019-05-20 16:40:47 +02:00
Jeroen Pinoy 309b767864 Added includeWarninglistHits as a possible filter for the event level restsearch. 2019-05-12 01:08:21 +02:00
Raphaël Vinot 767859c264
Merge pull request #385 from l3m0ntr33/master
Resolve issue with change_sharing_group which do not update event suc…
2019-05-08 16:31:42 +02:00
Raphaël Vinot de65608a12 fix: Properly fix deprecation warning
fix #390
2019-05-08 10:12:41 +02:00
Raphaël Vinot 5a4c37d029 chg: Bump dependencies. 2019-05-07 11:04:25 +02:00
hrifflet 56f80960f2 Resolve issue with change_sharing_group which do not update event successfully. 2019-04-30 15:12:08 +00:00
Christophe Vandeplas bd758f06c1 new: Allow custom user-agent 2019-04-30 11:42:46 +02:00
Raphaël Vinot 810468e169 chg: Bump Objects 2019-04-24 15:45:54 +02:00
Raphaël Vinot 78d59ca9b6 chg: Bump version, Bump changelog 2019-04-24 15:39:51 +02:00
Raphaël Vinot 67cb8e9d53 chg: Allow to pass a eml as string to EmailObject 2019-04-24 15:37:40 +02:00
Raphaël Vinot a95ec9b774 Merge branch 'master' of github.com:MISP/PyMISP 2019-04-16 11:43:45 +02:00
Raphaël Vinot dac51fdec3 chg: Bump misp-objects 2019-04-16 11:42:58 +02:00
Raphaël Vinot b67d2e024c chg: Allow to pass an AbstractMISP to add_reference
Fix #379
2019-04-16 11:41:43 +02:00
Steve Clement b6dc0a196b fix: [typo] Fixed a small typo I noticed in the docs. 2019-04-16 09:07:57 +09:00
Raphaël Vinot 633f75db24 new: Improve python3.6+ lib 2019-04-11 23:13:15 +02:00
Raphaël Vinot 52402c2acf new: add_attributes method in MISPObject (for multiple attributes) 2019-04-09 17:54:12 +02:00
Raphaël Vinot b1b9f95501 new: Method to set the default role 2019-04-04 16:39:17 +02:00
Raphaël Vinot 3fb54e62b2 new: Default to "me" in the get_user method, update ExpandedPyMISP
Fix #377
2019-04-04 14:37:17 +02:00
Raphaël Vinot 99b2052449 new: Add get_object to ExpandedPyMISP.
Fix #372
2019-04-04 10:42:37 +02:00
Raphaël Vinot 1de4c9d0b9 new: Test cases for CSV loader, add cleaner methods in ExpandedPyMISP 2019-04-03 17:46:52 +02:00
Raphaël Vinot e5a42b812f new: Add CSV loader
Fix #376
2019-04-03 16:28:31 +02:00
Raphaël Vinot 1e060f669f new: Helper to create MISP Objects for regcheck.org.uk 2019-04-02 17:13:07 +02:00
Raphaël Vinot dd236d9f8b chg: Bump misp-objects 2019-03-20 11:13:21 +01:00
Raphaël Vinot f53690f406 chg: Orders of tests in make_bool 2019-03-20 10:44:12 +01:00
Raphaël Vinot 1dddfd72e0 Merge branch 'master' of github.com:MISP/PyMISP 2019-03-15 10:57:55 +01:00
Raphaël Vinot 9f4cd243aa fix: Improper handling of to_ids passed as integer in MISPEvent
Fix #364
2019-03-15 10:53:00 +01:00
Falconieri bdff7e635f fix: [exportpdf] Doc update 2019-03-14 08:11:30 +01:00
Falconieri ea4ed24f4f fix: [exportpdf] Coding Style 2019-03-14 08:02:45 +01:00
Raphaël Vinot 9902a6d79d fix: PDF Export requires python 3.6+. 2019-03-12 16:17:20 +01:00
Raphaël Vinot 9d2251cb38 chg: Initial set of refactoring on PDF generator 2019-03-12 15:14:44 +01:00
Raphaël Vinot 637af49b21
Merge pull request #362 from Vincent-CIRCL/master
fix: [exportpdf] Custom path for fonts and font package
2019-03-12 13:05:52 +01:00
Jacco Ligthart 00bce80bdb
fix for "'NoneType' object has no attribute 'setdefault'" 2019-03-11 13:12:29 +01:00
Raphaël Vinot ea6aeff4e1 fix: Allow to use global variables HTTP_PROXY and HTTPS_PROXY again
Fix #365
2019-03-11 11:56:56 +01:00
Raphaël Vinot ec6439ce34 fix: Slight changes in new .change_disable_correlation method 2019-03-11 11:32:54 +01:00
Raphaël Vinot e73bdc765e Merge branch 'master' of https://github.com/l3m0ntr33/PyMISP into l3m0ntr33-master 2019-03-11 11:07:47 +01:00
Raphaël Vinot c592bfcca9 fix: get_object_template_id was broken. Add test case.
Fix #361
2019-03-11 10:15:45 +01:00
hrifflet e91d4a7d2d Add new function PyMISP.change_disablecorrelation(attribute_uuid,disable_correlation) to be able to enable/disable correlation on attributes. 2019-03-08 11:33:33 +00:00
Falconieri 9d6585cd3a fix: [exportpdf] Custom path for fonts and font package 2019-03-05 11:37:01 +01:00
Raphaël Vinot b8759673b9 chg: Add i8n for pdfexport, without all the fonts in the main repo 2019-03-04 16:06:38 -08:00
Raphaël Vinot e3c96d9d85 chg: Bump version 2019-03-01 10:46:48 -08:00
Falconieri 1b8921d820 fix: [exportpdf] fix empty object/attribute/galaxy bugs 2019-03-01 11:12:04 +01:00
Falconieri b2c5477cd9 fix: [exportpdf] Add suggestions (UX) 2019-03-01 10:45:44 +01:00
Falconieri ead9cec7d3 fix: [exportpdf] switch page size to A4 2019-03-01 09:56:38 +01:00
Falconieri 39b4677bf9 fix: [exportpdf] switch page size to A4 2019-03-01 09:55:42 +01:00
Falconieri f1d2f3ae1e Merge branch 'master' of github.com:Vincent-CIRCL/PyMISP 2019-03-01 09:22:55 +01:00
Falconieri e6291e71d5 fix: [exportpdf] None if no Galaxies bug 2019-03-01 09:21:48 +01:00
Vincent-CIRCL 83ef1b851e
Merge branch 'master' into master 2019-03-01 09:07:45 +01:00