Commit Graph

108 Commits (3403a57391f6dc34e796e607f10a65ac5f92b856)

Author SHA1 Message Date
Alexandre Dulaunoy 3403a57391 Threat level id is from 1 to 4 (not from 0 to 3)
https://github.com/MISP/MISP/issues/729
2015-11-24 17:16:47 +01:00
Alexandre Dulaunoy 205baa2f65 Merge pull request #25 from iglocska/master
reverted my previous commit that broke an assertion
2015-11-13 11:24:07 +01:00
iglocska 6407693671 reverted my previous commit that broke an assertion 2015-11-13 11:22:04 +01:00
Alexandre Dulaunoy 07ec7b8210 Merge pull request #24 from iglocska/master
Print the event so we can see what travis is trying to compare against
2015-11-13 11:12:25 +01:00
iglocska de91860d5d Print the event so we can see what travis is trying to compare against
- should help with the debugw
2015-11-13 11:10:53 +01:00
Alexandre Dulaunoy cfc5f05998 Merge pull request #23 from iglocska/master
Should fix the test failures
2015-11-13 10:51:34 +01:00
iglocska dbe87b6ebd Fixed an invalid assertion
- attribute count is None not u'0' when no attributes exist (should be fixed on MISP side in the long run)
2015-11-13 10:49:03 +01:00
iglocska fc1193e53e Fixed a typo causing the tests to fail 2015-11-13 10:47:32 +01:00
Alexandre Dulaunoy ca262ca4c1 README updated including keys.py usage 2015-11-06 11:40:43 +01:00
Alexandre Dulaunoy 2cdf1aa88d Authentication parameters updated 2015-11-06 11:40:27 +01:00
Alexandre Dulaunoy 7ddfff3f4d Merge branch 'master' of github.com:CIRCL/PyMISP 2015-11-06 11:29:34 +01:00
Alexandre Dulaunoy 55ca454b92 Auth parameters updated 2015-11-06 11:22:38 +01:00
Alexandre Dulaunoy 4c0ed124f5 Updated auth parameters 2015-11-06 11:16:32 +01:00
Alexandre Dulaunoy 006103d2fe Normalized auth parameters 2015-11-06 11:12:31 +01:00
Alexandre Dulaunoy 761b831708 Normalized auth parameters 2015-11-06 11:11:22 +01:00
Alexandre Dulaunoy 424c1671aa Sample keys file added 2015-11-06 11:09:17 +01:00
Alexandre Dulaunoy dbd45f0f01 Normalized auth parameters 2015-11-06 11:06:37 +01:00
Alexandre Dulaunoy fc0873bed1 Normalized auth parameters 2015-11-06 10:17:20 +01:00
Alexandre Dulaunoy db1221dd52 Auth parameters normalized 2015-11-06 10:14:45 +01:00
Raphaël Vinot d1db9a74ee Add add_ipsrc 2015-11-05 09:36:35 +01:00
Raphaël Vinot 588a1abc00 Add basic support for the proposal API 2015-10-30 17:23:25 +01:00
Raphaël Vinot 305d1949eb Merge pull request #22 from grolinet/master
Helper methods added
2015-10-06 12:22:11 -04:00
grolinet eadc7ec1b5 Whitespace cleaned 2015-10-06 16:57:28 +02:00
grolinet c9fd4c11cb Helper methods added 2015-10-06 16:52:58 +02:00
Raphaël Vinot 2aab314708 Merge pull request #21 from grolinet/master
Added missing types
2015-09-30 08:54:26 -04:00
unknown e364c3aed7 missing types added 2015-09-30 14:46:25 +02:00
unknown 0256a487b6 missing types added 2015-09-30 14:45:15 +02:00
unknown 17316e349e missing types added 2015-09-30 14:37:18 +02:00
Raphaël Vinot 1ac11fa28b [UnitTest] Add some functions, testing. 2015-09-26 21:00:33 +02:00
Raphaël Vinot cc8400a9df Improve error handling 2015-09-23 18:47:47 +02:00
Raphaël Vinot 81fa4e5bdd Add test cases (initial) 2015-09-22 15:25:47 +02:00
Raphaël Vinot b4dc6e90b1 Fix typo in categories names 2015-09-22 11:48:23 +02:00
Raphaël Vinot 69f19a8616 Check the MISP instance to query is valid.
And return a json object from upload_sample.
2015-09-21 14:40:06 +02:00
Raphaël Vinot 35423ebf2e Force json if nothing else is supported. 2015-09-21 11:52:26 +02:00
Raphaël Vinot f4bf57cc46 Better error handling of no URL/Key are passed 2015-09-18 17:48:10 +02:00
Raphaël Vinot 11b3470167 Add support for downloading unzipped samples. 2015-09-18 14:38:52 +02:00
Raphaël Vinot a7c3d8869c Add version-related methods 2015-09-18 12:03:56 +02:00
Raphaël Vinot d735e6a3d3 Add methods to query the version of MISP (master and local) 2015-09-17 13:51:31 +02:00
Raphaël Vinot 5fea22600e Add publish method 2015-09-17 00:51:45 +02:00
Raphaël Vinot f731b88fde Try to convert event ID to integer if not None. 2015-09-13 00:31:27 +02:00
Raphaël Vinot c133713d33 Fix bug in download sample function.
Thanks to @kevthehermit
2015-09-12 23:08:06 +02:00
Raphaël Vinot 22e4d58a50 Timestamp not needed to update an event.
Fix #18
2015-09-08 15:25:26 +02:00
Raphaël Vinot 249407c32f Restore python3 support 2015-09-02 13:56:08 +02:00
Raphaël Vinot f50f4acfc0 Cleanup + add helpers for network attributes. 2015-09-02 11:50:15 +02:00
Raphaël Vinot 08e1c40987 Add helpers to update events with specific attributes. 2015-09-01 18:46:10 +02:00
Raphaël Vinot 0d112bea47 Reorganise 2015-09-01 10:31:22 +02:00
Raphaël Vinot c7b03640fb Multiple updates, cleanup
* Remove attribute (Fix #4)
* Deprecate pure XML API
* Cleanups and fixes in the upload file functionality
2015-08-28 17:07:30 +02:00
Raphaël Vinot e4d96bd198 Fix download of samples with the new archive format. 2015-08-24 12:05:49 +02:00
Raphaël Vinot 218ffcd915 Add Yara rules download support (by event) 2015-08-19 10:43:03 +02:00
Raphaël Vinot 51e91f8827 Fix license mentioned in setup.py
fix #16
2015-08-19 09:46:34 +02:00