Skip to content

Bug: attributes in hashlookup object type are not converted to indicators #56

Open
@cudeso

Description

@cudeso

MISP-STIX usage

Integration for Sentinel

Expected behavior

The relevant file attributes in the hashlookup object are converted to indicators, similar as the file object type (meaning SHA1, MD5, etc. should become indicators).

Actual behavior

None of the file attributes are converted to indicators. It's added as a x-misp-object, but the indicators are not extracted.

Steps to reproduce

Add a hashlookup object. Search for the event.

parser = MISPtoSTIX21Parser()
parser.parse_misp_event(misp_event)
stix_objects = parser.stix_objects
for el in stix_objects:
    if el.type == 'indicator':
        print(el)

Version

2.4.182

Python version

3.8

Relevant log output

No response

Extra attachments

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions