You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in the process of setting up a system that automatically exports mails from an outlook mailbox, creates a case with observables and automatically analyzes them.
Now after analyzing these observables I'd like to request the report the analyzer generated but I'm not quite getting there.
I tried using this simple function that looks like this:
def get_analyzer_report(self, job_id):
req = self.url + "/api/connector/cortex/job/{}".format(job_id)
try:
return requests.post(req, headers={'Content-Type': 'application/json'}, proxies=self.proxies, auth=self.auth, verify=self.cert, data=json.dumps({}))
except requests.exception.RequestException as e:
raise AlertException("Couldnt get report of case")
Now if I run this on an existing job I get the following error.
`ERROR :: {'type': 'NotFoundError', 'message': '/api/connector/cortex/job/case_id not found'}
The text was updated successfully, but these errors were encountered:
I'm in the process of setting up a system that automatically exports mails from an outlook mailbox, creates a case with observables and automatically analyzes them.
Now after analyzing these observables I'd like to request the report the analyzer generated but I'm not quite getting there.
I tried using this simple function that looks like this:
Now if I run this on an existing job I get the following error.
`ERROR :: {'type': 'NotFoundError', 'message': '/api/connector/cortex/job/case_id not found'}
The text was updated successfully, but these errors were encountered: