Commit Graph

452 Commits (bad_encoding)

Author SHA1 Message Date
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
Luciano Righetti d3c304a844 add: support breakOnDuplicate option for attributes:add() 2023-03-23 16:34:46 +01:00
Christian Studer 77b0b3ac3e
add: Galaxy test sample 2022-12-01 10:49:09 +01:00
Christian Studer 55a4b2e5c1
add: Added very straight forward tests to make sure the galaxy clusters are properly defined 2022-12-01 10:09:39 +01:00
Raphaël Vinot 2de22871d1 new: Basic support for listing, enabling and disabling decaying models 2022-11-22 14:48:23 +01:00
Raphaël Vinot 6b1303355f new: [tests] Test for local tags 2022-11-17 09:46:52 +01:00
Alexandre Dulaunoy 0aa1f49b5f
Revert "chg: [tests] fix the list name test following latest warning-list"
This reverts commit be3715595b.
2022-10-24 18:40:58 +02:00
Alexandre Dulaunoy be3715595b
chg: [tests] fix the list name test following latest warning-list
updates
2022-10-24 11:44:08 +02:00
Tom King b438c27b5e new: Add in ability to set a taxonomies required status 2022-09-14 10:29:38 +01:00
Raphaël Vinot 795cc11881 fix: Change DNS warning list test 2022-09-09 16:25:03 +02:00
Tom King eb33a9deb9 chg: Add in sort/desc for sorting results and limit/page for pagination 2022-09-06 16:29:22 +01:00
Raphaël Vinot e77da00340 fix: delete sharing group after deleting the event 2022-08-05 10:29:38 +02:00
Raphaël Vinot 1f243dd7d0 fix: Give more time to MISP to publish the events before searching 2022-08-05 10:18:14 +02:00
Tom King 1ac66a927a chg: Add in test case 2022-06-06 11:51:41 +01:00
Alexandre Dulaunoy 156f6d9083
chg: [tests] reverted 2022-03-21 15:33:41 +01:00
Alexandre Dulaunoy c5646d7463
chg: [tests] subversion are supported 2022-03-17 09:22:39 +01:00
Alexandre Dulaunoy 94a65c578a
fix: [tests] check if the version is a substring as PyMISP might contain sub version 2022-03-09 12:38:56 +01:00
Raphaël Vinot 24e79c8340 new: get_new_authkey for a user 2022-03-03 15:07:28 +01:00
Raphaël Vinot bc37a03174 fix: Update live tests to support proper format of SGs 2021-11-30 11:41:53 +01:00
Raphaël Vinot 2bc689e3c7 chg: Slight changes regarding timezones 2021-10-28 16:11:46 -04:00
Jakub Onderka aba02ecd8c
fix: [tests] Remove debug prints 2021-10-19 15:54:30 +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
chrisr3d fa68b58b66
fix: [tests] Fixed stix test 2021-10-08 14:54:03 +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 0bdfb3892d chg: Bump live tests 2021-09-07 14:26:22 +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 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
Raphaël Vinot 735fb88c37 chg: Remove test files 2021-08-17 12:51:04 +02:00
Raphaël Vinot a2dc13c5e5 chg: Automatically pull the malwares repo when running tests/testlive_comprehensive.py 2021-08-17 12:45:27 +02:00
Raphaël Vinot 4ec01bb096 chg: Add test for updating a objects from a custom template
Related: #776
2021-08-09 09:16:04 +02:00
Raphaël Vinot 81e7db14bb Merge branch 'JakubOnderka-to_dict_json_format' 2021-08-05 11:22:45 +02:00
Raphaël Vinot 630cb73dec chg: Remove duplicates tests 2021-08-05 11:19:58 +02:00
iglocska 70d716622e chg: [testlive_comprehensive] correct path to access sharing group releasability after edit 2021-08-05 11:12:54 +02:00
Jakub Onderka 475525429a fix: [test] test_sharing_groups 2021-08-05 11:11:42 +02:00
Jakub Onderka 9e71e859e9 new: Method `sharing_group_exists` 2021-08-05 11:11:42 +02:00
Jakub Onderka b963c41716 new: Method `update_sharing_group` 2021-08-05 11:11:40 +02:00
Raphaël Vinot 7f53761403 chg: properly validate update_sharing_group without pythonify 2021-08-05 11:11:06 +02:00
Raphaël Vinot 71ea0cc19d chg: Bump missing dep 2021-08-05 11:11:06 +02:00
iglocska 0bcd293c01 chg: [testlive_comprehensive] correct path to access sharing group releasability after edit 2021-08-05 11:11:04 +02:00
Jakub Onderka 379e1ded0a fix: [test] test_sharing_groups again 2021-08-05 11:10:33 +02:00
Jakub Onderka 9db0ddd14d fix: [test] test_sharing_groups 2021-08-05 11:10:33 +02:00
iglocska 8729adaed1 chg: [authkey test] removed from testlive_comprehensive
- the default now enables advanced authkeys making the retriaval of keys impossible after the user creation
2021-08-05 11:10:33 +02:00
Jakub Onderka 7ccf4c15d2 chg: Do not load schema for event when not necessary 2021-08-05 11:10:33 +02:00
Jakub Onderka 1746138eb3 chg: `get_taxonomy` supports namespace 2021-08-05 11:10:33 +02:00