Commit Graph

630 Commits (30819e141fb6cd267342e274dde9f79660c2b8f3)

Author SHA1 Message Date
Raphaël Vinot 0d88a9d909 fix: Avoid exception on dev releases 2024-11-15 12:37:24 +01:00
iglocska 7599037e94
chg: [tests] misp_instance_version_master now uses the 2.5 branch 2024-10-04 13:26:02 +02:00
Raphaël Vinot 865a8a50ca fix: Make mypy happy 2024-09-14 15:58:27 +02:00
Raphaël Vinot 3237a5ed7e fix: Avoid printing huge log when a request fails
fix #1286
2024-08-22 00:35:38 +02:00
Raphaël Vinot b582999d7b new: Add delete role, test suite for roles 2024-07-26 11:43:20 +02:00
Raphaël Vinot 5a17f057e7 fix: Do not let a user pass a full dict as tagname 2024-07-26 11:00:29 +02:00
Tobias Mainka 4e85c93a9f re-naming variables to make tests happy. 2024-07-22 15:16:47 +02:00
Tobias Mainka 2665aff327 added support to add or update a MISP role 2024-07-22 14:56:25 +02:00
Raphaël Vinot feadedeadb Merge branch 'wip_analystdata' 2024-05-22 11:31:14 +02:00
Vincenzo cd078e2ead Add attach galaxy cluster method 2024-05-19 16:25:05 +02:00
Raphaël Vinot 2cf5d99dc8 chg: A bit more refactoring 2024-05-06 16:39:07 +02:00
Raphaël Vinot 10ca6f191a fix: more changes to get the tests to pass 2024-05-06 14:40:25 +02:00
Raphaël Vinot 902ed5a92c chg: use from_dict in the mixin to initialize the objects 2024-05-06 12:19:04 +02:00
Sami Mokaddem 56be46320e
chg: [analyst-data] Added improvements, API endpoints and tests 2024-05-03 15:48:03 +02:00
Jeroen Pinoy 1daac6ef86
chg: allow orgc context for search_galaxy_clusters 2024-04-27 01:35:10 +02:00
Raphaël Vinot 763ab4198e fix: Strip API key before setting it. 2024-03-22 15:47:15 +01:00
Raphaël Vinot 65ea540bc4 fix: Python 3.8 support & typing. 2024-03-22 11:45:40 +01:00
Raphaël Vinot b11aa31048 fix: Typing for Python < 3.10 2024-03-22 11:40:45 +01:00
Raphaël Vinot 2b66a3eabd new: Support X-MISP-AUTH Header
Also, improve HTTP headers init

Fix #1179
2024-03-22 11:39:19 +01:00
Raphaël Vinot df9c20c86e chg: Bump deps 2024-03-22 09:59:32 +01:00
Raphaël Vinot 94ff206f67 fix: Disable WL when calling the disable method, not toggle.
Fix #1159
2024-02-22 14:29:45 +01:00
Raphaël Vinot 685ef22d0a fix: revert typing changes. 2024-02-02 15:05:15 +01:00
Raphaël Vinot 9d4d083e46 Revert "fix: More responses athat are lists"
This reverts commit 709a10c64c.
2024-02-02 14:28:04 +01:00
Raphaël Vinot 709a10c64c fix: More responses athat are lists 2024-02-02 13:24:29 +01:00
Raphaël Vinot e91a7922a7 fix: another call that cn be a list or a dict. 2024-02-02 13:07:37 +01:00
Raphaël Vinot b5b4a5ef52 fix: More fixes to support responses from MISP 2024-02-01 17:24:24 +01:00
Raphaël Vinot c3a3868f42 fix: handle list responses properly 2024-02-01 15:32:00 +01:00
Raphaël Vinot 1da0d5adc1 chg: Add more strict typing, not done yet. 2024-02-01 14:40:12 +01:00
Raphaël Vinot 298e2f9035 chg: First batch of changes for strict typing 2024-01-30 12:51:23 +01:00
Raphaël Vinot d8850c59ea
Merge pull request #1134 from JakubOnderka/orjson
orjson and small fixes and optimizations
2024-01-17 13:43:21 +01:00
Raphaël Vinot a298245fd2 fix: Python < 3.10 support on typing, for good. 2024-01-17 13:40:10 +01:00
Raphaël Vinot f11681af52 fix: Python < 3.10 support on typing 2024-01-17 13:38:00 +01:00
Raphaël Vinot 0562c63cec chg: Initial changes to use new annotations 2024-01-17 13:28:51 +01:00
Jakub Onderka 292948aa58 chg: [internal] Simplify code 2024-01-16 21:57:30 +01:00
Raphaël Vinot d329a5e095 new: relationship_type in tag
Fix https://github.com/MISP/MISP/issues/9483
2024-01-10 14:08:48 +01:00
Jakub Onderka fca0b233cd new: [internal] Add support for orjson
orjson is much faster library for decoding and encoding JSON formats
2024-01-07 18:34:20 +01:00
Steven 00df6e23fb
Fix api ssl verify typing 2023-12-15 11:19:28 +01:00
Steven 51433ff08a
Add HTTPS Adapter
Add the ability to provide a custom HTTPS adapter to the PyMISP class. With M2Crypto and m2requests, this can enable mutual TLS with hardware tokens.
2023-12-15 10:38:01 +01:00
Raphaël Vinot 09f55f5167 fix: Avoid confusing error when an auth key is limited to an IP
Fix #1099
2023-11-14 12:26:23 +01:00
Raphaël Vinot 5d39d81152 chg: Bump version, make __version__ dynamic 2023-10-24 15:09:25 +02:00
Raphaël Vinot 507b8195ae chg: Make mypy happy 2023-10-04 15:13:44 +02:00
Raphaël Vinot 0a63ab8cc8 fix: Avoid exception when data is an empty iterator
Fix #1053
2023-09-04 17:33:28 +02:00
Raphaël Vinot 1597669ea6 fix: Update Sharing group info from full object
Fix #1049
2023-08-23 10:52:57 +02:00
Raphaël Vinot 4085e0faef fix: maybe fixing a CakePHP issue
Maybe fixing #1014
2023-06-15 10:55:20 +02:00
Raphaël Vinot c8989c2ab2 fix: Use proper endpoint to unpublish event
Fix #1012
2023-06-13 14:47:31 +02:00
Stefano Ortolani 565447ce36 Allow search by 'event_tags' and improve the handling of galaxy clusters.
Changes:
- Add 'event_tags' parameter when searching for events
- Add new method to search for galaxies by value
- Add new parameter to fetch cluster information when retrieving clusters
- Add new parameter to hard-delete object references
2023-05-16 11:15:46 +01:00
Raphaël Vinot 0ac719fd7c chg: Remove old setup files, bump deps. 2023-05-11 17:48:01 +02:00
Luciano Righetti d3c304a844 add: support breakOnDuplicate option for attributes:add() 2023-03-23 16:34:46 +01:00
Raphaël Vinot cca73e4c4e fix: invalid check if taxo is enabled 2023-03-17 15:44:03 +01:00
Raphaël Vinot a40d91666b fix: Use proper parameter to trigger the request in search_galaxy_clusters 2023-03-17 14:02:29 +01:00