Skip to content

incorrect object names "domain|ip" and "ip|port" #31

@JanKoDFNCERT

Description

@JanKoDFNCERT

Hi all,

IMHO the objects names "domain|ip" and "ip|port" should read "domain-ip" and "ip-port". Otherwise, an exception "UnknownMISPObjectTemplate" could be thrown if:

  • an existing Event which contains at least one of these objects is loaded by PyMISP:
  • load() method in mispevent.py calls "set_all_values" (line 397) calls "from_dict"
  • line 480: tmp_object = MISPObject(obj['name']) whereas obj['name'] results in either "domain|ip" or "ip|port" which are no valid object names leading to the exception

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions