Commit Graph

340 Commits (56ff22228ca4f5183639a8be0a096834a3d9a251)

Author SHA1 Message Date
Raphaël Vinot a1326f2cf2 new: Add method to search for tags.
fix #648
2020-11-02 12:47:56 +01: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
Raphaël Vinot daf937a100 chg: Add test case for get event deleted 2020-06-19 13:38:11 +02:00
Raphaël Vinot c2e643c01b chg: Add test case for search deleted 2020-06-19 11:49:38 +02:00
Troy Ross 17ebfe86ab Previously file object was reporting the libmagic description of a file
instead of the mimetype. According to [MISP DataModels](https://www.misp-project.org/datamodels/#types)
```
mime-type: A media type (also MIME type and content type) is a two-part identifier for file formats and format contents transmitted on the Internet
```
more precisely defined in [RFC2045](https://tools.ietf.org/html/rfc2045) and others.

The description returned by libmagic is more useful than the generic mime-type,
but I did not find a place to put the description in the current data model.
2020-06-14 10:48:29 -06:00
Raphaël Vinot 5d97d7ee0c new: Add helper and test case for GitVulnFinderObject 2020-05-26 15:37:24 +02:00
Raphaël Vinot d7beed9f76 new: Test search with timestamp 2020-05-14 22:47:24 +02:00
Raphaël Vinot 14e3ecdfdc chg: Add test for feed partial update 2020-05-14 15:55:18 +02:00
Raphaël Vinot f1494125ae new: Add testcase for updating partial event 2020-05-14 12:45:04 +02:00
Raphaël Vinot 14d278fff2 fix: Properly load feeds, fix undefined variable 2020-05-12 11:24:47 +02:00
Raphaël Vinot c098981a40 new: Very simple test case for rest search on objects 2020-05-07 13:59:45 +02:00
Raphaël Vinot 4a060b3c07 new: Self registration, object level search (initial) 2020-05-07 12:17:31 +02:00
Raphaël Vinot 8980c2da3b fix: Typo, add test for extended event 2020-05-04 10:19:55 +02:00
VVX7 b08cf8b6a6 chg: [dev] remove duplicate line 2020-05-03 21:22:38 -04:00
VVX7 a76a85b616 chg: [dev] add extend_event() test. chg typo in get_event() 2020-05-03 20:58:33 -04:00
Raphaël Vinot 0faa75824f fix: Enable autoalert on admin user 2020-04-27 12:21:30 +02:00
Raphaël Vinot 4d7ed41602 fix: Properly handle timezone in tests 2020-04-10 14:54:47 +02:00
Raphaël Vinot b5b40ae2c5 fix: Strip every string in AbstractMISP
fix #546
2020-03-24 14:34:29 +01:00
Raphaël Vinot 8d294ff2ba fix: Test cases & template version 2020-02-26 14:53:08 +01:00
Raphaël Vinot 94c2a644af fix: do not skip data in add_attribute methods 2020-02-24 14:13:10 +01:00
Raphaël Vinot 35377399e8 new: Add uuid by default in MISPEvent, add F/L seen in feed output. 2020-02-21 14:12:36 +01:00
mokaddem 52774769ac fix: [*-seen] Consider that `-` can also be in the date component while
parsing
2020-01-31 12:26:50 +01:00
Raphaël Vinot db9c54bb08 fix: first seen was after last seen, trigerring the exception 2020-01-29 11:19:10 +01:00
Raphaël Vinot 7e29d41976 fix: Tests failing if local tz was not CET 2020-01-28 16:30:58 +01:00
Raphaël Vinot a8ff8f88fe chg: Test update last seen 2020-01-28 16:01:14 +01:00
Raphaël Vinot 21fa4af863 chg: Add test cases in feed 2020-01-28 14:41:28 +01:00
Raphaël Vinot d40b0a46bc chg: Add test cases 2020-01-28 14:25:10 +01:00
Raphaël Vinot 32445973bd new: Support for first_seen/last_seen
Cleaner import of datetime
2020-01-27 19:07:52 +01:00