Open strazzere opened 6 years ago
I believe you're right, please use the cb-yara-connector instead of this until we get the bugs ironed our and release.
V/r,
I am trying to hit https://<Base_URL>/api/v1/binary?cb.urlver=2&q=(ipaddr:10.1.180.21)&sort=&rows=1000&start=0&q.server_added_timestamp=%5B2019-06-03T12:22:18%20TO%202019-06-10T12:22:18%5D
with X-Auth-Token but still receiving 500 Internal Server Error with Unhandled exception. Check logs for details
message. Can someone please comment on this?
https://github.com/carbonblack/cb-integration/blob/d46824771fa1c3d936cca710522c9c704f3da6c9/cbint/detonation.py#L210-L214
This will result in an error message telling the user to check the log, which will just tell them a 500 occurred. Likely the error should be caught, and the
detonation
should be retried at a later time. If something is wrong with thedetonation
, then it would likely be best for CB to actually respond with a meaningful status code / error message.