Commit Graph

810 Commits (8a23e7a35aec3b7381648d9c882e1a9b0cbefa4c)

Author SHA1 Message Date
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
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
Raphaël Vinot ccc08193fc
Merge pull request #142 from c-goes/master
replaced is_digit() with isdigit()
2017-11-20 16:32:36 +01:00
c-goes 2e5fcf4e31 fixed typo 2017-11-20 15:11:30 +01:00
c-goes 7409f77b52 Merge remote-tracking branch 'upstream/master' 2017-11-20 15:10:24 +01:00
Raphaël Vinot 635d9df8c0
Merge pull request #141 from SteveClement/master
Remove CIRCL repo references from README.md & fix epydoc
2017-11-19 12:41:44 +01:00
Steve Clement 89a5558014 - Remove CIRCL reference from README.md
- Updated 2 bad indentations where epydoc was Warning
2017-11-19 10:02:03 +01:00
Raphaël Vinot 44831b1fdb chg: Add new objects: MISPUser and MISPOrganisation 2017-11-17 16:51:46 +01:00
Raphaël Vinot bfe9867b2e chg: Add a generic MISP object generator 2017-11-15 17:37:17 +01:00
Raphaël Vinot 0f21a561b0 chg: Allow to add multiple attribute of the same type 2017-11-15 09:41:20 +01:00
Raphaël Vinot b1262a0c96 chg: Add fast publish method
Fix #86
2017-11-10 15:42:07 -08:00
Raphaël Vinot 04d281d5e5 Merge branch 'master' of github.com:MISP/PyMISP 2017-11-10 14:57:32 -08:00
Raphaël Vinot 55b4064a57 chg: Improve documentation
Fix #121
2017-11-10 14:56:53 -08:00
iglocska b6ba285a43 Merge branch 'feature/feedgenerator_rework' 2017-11-10 08:02:16 +01:00
iglocska f7568abc29 Merge branch 'master' of https://github.com/MISP/PyMISP into feature/feedgenerator_rework 2017-11-10 07:52:32 +01:00
Raphaël Vinot 31e98c6e5d chg: Bump PyMISP version 2017-11-09 13:49:09 -08:00
Raphaël Vinot c18c4538a5 chg: Bump CHANGELOG 2017-11-09 13:47:17 -08:00
Raphaël Vinot 5d414cb8e9 chg: Bump misp-objects 2017-11-09 13:45:31 -08:00
c-goes dee33507e7 Merge remote-tracking branch 'upstream/master' 2017-11-09 16:00:05 +01:00
Raphaël Vinot e6ab90012d chg: Update readme for new logging system 2017-11-08 18:01:27 -08:00