Commit Graph

81 Commits (1f2b5f132970257096cf158787a864bba6052a26)

Author SHA1 Message Date
Raphaël Vinot cd2995a212 fix: Print the full json blob in debug mode
Related https://github.com/MISP/PyMISP/issues/462
2019-11-15 13:59:55 +01:00
Raphaël Vinot c5dfa9b509 new: Test cases for restricted tags
Fix #483
2019-11-11 16:39:20 +01:00
Raphaël Vinot 8c2bbaa13c new: Get Database Schema Diagnostic
Fix #492
2019-11-11 14:28:17 +01:00
Raphaël Vinot 047f3f96e8 fix: Avoid exception on legacy MISP 2019-10-30 16:27:31 +01:00
Shortfinga f79f5584ed Corrected docstring 2019-10-23 13:41:11 +02:00
Raphaël Vinot cde248b825 Merge branch 'master' of github.com:MISP/PyMISP 2019-10-16 17:22:33 +02:00
Raphaël Vinot c509b22beb new: Add support for UserSettings 2019-10-16 17:22:19 +02:00
ater49 6852887180
Update aping.py
Just fixing a typo
2019-10-14 08:42:29 +02:00
Raphaël Vinot 02659a5782 chg: Add support for rapidjson, refactoring and code cleanup. 2019-10-09 16:07:40 +02:00
Raphaël Vinot f312f87072 fix: Objects helpers were broken, do not overwrite describe_types 2019-10-08 09:28:33 +02:00
Raphaël Vinot 3bb220c94b chg: Cleanups and improvements 2019-10-08 08:15:56 +02:00
Raphaël Vinot 6303c6c6a9 Merge branch 'template-cache' of https://github.com/mback2k/PyMISP into mback2k-template-cache 2019-10-06 13:08:39 -06:00
Marc Hoersken e05c7d9b4f Cache JSON definitions in memory LFU cache provided by cachetools
- Path and modified time of JSON file are used as the cache key
- Global state is hidden away inside a root-class for re-use
- Maximum size is 150 considering the number of JSON definitions

During my tests the memory usage of the test suites was halved.
2019-10-03 19:30:57 +02:00
Raphaël Vinot f50632579c Merge branch 'master' of github.com:MISP/PyMISP 2019-09-28 14:34:15 -06:00
Raphaël Vinot 629fd14310 chg: Add missing return formats in restsearch, bump objects 2019-09-28 14:33:38 -06:00
Antoine Cailliau 8d81f318cd Adds support to add local tags.
Requires https://github.com/MISP/MISP/pull/5215 to be merged first.
2019-09-26 10:26:59 +02:00
Raphaël Vinot 7324ae72e6 new: Better handling of delete(d) attributes
* Hard delete on attribute
* Get the deleted attributes within an event
2019-09-13 16:12:45 +02:00
Raphaël Vinot b800dcb4b4 chg: Dump dependencies, update tests 2019-09-11 14:20:55 +02:00
Raphaël Vinot daca32db36 fix: Event delegation was incorrect 2019-08-30 14:19:52 +02:00
Raphaël Vinot 7bf6005576 new: [Community] Request access 2019-08-30 11:45:56 +02:00
Raphaël Vinot 7402e1b3b6 new: Initial support for communities 2019-08-29 18:08:53 +02:00
Raphaël Vinot a5d4910c1f new: Contact event reporter 2019-08-28 16:02:26 +02:00
Raphaël Vinot f133cb9477 chg: Re-enable a few test cases 2019-08-27 10:43:58 +02:00
Raphaël Vinot bfd57e7741 chg: [tests] Check the type of the response 2019-08-26 20:18:12 +02:00
Raphaël Vinot 0b7314c474 new: Delegate Event
And more test cases
2019-08-26 16:24:48 +02:00
Raphaël Vinot e95948bcf6 chg: Better handling of sightings. 2019-08-20 15:34:21 +02:00
Raphaël Vinot 85643da9ae fix: Fallback to propose attribute update. 2019-08-16 11:44:32 +02:00
Raphaël Vinot 2e84dd69fc chg: Update and improve live testing 2019-08-16 10:48:06 +02:00
Raphaël Vinot 2d37c68bd7 chg: Add tests cases for sync, bump describeTypes 2019-08-12 14:12:40 +02:00
Raphaël Vinot 96576af02b new: Helpers & testcases for syncing 2019-08-09 17:58:55 +02:00
Raphaël Vinot f9c8fb815e new: Update MISP, test sync server 2019-08-07 18:19:52 +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 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 66ccc7d082 new: [Search] Add a few new options in rest search 2019-08-02 17:08:25 +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
Georges Toth 7cc72349c1 wrong variable 2019-07-30 01:13:08 +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 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 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
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 633f75db24 new: Improve python3.6+ lib 2019-04-11 23:13:15 +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