Commit Graph

366 Commits (e916b332f8644fbcdbb5d822b5235067be15a042)

Author SHA1 Message Date
Raphaël Vinot e916b332f8 new: Fail if a duplicate object is added to an event. 2021-01-28 14:45:36 +01:00
Raphaël Vinot 8c09a5bbc9 chg: Use lief 0.11.0, generate authenticode entries 2021-01-28 14:45:36 +01:00
Tom King 07f00a68f1 chg: Allow response of delete to be pythonify, add in nosetest 2021-01-15 15:26:41 +00:00
seamus tuohy 5261d13c9f Noticed that test data mail_5.msg was malformatted. Replaced with working test msg. 2020-12-28 15:22:03 -05:00
seamus tuohy 87c02da0d7 Updated emailobject.
Email object no longer requires extra php libraries for install.
Tests have been expanded to improve coverage.
RTF encapsulated HTML and Plain Text will now be de-encapsulated.
The raw MSG binary will now be included in the extracted email object.
2020-12-28 13:47:21 -05:00
Alexandre Dulaunoy d7a000c2c3
chg: [test] file object template are now 24 2020-12-24 13:09:24 +01:00
Alexandre Dulaunoy 0c84e9a4d5
chg: [test] file object template is now at version 24 2020-12-24 12:09:21 +01:00
Raphaël Vinot 0d86a4339f new: Allow to pass an object template to MISPObject.__init__
MISPObject part of #6670
2020-12-01 14:01:32 +01:00
Raphaël Vinot fe91e10ced chg: on-demand decryption of malware-binary, speeds up pythonify. 2020-11-26 13:31:10 +01:00
Raphaël Vinot ded44278af fix: Add attribute dict as proposal 2020-11-24 20:03:01 +01:00
Raphaël Vinot 35860b49bd chg: Improve add_attribute with a list
Related: #655
2020-11-24 13:50:14 +01:00
Raphaël Vinot 600d802576 chg: Improve error message if a type in missing 2020-11-24 12:22:25 +01:00
Raphaël Vinot e317b089b8 chg: Add search info field with "\"
Related: https://github.com/MISP/MISP/issues/6616
2020-11-19 14:54:52 +01:00
Raphaël Vinot ac9b117f36
Merge pull request #631 from JakubOnderka/emailobject-tool-upgrade
Emailobject tool upgrade
2020-11-19 10:46:42 +01:00
Raphaël Vinot 4e830a435b fix: Test suite for exists calls 2020-11-17 00:04:18 +01:00
Raphaël Vinot c5f8c653c4 chg: Force enable debug in test, test update tags 2020-11-16 13:39:07 +01:00
Raphaël Vinot b646f0c5da
Merge pull request #651 from JakubOnderka/new-api
New API
2020-11-09 10:53:34 +01:00
Jakub Onderka 6c1f476bdd new: Method to check attribute and object existence 2020-11-07 10:17:16 +01:00
Raphaël Vinot 0d67babea2 fix: last_seen has to be after first_seen, and it should habe been failing before. 2020-11-06 11:17:46 +01:00
Raphaël Vinot 70de680912 chg: Use REST search for the tags
Related to comments on a1326f2cf2
2020-11-05 16:51:58 +01:00
Jakub Onderka 5e4dd2b974 new: Allow to get just event metadata after add_event and edit_event 2020-11-03 12:10:38 +01:00
Jakub Onderka 495af1fd9c new: Method to check event existence 2020-11-03 12:10:37 +01:00
Raphaël Vinot a1326f2cf2 new: Add method to search for tags.
fix #648
2020-11-02 12:47:56 +01:00
Jakub Onderka 9fd3d8a3e3 fix: [emailobject] Correctly parse multiple addresses 2020-10-24 17:24:18 +02:00
Jakub Onderka 055ef16e41 new: Test parsing just email header 2020-10-24 17:24:18 +02:00
Jakub Onderka 5e0ad0a47f new: Test parsing outlook message format 2020-10-24 17:24:18 +02:00
Jakub Onderka 7f0229b3f1 new: Add tests for EmailObject 2020-10-24 17:24:17 +02:00
Raphaël Vinot d428858f1e fix: Do now fail on requests returning plain text
Fix #639
2020-10-21 15:16:17 +02:00
Raphaël Vinot 1005a0fa5c chg: Bump test cases 2020-10-16 13:09:02 +02:00
Raphaël Vinot 9a5aeede19 chg: Bump file obj version in tests 2020-10-14 00:11:49 +02:00
Raphaël Vinot bdd8fe6782 chg: Add test for delete=True in get_event 2020-09-29 11:10:39 +02:00
Raphaël Vinot 2e2cdbeb7e fix: Test on macosx
Fix #630
2020-09-16 12:07:58 +02:00
Raphaël Vinot 50e5f156bd chg: Improve error message, add comments, rename whitelist->allowedlist 2020-09-15 12:31:22 +02:00
Raphaël Vinot f1a91d0872 chg: Bump file template version 2020-09-02 15:34:45 +02:00
Raphaël Vinot 9f6f95be0e new: [test] Validate tag removal 2020-09-02 15:11:18 +02:00
Raphaël Vinot 918f841087 chg: Rename blacklist -> blocklist 2020-09-01 19:29:12 +02:00
Raphaël Vinot 53f9979b48 fix: Bump file template version 2020-08-20 12:52:08 +02:00
Raphaël Vinot 821a4f5398 Merge branch 'main' of github.com:MISP/PyMISP into main 2020-08-04 12:21:19 +02:00
Raphaël Vinot be8c94e6e7 chg: Cleanup blocklist methods 2020-08-04 12:20:21 +02:00
Raphaël Vinot 2bbf888ca7 new: Blacklist methods 2020-08-03 15:59:54 +02:00
Raphaël Vinot 83273b6ce8 new: Add list of missing calls 2020-07-30 16:48:37 +02:00
mokaddem fd91bcb44e chg: [testlive_comprehensive] Updated generic tagging method to match
changes in MISP
2020-07-28 15:23:58 +02:00
Jakub Onderka 82aa3c815d
fix: test_get_non_exists_event 2020-07-28 12:26:15 +02:00
Raphaël Vinot c566892944 Merge branch 'main' of github.com:MISP/PyMISP into main 2020-07-28 11:27:52 +02:00
Raphaël Vinot ba4b22a303 fix: IP removed from the public DNS list 2020-07-28 11:27:26 +02:00
Jakub Onderka b10faa653f chg: New test_get_non_exists_event 2020-07-27 13:39:43 +02:00
Raphaël Vinot 2fb61d4b32 chg: Enable more tests. 2020-07-24 12:49:53 +02:00
Raphaël Vinot b2e8cffd0b fix: Add STIX XML output for the search
Use stix-xml as return_format.

Fix #600 https://github.com/MISP/MISP/issues/5618
2020-07-17 14:19:15 +02:00
louis 6429ffd795 new: Add test_obj_references_export 2020-07-01 13:20:49 +02:00
Raphaël Vinot a127318a8e chg: Add a few test cases 2020-06-22 14:27:03 +02:00