Skip to content
This repository was archived by the owner on Jun 27, 2025. It is now read-only.
This repository was archived by the owner on Jun 27, 2025. It is now read-only.

More Deprecated API Warnings #32

@malware-kitten

Description

@malware-kitten

Description

MISP has been changing parts of the API and moving certain functions into ExpandedPyMISP, now when running otx-misp more deprecation warnings are occurring, including the warning about the package potentially breaking in early 2020.
(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.)

Versions

  • otx-misp: 1.4.3
  • PyMISP: 2.4.112
  • MISP: v2.4.112
  • Python: 3.6
  • Operating system: Ubuntu 18.04.2 LTS

Traceback or error

/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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions