MISP / MISP-maltego

Set of Maltego transforms to inferface with a MISP Threat Sharing instance, and also to explore the whole MITRE ATT&CK dataset.
GNU Affero General Public License v3.0
166 stars 46 forks source link

Error while running local transform #22

Closed FafnerKeyZee closed 4 years ago

FafnerKeyZee commented 4 years ago

Hey,

I got the following error when running a local transform :

Transform Event To All returned with an error: Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/canari/maltego/runner.py", line 130, in local_transform_runner config File "/usr/local/lib/python3.7/dist-packages/MISP_maltego/transforms/eventtoattributes.py", line 94, in do_transform if super().do_transform(request, response, config): File "/usr/local/lib/python3.7/dist-packages/MISP_maltego/transforms/eventtoattributes.py", line 42, in do_transform search_result = self.misp.search(controller='events', eventid=event_id, with_attachments=False) AttributeError: 'NoneType' object has no attribute 'search' (from entity "57588")

cvandeplas commented 4 years ago

This will likely be because of your MISP connection that was not established correctly. This should return an error message, but it seems it doesn't.

Can you verify your $HOME/.canari/MISP_maltego.conf file and double check the misp_url and misp_key ?

FafnerKeyZee commented 4 years ago

I have this:

[MISP_maltego.local] misp_url = https://10.0.XX.YYY/ misp_key = Y..REMOVED..K misp_verify = False misp_debug = False check_updates = True [MISP_maltego.remote]

cvandeplas commented 4 years ago

Fixed in 3e37cdf845573ab57f9428b78c19dfc32414a362 and v1.4.3

FafnerKeyZee commented 4 years ago

Yep, working like a charm.

Thanks a lot :)