Commit Graph

128 Commits (a67a90d1d31faccc8cdaee64f3fc1365e03c7df7)

Author SHA1 Message Date
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
Alexandre Dulaunoy 1723d3a90e Merge pull request #12 from iglocska/xml_json_fix
API made a bit more flexible with input data
2015-07-30 15:59:17 +02:00
Iglocska 507c5a5446 API made a bit more flexible with input data
- input for add_event() and update_event() can now be a JSON object, JSON string, XML
2015-07-30 15:53:34 +02:00
Alexandre Dulaunoy 90016f41b7 Merge branch 'master' of https://github.com/CIRCL/PyMISP 2015-07-30 13:39:32 +00:00
Alexandre Dulaunoy 389f88ce8b Merge pull request #11 from iglocska/xml_json_fix
Fix to an issue with using XML as input for add_event() and update_ev…
2015-07-30 15:37:51 +02:00
Iglocska c315ecaef6 Fix to an issue with using XML as input for add_event() and update_event()
- also a change to the copy_list.py script to account for the change
2015-07-30 15:26:05 +02:00
Alexandre Dulaunoy 79d7dba744 Merge branch 'master' of https://github.com/CIRCL/PyMISP 2015-07-30 11:31:04 +00:00
Raphaël Vinot e353faa1be Merge pull request #10 from Starow/master
Add 2 download functions of suricata rules events
2015-07-29 16:09:57 +02:00
Debra Jules f28c9cdf07 Add 2 download functions of suricata rules events 2015-07-29 15:07:37 +02:00
Raphaël Vinot 579a8368e6 Merge pull request #8 from didelphodon/master
Update / Add need a JSON object as data
2015-06-30 11:44:31 +02:00