Commit Graph

2603 Commits (JakubOnderka-patch-1)

Author SHA1 Message Date
Jakub Onderka aba02ecd8c
fix: [tests] Remove debug prints 2021-10-19 15:54:30 +02:00
Raphaël Vinot 0adc4f36a7
Update README.md 2021-10-14 15:14:15 +02:00
Raphaël Vinot 3567cd6464 chg: bump many dependencies 2021-10-14 15:11:35 +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
Raphaël Vinot e84d5a11f3
Merge pull request #794 from tomking2/feature/org_user_search
chg: Add ability to search against orgs and users by freetext search (both) or organisation (users)
2021-10-14 14:46:34 +02:00
Tom King 1248dd459f chg: Add in test case for searching against orgs and users 2021-10-13 11:33:07 +01:00
Tom King 12c92ca83a chg: Add in test case for get_sharing_group and validate orgs are present 2021-10-13 11:23:04 +01:00
Jakub Onderka 5064107093
Merge pull request #783 from JakubOnderka/fixes-149
Changes for upcoming MISP 2.4.150
2021-10-08 16:38:50 +02:00
Raphaël Vinot e07321bfa9 fix: Missing import in __init__
Fix #796
2021-10-08 15:43:16 +02:00
chrisr3d fa68b58b66
fix: [tests] Fixed stix test 2021-10-08 14:54:03 +02:00
Tom King a56e344a21 fix: Fix final nosetest 2021-10-04 11:56:13 +01: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
Steve Clement 0a3f2e68ef
Merge pull request #793 from SteveClement/main 2021-10-01 14:01:55 +09:00
Steve Clement 1e4bbf52ed
Merge branch 'main' of github.com:SteveClement/PyMISP into main 2021-10-01 13:56:34 +09:00
Steve Clement 823553e389
Merge remote-tracking branch 'upstream/main' into main 2021-10-01 13:56:03 +09:00
Steve Clement 601d708c72
chg: [py] Typo 2021-10-01 13:55:16 +09:00
Steve Clement 5e496ff24e
fix: [py] Typo 2021-10-01 13:51:32 +09:00
Raphaël Vinot 3b77b5e3b3 chg: Bump changelog 2021-09-30 11:16:36 +02:00
Raphaël Vinot 21dd71bf4b chg: Bump misp-objects 2021-09-30 11:16:03 +02:00
Raphaël Vinot 17ada5a2bd chg: Bump version 2021-09-30 11:16:03 +02:00
Raphaël Vinot abbcc5bd7b chg: Bump deps 2021-09-30 11:16:03 +02:00
Raphaël Vinot 54d38df6dc fix: message_from_bytes really dislikes newline at the beginning of a mail 2021-09-30 11:16:03 +02:00
Raphaël Vinot 85ac1b0e6a
Merge pull request #789 from samitainio/samitainio-patch-1
Fix #787 and add Unicode to ASCII function
2021-09-28 16:15:40 +02:00
Sami Tainio f6c8e2ad0d
Remove unicode to ascii parts 2021-09-28 16:42:15 +03:00
Sami Tainio 2fb354a938
Fix #787 and add Unicode to ASCII function
Fix #787
- Uses regex to pick up the hostnames/domains from the "Received: from" headers.

Unicode to ASCII function
- Spam messages more often than not contain junk text as unicode characters in the headers. The "from" and "subject" headers being the most common ones. Before this change the script would error on such emails or sometimes replace the unicode characters with questionmarks "?".
- Function takes argument as an input and then encodes it in ascii while ignoring any malformed data. It then returns an ASCII string without the unicode characters.
- Currently implemented for "from" and "subject" handling.
2021-09-28 14:50:17 +03:00
Raphaël Vinot d44847b63a fix: skip IPs in Received header
Related:  #787
2021-09-27 10:27:14 +02:00
Alexandre Dulaunoy 28b016ace1
Merge branch 'main' of github.com:MISP/PyMISP into main 2021-09-24 15:39:56 +02:00
Alexandre Dulaunoy bf8c8711ab
chg: [misp-objects] updated to the latest version 2021-09-24 15:39:35 +02:00
Raphaël Vinot 9fc4d90454 new: Add few keys to email object creator
Fix #787
2021-09-23 17:10:27 +02:00
Raphaël Vinot 3072dac568 fix: name is passed to super 2021-09-22 11:47:14 +02:00
Raphaël Vinot 309eb3e8ab fix: Do not create empty manifest, json load dislikes it. 2021-09-22 10:14:56 +02:00
Raphaël Vinot 7379d82734 fix: Initial round of cleanup on redis feed generator 2021-09-22 10:10:51 +02:00
Steve Clement 212a4e2ade
Merge pull request #786 from SteveClement/main 2021-09-22 15:54:56 +09:00
Steve Clement bb921533fa
chg: [doc] Minor fixes, note and typo 2021-09-22 15:53:07 +09:00
Raphaël Vinot cf36dadc01 chg: Bump deps 2021-09-20 22:36:05 +02:00
Alexandre Dulaunoy 06d034947d
chg: [misp-objects] updated to the latest version 2021-09-15 13:31:30 +02: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 eafbb76441 chg: Update tutorial for custom objects 2021-09-09 12:05:55 +02:00
Raphaël Vinot 37731afb9c chg: Bump deps 2021-09-07 14:28:00 +02:00
Raphaël Vinot 0bdfb3892d chg: Bump live tests 2021-09-07 14:26:22 +02:00
Raphaël Vinot 93e3da2df9 fix: remove outdated deps from setup.py
Fix https://github.com/MISP/MISP/issues/7729
2021-09-06 10:40:53 +02:00
Raphaël Vinot 8e5f4b7aba new: test cases for edit objects and upload stix 2021-09-03 15:25:45 +02:00
Jakub Onderka e227cd970b fix: [types] Update types to use `filename-pattern` type 2021-08-31 16:57:54 +02:00
Jakub Onderka 545f149480 chg: [test] Check if all category types exists 2021-08-31 16:56:28 +02:00
Jakub Onderka 0abe34f106 fix: [test] Remove debug print 2021-08-31 16:55:25 +02:00
Jakub Onderka 2e698d70ba fix: [test] Correct error messages for blocked event 2021-08-31 16:54:46 +02:00
Alexandre Dulaunoy 90e988cf48
chg: [misp-objects] updated to the latest version 2021-08-27 11:02:30 +02:00
Raphaël Vinot 3986a1ad74
Merge pull request #779 from cvandeplas/main
chg: [types] updated types/categories mapping
2021-08-20 09:22:39 +02:00