fix: [transform] fixes in misp transform performance and reliability

pull/40/head
Christophe Vandeplas 2019-10-21 08:48:31 +02:00
parent 74109d47c0
commit 0a08e5101b
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ from setuptools import setup, find_packages
setup(
name='MISP_maltego',
author='Christophe Vandeplas',
version='1.3.5',
version='1.3.6',
author_email='christophe@vandeplas.com',
maintainer='Christophe Vandeplas',
url='https://github.com/MISP/MISP-maltego',

View File

@ -32,7 +32,7 @@ class AttributeInMISP(Transform):
pass
misp = get_misp_connection(config)
events_json = misp.search(controller='events', values=maltego_misp_attribute.value, withAttachments=False)
events_json = misp.search(controller='events', value=maltego_misp_attribute.value, withAttachments=False)
# we need to do really rebuild the Entity from scratch as request.entity is of type Unknown
for e in events_json:
attr = get_attribute_in_event(e, maltego_misp_attribute.value)