Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
cudeso opened this issue Dec 22, 2023 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@cudeso
Copy link

cudeso commented Dec 22, 2023

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
@cudeso cudeso added the bug Something isn't working label Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant