Commit Graph

1606 Commits (main)

Author SHA1 Message Date
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
Raphaël Vinot 2dcb5f1efa fix: Update calls to getStringStream to the public method 2023-11-17 13:21:18 +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
Christian Studer cb5f68a932
chg: [misp-objects] Bumped latest version 2023-11-09 16:13:45 +01:00
Raphaël Vinot 5d39d81152 chg: Bump version, make __version__ dynamic 2023-10-24 15:09:25 +02:00
Raphaël Vinot 4ed9781c76 chg: Bump deps, allow older jsonschema for compatibility 2023-10-24 14:29:57 +02:00
Raphaël Vinot 507b8195ae chg: Make mypy happy 2023-10-04 15:13:44 +02:00
Raphaël Vinot 5b0b4c65e2 fix: Allow object-relation names with uppercase characters defined in the templates 2023-10-04 11:46:49 +02:00
Raphaël Vinot e20a9c7539 chg: Bump version, deps 2023-09-15 10:35:00 +02:00
Raphaël Vinot ba0a1ac0f7 chg: Bump objects 2023-09-14 18:30:02 +02:00
Raphaël Vinot a2755c2c7f chg: Bump deps, objects 2023-09-14 15:37:56 +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 69e660ef03 chg: Bump objects, missed that. 2023-08-23 14:14:15 +02:00
Raphaël Vinot a2566f0282 chg: Bump version 2023-08-23 13:59:24 +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 8af0a735c1 chg: Bump version, templates 2023-07-31 12:06:12 +02:00
Raphaël Vinot dc315f3f5c fix: Push code changes related to deps upgrade... 2023-07-31 11:59:00 +02:00
Raphaël Vinot 54d3a97643 chg: Bump deps, fix code accordingly 2023-07-31 11:17:56 +02:00
Raphaël Vinot 6f41d1781c chg: Bump version 2023-07-10 16:15:42 +02:00
Raphaël Vinot 1a78edbe34 chg: Bump objects 2023-07-06 19:09:47 +02:00
Sura De Silva 10f4d30960 feat: introduce setter for galaxies 2023-07-03 12:57:52 +10: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
Raphaël Vinot 897caba47f fix: Properly bump version 2023-06-08 15:10:21 +02:00
Christian Studer fea134f292
chg: [misp-objects] Bumped latest version with updated templates 2023-05-26 14:30:07 +02:00
Raphaël Vinot 2a8381d87b chg: Bump deps, object templates 2023-05-16 14:20:43 +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 ec170103cb fix: Extra print breaking the CI on MISP side 2023-05-12 16:06:26 +02:00
Raphaël Vinot 5f698a1247 fix: properly use lief on a file 2023-05-12 11:58:38 +02:00
Raphaël Vinot 1a83f7edef chg: Bump deps 2023-05-11 17:55:35 +02:00
Raphaël Vinot bd5572182f chg: Bump version 2023-05-11 17:51:52 +02:00
Raphaël Vinot 0ac719fd7c chg: Remove old setup files, bump deps. 2023-05-11 17:48:01 +02:00
Raphaël Vinot 1b64f4df9d chg: Bump version 2023-05-04 10:08:36 +02:00
Raphaël Vinot 75435df663 fix: Update lief code to v0.13 2023-04-19 11:47:41 +03:00
Raphaël Vinot ba8940a283 chg: Bump deps 2023-04-19 10:51:51 +03:00
Raphaël Vinot c06c41956a chg: Bump version 2023-04-12 15:55:55 +02:00
Raphaël Vinot a9885d5e71
Merge pull request #958 from righel/attrs-break-on-dup
[new]: support breakOnDuplicate option for attributes:add()
2023-04-12 15:54:34 +02:00
Raphaël Vinot b28aba4581 chg: Bump deps 2023-04-12 15:51:39 +02:00
Alexandre Dulaunoy 31a3e3f1fd
Merge pull request #961 from c4rl0sL0ur31r0/main
Update reportlab_generator.py
2023-03-30 21:01:53 +02:00
Raphaël Vinot 72715013e8 chg: Bump deps, version. 2023-03-27 09:51:28 +02:00
CarlosLoureiro b4331c9761
Update reportlab_generator.py 2023-03-26 11:12:45 +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 eb44f88d25 chg: Bump version 2023-03-17 15:31:36 +01:00
Raphaël Vinot bf541167fd chg: Include event reports by default in feed 2023-03-17 15:31:20 +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
Raphaël Vinot 4363b3f43b fix: use POST in search galaxy cluster 2023-03-17 13:32:40 +01:00
UFOSmuggler 15e6bc2c18 Rename include_event_reports kwarg to with_event_reports, in-line with other kwarg naming 2023-03-15 13:32:45 +11:00
UFOSmuggler 80f242bbea Add kwarg to allow the inclusion of event reports into to_feed(), honour with_distribution and valid_distributions kwargs 2023-03-15 13:27:59 +11:00
Raphaël Vinot d928853607 chg: Bump version 2023-03-14 18:49:45 +01:00
Raphaël Vinot 5226f5a6d4 chg: Add greynoise-ip object
Fix #951
2023-03-14 18:49:05 +01:00
Raphaël Vinot ac784cbdee chg: Bump version 2023-03-10 15:10:51 +02:00
Raphaël Vinot 88291561a5 chg: bump templates 2023-03-09 16:18:53 +02:00
Raphaël Vinot 070472fd9a chg: Bump deps 2023-03-08 14:24:47 +02:00
Raphaël Vinot 590dc768cf fix: Add local key in MISPTag
Related #947
2023-03-08 13:48:22 +02:00
Raphaël Vinot 5fa99aa557 chg: Bump changelog, version 2023-02-28 13:18:35 +01:00
Raphaël Vinot 892c5ade94 chg: Bump templates, again 2023-02-28 13:14:34 +01:00