Commit Graph

1279 Commits (10ccd637d9b3ece6703bdcfa735177fb5cb71ed3)

Author SHA1 Message Date
Raphaël Vinot f15341d1cf chg: Bump describeTypes 2017-12-13 18:00:35 +01:00
Raphaël Vinot 68afcf1c38 chg: Bump misp-objects 2017-12-13 17:12:35 +01:00
Raphaël Vinot 98d63be062 chg: bump Changelog 2017-12-13 17:11:22 +01:00
Raphaël Vinot f02f889077 chg: Bump version 2017-12-13 17:09:46 +01:00
Raphaël Vinot 6db31b397a new: Add methods to get taxonomy(ies)
Thanks to @truckydev
2017-12-13 16:43:21 +01:00
Raphaël Vinot fe00b0b712
Merge pull request #151 from MISP/refactor
chg: Make the library easier to use
2017-12-13 15:58:56 +01:00
Raphaël Vinot 6c4e2b2861
Merge pull request #150 from sdrees/first-friendly-contribution-enhance-coverage
First friendly contribution enhance coverage
2017-12-13 15:47:43 +01:00
Raphaël Vinot d19a10ddcc chg: Make the library easier to use 2017-12-13 15:45:02 +01:00
Stefan Hagen (Individual) f68faf7c61 further tests added (for public methods) 2017-12-11 15:27:50 +01:00
Raphaël Vinot ff58b3bd59 Merge branch 'truckydev-get_last_modified_event' 2017-12-11 15:01:57 +01:00
Raphaël Vinot 5cbcc09d7d new: Add method to get all the events modified in an interval 2017-12-11 15:01:25 +01:00
Stefan Hagen (Individual) 635c02eadc changed asserts from dict usecases to set comparison to workaround non 3.6 behavior 2017-12-11 14:18:06 +01:00
Stefan Hagen (Individual) 207e1f195e Merge branch 'master' of https://github.com/MISP/PyMISP into first-friendly-contribution-enhance-coverage 2017-12-11 14:04:04 +01:00
Raphaël Vinot 9f8f15fb2b Merge branch 'get_last_modified_event' of https://github.com/truckydev/PyMISP into truckydev-get_last_modified_event 2017-12-11 14:03:37 +01:00
Stefan Hagen (Individual) e7f395a92c enhance coverage and fix en passant with focus on api 2017-12-11 14:00:43 +01:00
Raphaël Vinot 7946e2ef83 fix: Disable pseudofile support in py2, skip tests. 2017-12-09 13:35:44 +01:00
Raphaël Vinot 52e079fea2 chg: Allow to pass a pseudofile to LIEF 2017-12-09 13:12:04 +01:00
Raphaël Vinot 8a23e7a35a Merge branch 'master' of github.com:MISP/PyMISP 2017-12-09 11:52:58 +01:00
Raphaël Vinot ab3a6bb404 chg: Bump misp-objects 2017-12-09 11:52:26 +01:00
Raphaël Vinot 324b1c44a8
Merge pull request #149 from naisanza/master
fix: Typo in error output text description
2017-12-07 12:16:36 +01:00
Eric Jaw 66ccf54c12 fix: Typo in error output text description 2017-12-06 11:07:36 -05:00
Raphaël Vinot afa21e26dc chg: Update changelog 2017-12-06 10:45:51 +01:00
Raphaël Vinot 7db4dcfa22
Merge pull request #147 from StrayLightning/master
Check explicitly for a 500 response from the server with no response content
2017-12-06 10:41:21 +01:00
StrayLightning 748be6a093 Improve the exception message for a server 500+ response with no response content 2017-12-05 18:04:11 +00:00
StrayLightning 8a8b0c113d Check for zero-length 500 response from the server and produce a suitable error message
In experimenting with PyMISP I am triggering problems on the server I
am using.  Occasionally the server will return a 500 response with a
message indicating an internal error, but more often than not it returns
a 500 response with no contents, and _check_response falls over itself,
generating hard-to-fathom exception from the json internals.

This commit hardens _check_response by detecting zero-length responses
and raising a suitable exception.

Also fix a missing bracket in one of the subsequent exception strings.
2017-12-05 17:44:15 +00:00
Raphaël Vinot 1d190cdf50
Merge pull request #146 from c-goes/lief_integrity_exception
Make FileObject creation work if lief parsing fails
2017-12-04 18:57:52 +01:00
Raphaël Vinot 42c5cc5e37 chg: allow to pass a proxy to query VT 2017-12-04 18:43:44 +01:00
c-goes b514600965 Make FileObject creation work if lief parsing fails 2017-12-04 17:52:13 +01:00
Raphaël Vinot 5d0cc16e75 Merge branch 'master' of github.com:MISP/PyMISP 2017-12-04 14:12:18 +01:00
Raphaël Vinot 2ec1f20bc6 chg: Bump misp-objects 2017-12-04 14:11:45 +01:00
Raphaël Vinot 5e931ffde7
Merge pull request #144 from c-goes/objects_delete
allow deletion of objects and object references
2017-12-02 21:36:44 +01:00
Raphaël Vinot 119169d4eb chg: Bump version to 2.4.83 2017-12-01 17:55:58 +01:00
Raphaël Vinot be65733d73 chg: Do not get the event from the server before publishing if PyMISP.publish gets an ID 2017-12-01 16:47:06 +01:00
Raphaël Vinot f4439ae970 chg: Add live tests for recommended pymisp version and describeTypes up-to-date 2017-12-01 16:15:46 +01:00
Raphaël Vinot 7ea7ca07d1 fix: Typo in the tests 2017-12-01 14:40:52 +01:00
Raphaël Vinot 9a2b82a2ae chg: Add a way to check if the ACL is up-to-date 2017-12-01 14:35:19 +01:00
Raphaël Vinot 20987f7f0f fix: Typo in live tests 2017-12-01 14:08:51 +01:00
Raphaël Vinot eb5cf6c06c chg: Add validators for describeTypes on the live instance 2017-12-01 14:02:04 +01:00
Raphaël Vinot 9c7923fe0a new: Add get CSV method. 2017-12-01 12:01:42 +01:00
Raphaël Vinot 2e46f00055 fix: Bump describeTypes.json
Add testing
2017-12-01 10:36:09 +01:00
Raphaël Vinot 298c0873cf
chg: update PDF link to doc 2017-11-30 15:11:33 +01:00
Raphaël Vinot c023c3bee1
Update doc badge links 2017-11-30 15:10:30 +01:00
Tristan METAYER 60f3111f47 - Correction for 'last' param.
'last' gives the latest events that have been published
- add get_events_last_modified()
this function returns the modified events based on timestamp
2017-11-29 16:46:41 +01:00
Raphaël Vinot 0875ad4a5f chg: Add example file to push OpenIOC file to MISP
chg: Add some imports in the tool's init file
2017-11-28 11:54:08 +01:00
c-goes 4416fe30b1 allow deletion of objects and object references 2017-11-23 17:51:04 +01:00
Raphaël Vinot d4b8df380f chg: Bump misp-objects 2017-11-23 10:17:36 +01:00
Raphaël Vinot 8809ccde7e
Merge pull request #143 from 3c7/feature/send_attributes
Adding multiple named attributes (without proposal) require a single POST request now
2017-11-22 16:17:04 +01:00
3c7 069023e802 Adding multiple named attributes require a single POST request now 2017-11-22 14:57:11 +01:00
Raphaël Vinot 1d063462de Merge branch 'master' of github.com:MISP/PyMISP 2017-11-22 10:30:32 +01:00
Raphaël Vinot 4b5293ece1 chg: Change version number to master in the doc 2017-11-22 10:30:06 +01:00