gcrahay / otx_misp

Imports Alienvault OTX pulses to a MISP instance
Other
52 stars 42 forks source link

More API warning and now failing to import OTX rules. #34

Open SparkyNZL opened 5 years ago

SparkyNZL commented 5 years ago

Description

OTX_MISP no longer importing OTX entries into MISP.

Versions

Traceback or error

Connection to MISP instance: http://192.168.20.XX /usr/local/lib/python3.6/dist-packages/otx_misp/init.py:177: DeprecationWarning: Call to deprecated method init. (Please use ExpandedPyMISP instead (requires Python 3.6+). This class will be an alias of ExpandedPyMISP early 2020 and your code will most probably fail.) misp = pymisp.PyMISP(server, key, ssl=False, out_type='json')

/usr/local/lib/python3.6/dist-packages/pymisp/api.py:106: DeprecationWarning: Call to deprecated method get_recommended_api_version. (Use ExpandedPyMISP.recommended_pymisp_version) -- Deprecated since version 2.4.110. response = self.get_recommended_api_version()

/usr/local/lib/python3.6/dist-packages/pymisp/api.py:123: DeprecationWarning: Call to deprecated method get_live_describe_types. (Use ExpandedPyMISP.describe_types_remote) -- Deprecated since version 2.4.110. self.describe_types = self.get_live_describe_types()

AlienVault | Watchbog and the Importance of Patching - 2019-09-11

/usr/local/lib/python3.6/dist-packages/otx_misp/init.py:269: DeprecationWarning: Call to deprecated method search_index. (Use ExpandedPyMISP.search_index) -- Deprecated since version 2.4.111. result = misp.search_index(eventinfo=event_name)

/usr/local/lib/python3.6/dist-packages/otx_misp/init.py:286: DeprecationWarning: Call to deprecated method new_event. (Use ExpandedPyMISP.add_event) published=publish)

/usr/local/lib/python3.6/dist-packages/pymisp/api.py:554: DeprecationWarning: Call to deprecated method add_event. (Use ExpandedPyMISP.add_event) return self.add_event(misp_event)

/usr/local/lib/python3.6/dist-packages/otx_misp/init.py:64: DeprecationWarning: Call to deprecated method get_all_tags. (Use ExpandedPyMISP.tags) -- Deprecated since version 2.4.111. misp._otx_tags_cache = misp.get_all_tags()['Tag']

/usr/local/lib/python3.6/dist-packages/otx_misp/init.py:48: DeprecationWarning: Call to deprecated method get_version. (Use ExpandedPyMISP.misp_instance_version) -- Deprecated since version 2.4.110. version = misp.get_version() Error: 'Event'