mirror of https://github.com/MISP/MISP-maltego
fix: [transform] fixes in misp transform performance and reliability
parent
74109d47c0
commit
0a08e5101b
2
setup.py
2
setup.py
|
@ -5,7 +5,7 @@ from setuptools import setup, find_packages
|
||||||
setup(
|
setup(
|
||||||
name='MISP_maltego',
|
name='MISP_maltego',
|
||||||
author='Christophe Vandeplas',
|
author='Christophe Vandeplas',
|
||||||
version='1.3.5',
|
version='1.3.6',
|
||||||
author_email='christophe@vandeplas.com',
|
author_email='christophe@vandeplas.com',
|
||||||
maintainer='Christophe Vandeplas',
|
maintainer='Christophe Vandeplas',
|
||||||
url='https://github.com/MISP/MISP-maltego',
|
url='https://github.com/MISP/MISP-maltego',
|
||||||
|
|
|
@ -32,7 +32,7 @@ class AttributeInMISP(Transform):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
misp = get_misp_connection(config)
|
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
|
# we need to do really rebuild the Entity from scratch as request.entity is of type Unknown
|
||||||
for e in events_json:
|
for e in events_json:
|
||||||
attr = get_attribute_in_event(e, maltego_misp_attribute.value)
|
attr = get_attribute_in_event(e, maltego_misp_attribute.value)
|
||||||
|
|
Loading…
Reference in New Issue