Commit Graph

1562 Commits (7e61dd3f30d9492d5977f45b895ce0c08606a30c)

Author SHA1 Message Date
Raphaël Vinot bfdefc6027 chg: Bump object templates 2024-04-18 13:07:26 +02:00
Jakub Onderka 4f6aace686 fix: [internal] Correct way to convert bytes to string if orjson exists 2024-04-03 17:19:15 +02:00
Alexandre Dulaunoy 60aa6b9a0f
chg: [data] describeTypes file updated 2024-04-03 13:25:53 +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 eea3bef303 chg: Bump version, templates 2024-03-20 14:12:53 +01:00
Raphaël Vinot f1f83181eb fix: Avoid issue when payload ist a list 2024-03-20 14:06:05 +01:00
Raphaël Vinot 05d2c33f93 chg: Bump templates, version 2024-03-07 14:48:59 +01:00
Raphaël Vinot d3bdeaf2ca chg: Bump objects 2024-02-28 00:17:40 +01:00
Johannes Bader cb3b655463 fix: Correct FileObject import
The FileObject import has been moved outside the try-except-block
related to lief, as the import is needed regardless whether lief
is available or not.
2024-02-27 16:38:19 +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 e6cb8552c5 fix: Properly get body from message, without headers 2024-02-12 11:41:08 +01:00
Raphaël Vinot c84afb92d5 fix: remove from __all__ entries that shouldn't be there 2024-02-12 11:35:24 +01:00
Raphaël Vinot c9d6d04702 fix: Do not throw a warning every time one import pymisp... 2024-02-06 16:40:49 +01:00
Raphaël Vinot 1b1133c09c chg: re-add ExpandedPyMISP, with a warning 2024-02-06 14:48:49 +01:00
Raphaël Vinot 5e76e36667 chg: Bump deps, version, objects 2024-02-02 15:24:11 +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 176eed77bf chg: remove IntEnum 2024-02-02 11:20:39 +01:00
Raphaël Vinot 5301ddd1fa chg: Add even more debug for gha 2024-02-02 10:59:31 +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 8fb34a2892 fix: Import FileObject as needed. 2024-02-01 14:56:57 +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 9853f23683 chg: Add a bunch more typing. 2024-01-31 15:20:31 +01:00
Raphaël Vinot ca0fb8dc99 chg: Use typing info of lief 2024-01-31 12:59:49 +01:00
Raphaël Vinot f3e17b38dd fix: Compatibility with python 3.8 2024-01-30 13:27:59 +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 3a74ca8704 chg: Update typing to please lief 2024-01-22 13:45:25 +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
Jakub Onderka 8c23a2def7 chg: [internal] User faster method to convert bytes to str 2024-01-16 21:56:34 +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
Raphaël Vinot 1d24c1b3ce chg: make the publish_timestamp a string, as per specs 2024-01-09 12:40:09 +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
Raphaël Vinot b77493abd1 chg: Bump objects 2024-01-04 13:42:56 +01:00
Raphaël Vinot 6f6784ba88 chg: remove jsonschema from dependencies 2024-01-04 13:37:24 +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 c1f860dc47 chg: Bump objects 2023-12-14 12:51:15 +01:00
Raphaël Vinot c921017cf7 fix: Avoid exception when the malware file name contains a "|" 2023-11-29 12:35:24 +01:00
Raphaël Vinot cc6391233c chg: Bump version, changelog 2023-11-23 13:44:13 +01:00