Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while running local transform #22

Closed
FafnerKeyZee opened this issue Jan 14, 2020 · 4 comments
Closed

Error while running local transform #22

FafnerKeyZee opened this issue Jan 14, 2020 · 4 comments

Comments

@FafnerKeyZee
Copy link

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
Copy link
Member

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
Copy link
Author

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
Copy link
Member

cvandeplas commented Jan 14, 2020

Fixed in 3e37cdf and v1.4.3

@FafnerKeyZee
Copy link
Author

Yep, working like a charm.

Thanks a lot :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants