Skip to content

Bug preventing File and Email Message attributes being built #41

Open
@chmason13

Description

@chmason13

The conditional in the buildAttribute function of buildMISPAttribute.py checking to see if the current object being processed is a URI, Link URI, or Link object leads to the subsequent conditionals never being processed, as it will always return true.

The bug is on line 560:
elif type_ == uri_object.URI or type_ == link_object.URI or link_object.Link:

and should be changed to:
elif type_ == uri_object.URI or type_ == link_object.URI or type_ == link_object.Link:

Metadata

Metadata

Assignees

No one assigned

    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