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

Errors in vt_to_misp.py module #974

Open
CheKecha19 opened this issue Apr 20, 2023 · 0 comments
Open

Errors in vt_to_misp.py module #974

CheKecha19 opened this issue Apr 20, 2023 · 0 comments

Comments

@CheKecha19
Copy link

i'm trying to run vt_to_misp.py script for enriching event
command for running:

sudo python3 /var/www/MISP/PyMISP/examples/vt_to_misp.py -i https://submit-form.com/PRpqt7rk  -c /home/cmib/MISP_tests/config.json -e 926167

./config file already have API keys and url

error, what i have when i run enrichment script:

Traceback (most recent call last):
  File "/var/www/MISP/PyMISP/examples/vt_to_misp.py", line 178, in <module>
    main(misp, config, args)
  File "/var/www/MISP/PyMISP/examples/vt_to_misp.py", line 123, in main
    submit_to_misp(misp, misp_event, misp_objects)
  File "/var/www/MISP/PyMISP/examples/vt_to_misp.py", line 163, in submit_to_misp
    template_id = misp.get_object_template_id(misp_object.template_uuid)
AttributeError: 'PyMISP' object has no attribute 'get_object_template_id'

MISP and PyMISP already updated for last version

how i can fix that?
@SteveClement

image

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

1 participant