Kamforka

Results 33 comments of Kamforka

Is there any easy solution for this? I also tried to tweak the `CakeResque` config and using the `StreamHandler` but no matter what target I specify I just can't see...

@jeremymcjunkin and you didn't modifiy the `target` at all, you just left it pointing to the original log file?

Turns out that TheHive doesn't respect system proxies so I had to add the below options to the application call: ```bash -Dhttp.proxyHost= \ -Dhttp.proxyPort= \ -Dhttps.proxyHost= \ -Dhttps.proxyPort= \ -Dhttp.nonProxyHosts="localhost|127.0.0.1|"...

Hello @viverma5 , I'm using the v1 api's audit endpoint for that.

I use the `/api/v1/query` endpoint with with the `listAudit` query: https://github.com/TheHive-Project/TheHive/blob/b7b196c0f567997c053dadd3c66be2a7780ec40b/thehive/app/org/thp/thehive/controllers/v1/AuditCtrl.scala#L31). There is no active `/api/v1/audit/_search` endpoint at the moment, as it is commented out in the router: https://github.com/TheHive-Project/TheHive/blob/b7b196c0f567997c053dadd3c66be2a7780ec40b/thehive/app/org/thp/thehive/controllers/v1/Router.scala#L160

I've made a fix for this one before, but it seems like the PR got lost in the meantime. Did you try this fix against `simplejson`? In case it doesn't...

@wizedkyle I'm not sure `requests` will choose the right decode error as there is a thread around this issue for years now: https://github.com/psf/requests/issues/4842 I don't mind your current solution if...

@wizedkyle Maybe I explained myself poorly. I didn't mean to use the `simplejson` inside `thehive4py`, what I meant is that your original fix should be tested against an environment where...

Okay I've checked the `requests` way of doing things and I'm not sure why it worked for you but I immediately get this error: ```python >>> from requests import JSONDecodeError...

Fixing this in #259