Commit Graph

569 Commits (289ce47d64a79510bebc48178581b1853b7505df)

Author SHA1 Message Date
Raphaël Vinot a5f9ac996c fix: make keepalive configuration linux only
Bump deps
2022-08-09 21:27:47 +02:00
Raphaël Vinot 5a0080289f fix: Improper json check on non-json responses
Fix #854
2022-08-03 11:38:24 +02:00
Raphaël Vinot 58976dc35c fix: make flake8 happy 2022-07-28 15:12:40 +02:00
Derekt2 b36d1ba89f
Update api.py 2022-07-25 09:13:28 -05:00
Philipp Hauswirth 4e4e82d0c9 fix typo in logging message 2022-07-21 13:40:37 +02:00
Raphaël Vinot 3882ade918 chg: Bump deps 2022-07-21 11:18:00 +02:00
Raphaël Vinot 56a70265a0 new: Enable TCP keepalive
Related: https://github.com/MISP/PyMISP/issues/848
2022-07-21 11:18:00 +02:00
Tom King 31958dd160 chg: Add ability to filter by sharing group for RestSearch for MISP >= v2.4.158 2022-04-21 10:38:52 +01:00
Raphaël Vinot 883889c9c5 fix: Incorrect call when requesting a new API key 2022-03-03 19:09:58 +01:00
Raphaël Vinot 24e79c8340 new: get_new_authkey for a user 2022-03-03 15:07:28 +01:00
Raphaël Vinot 75cb39e0ca fix: Make mypy happy 2022-01-13 08:32:30 +01:00
Raphaël Vinot f85ccb3e19
Merge pull request #802 from MISP/JakubOnderka-patch-2
fix: PyMISP.get_user_setting method
2021-10-28 16:34:43 -04:00
Raphaël Vinot 2bc689e3c7 chg: Slight changes regarding timezones 2021-10-28 16:11:46 -04:00
Jakub Onderka 74196ee96f
fix: PyMISP.get_user_setting method 2021-10-25 22:51:28 +02:00
Raphaël Vinot ec4172dfba
Merge pull request #795 from tomking2/feature/sharing_group_improvements
Improve sharing groups, new get_sharing_group and return sharing group orgs
2021-10-14 14:51:11 +02:00
Tom King b3dee88fab fix: Fix nosetests 2021-10-04 11:52:35 +01:00
Tom King c120db02b8 chg: Improve sharing groups, bring back organsations included and ability to get specific SG 2021-10-04 11:41:36 +01:00
Tom King 43d8cdff4a chg: Add ability to search against orgs and users by freetext search (both) or organisation (users) 2021-10-04 11:39:43 +01:00
Raphaël Vinot 253730759a fix: Upload of STIX document with non-ascii characters
Due to: https://github.com/psf/requests/issues/5560

TL;DR: a variable of type str passed to data in a POST request will be
silently re-encoded to ISO-8859-1, making MISP barf on the other side.
2021-09-09 16:58:27 +02:00
Raphaël Vinot 0bdfb3892d chg: Bump live tests 2021-09-07 14:26:22 +02:00
Raphaël Vinot d84a488dc3 fix: Typo in key name 2021-08-05 11:06:18 +02:00
Jakub Onderka 4c7f2299c4 chg: `get_taxonomy` supports namespace 2021-08-05 10:59:35 +02:00
Jakub Onderka 6aa6c7d8bd new: Method `organisation_exists` 2021-08-05 10:59:35 +02:00
Jakub Onderka fcacc9274d new: Method `sharing_group_exists` 2021-08-05 10:59:30 +02:00
Jakub Onderka ceb34ecad0 new: Method `update_sharing_group` 2021-08-05 10:57:36 +02:00
Jakub Onderka d44d3cd0e4 new: Save one REST call when initialize PyMISP class 2021-06-28 13:33:59 +02:00
Raphaël Vinot 436181e5bb fix: properly handle the case MISP is in a sub redirect
Fix #757
2021-06-17 19:48:15 -07:00
Raphaël Vinot fcb4d41d63 new: Exclude decayed attributes in search
Fix #753
2021-06-08 10:09:14 -07:00
Raphaël Vinot db1ffe7be6 new: method to get the raw object template 2021-05-11 12:30:00 -07:00
Raphaël Vinot 18049212a5 new: Support for correlation exclusion list
Fix #732
2021-04-22 10:47:58 +02:00
Raphaël Vinot b471633acb fix: Enable/disable feeds 2021-04-20 15:36:11 +02:00
Raphaël Vinot 95e31bd2e3 chg: Add comment for controller attribute in search 2021-04-06 20:05:10 +02:00
Raphaël Vinot 5cc994e253 chg: get_uuid_or_id_from_abstract_misp accepts dict 2021-03-30 14:31:31 +02:00
Raphaël Vinot c68ee576b3 fix: use get_uuid_or_id_from_abstract_misp in tag methods
Fix #725
2021-03-30 14:23:32 +02:00
Raphaël Vinot 51edb8ab33 chg: Remove references to ExpandedPyMISP
Fix #721
2021-03-16 18:32:50 +01:00
Raphaël Vinot aee6945e95 fix: enable taxonomy failed if global pythonify is on 2021-03-09 16:35:00 +01:00
Raphaël Vinot bbd341539a fix: properly pass content-type 2021-03-05 11:42:24 +01:00
Raphaël Vinot 0697f1470b fix: Re-enable support for uploading STIX 1 documents
Fix #711
2021-03-04 12:35:52 +01:00
Raphaël Vinot 9f7282e8f4 fix: cosmetic changes, fix mypy 2021-03-02 12:21:59 +01:00
Raphaël Vinot 1533da3558 chg: Improve Pydoc on search method's timestamp parameter
Fix #708
2021-02-27 14:53:15 +01:00
Raphaël Vinot 28fed5c778 fix: support text search again
Fix #705
2021-02-27 14:53:15 +01:00
Raphaël Vinot 59bb0a7bb6 fix: urllib3.__version__ may not have a patch number
fix https://github.com/MISP/PyMISP/issues/698
2021-02-27 14:53:15 +01:00
Tom King a94b81ae72 Merge remote-tracking branch 'upstream/main' into feature/misp-galaxy-2 2021-02-08 11:50:38 +00:00
Raphaël Vinot 6c9234846f chg: add kw_params to tags 2021-02-04 19:41:26 +01:00
Raphaël Vinot 4cf1e9afc3 fix: flake error 2021-02-01 14:16:55 +01:00
Raphaël Vinot 7e4c15ee4d chg: Make mypy happy 2021-02-01 13:45:53 +01:00
Raphaël Vinot c5218c1ce2 chg: Fix return of delete_event_report 2021-02-01 13:43:24 +01:00
Tom King a8169a42c0 chg: Allow response of delete to be pythonify, add in nosetest 2021-02-01 13:23:19 +01:00
Tom King c949c09225 chg: Add ability to get event reports from the Event ID 2021-02-01 13:23:19 +01:00
Tom King f71c250402 new: Add in ability to create/update/delete MISP Event Reports 2021-02-01 13:21:03 +01:00