Commit Graph

87 Commits (305d1949eb99661c561616eb52309e2b7c55e053)

Author SHA1 Message Date
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
Alexandre Dulaunoy c456538528 events id are integers not strings 2015-08-12 11:23:38 +00:00
Alexandre Dulaunoy 9696466683 Merge pull request #15 from iglocska/master
Dump the entire event including the 'Event' container element
2015-08-12 11:50:15 +02:00
iglocska 4436383624 Dump the entire event including the 'Event' container element 2015-08-12 10:09:23 +02:00
Raphaël Vinot d8a6ae28ff Add test scripts to get and update an event. 2015-08-11 17:14:16 +02:00
Raphaël Vinot eacd82840b Fix bug introduced by using urljoin. 2015-08-10 11:58:20 +02:00
Raphaël Vinot bdd09bfe9a Add sample download 2015-08-07 17:24:03 +02:00
Raphaël Vinot 2ad737e7b7 Add search all 2015-08-06 17:43:12 +02:00
Raphaël Vinot fab75e9c6c Increase flexibility of upload sample 2015-08-06 15:45:48 +02:00
Raphaël Vinot 208091dc47 Fix last commit 2015-08-06 09:49:44 +02:00
Raphaël Vinot dd3591f87c Initial changes to increase flexibility for Viper module 2015-08-06 01:57:59 +02:00
Raphaël Vinot 5af579d77d Fix PyPi package. 2015-08-05 17:48:15 +02:00
Raphaël Vinot cc13a779b3 Merge branch 'master' of github.com:CIRCL/PyMISP 2015-08-05 17:30:20 +02:00
Raphaël Vinot 97dfe2a4f6 Add last param to restSearch + example script 2015-08-05 17:20:59 +02:00
Raphaël Vinot effd8084a7 Cleanup of the upload API 2015-08-05 16:01:57 +02:00
Alexandre Dulaunoy d0b220476a Merge pull request #14 from cudeso/master
Add netflow filter output
2015-08-05 15:03:30 +02:00
Koen Van Impe 2e1da3b777 Add netflow filter output
- get event data for event with “—event X”
- get netflow filter with “—netflow”
   simple host X or host X
2015-08-04 23:25:15 +02:00
Raphaël Vinot bef354ac44 Preliminary version of the file uploader 2015-08-04 16:24:55 +02:00
Raphaël Vinot 58bfd30a23 Add test script to add attachement to event 2015-08-03 18:09:39 +02:00
Raphaël Vinot 4e942fa33b Merge remote-tracking branch 'origin/master'
Conflicts:
	examples/get_network_activity.py  (python 2.7 & 3 compatible print)
2015-08-03 16:44:52 +02:00
Alexandre Dulaunoy e0b781c033 Bug fix: get_index now works properly and return the events index
An bug was introduced and appending "{}" to the /index url which
gives a 404 on a MISP server.
2015-07-30 14:20:41 +00:00
Alexandre Dulaunoy 2c8c4abe09 Merge branch 'master' of https://github.com/CIRCL/PyMISP 2015-07-30 14:05:53 +00:00