Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Update node.py to acquire Object Attributes #25

Open
davecabio opened this issue Jan 4, 2021 · 0 comments
Open

Update node.py to acquire Object Attributes #25

davecabio opened this issue Jan 4, 2021 · 0 comments

Comments

@davecabio
Copy link

Is your feature request related to a problem?

Yes. Currently the plugin doens't get the attributes included in an object, even if them are others IoC (Indicator of compromise).

Describe the solution you'd like

It's enough to change the following line in node.py
attributes = event.get('Attribute', [])

with this:

attributes_object = map(lambda x: x['Attribute'], event.get('Object',[]))
attributes_standard = event.get('Attribute', [])
attributes = attributes_standard + attributes_object[0]

And then, mineme-misp will get event the IoC included in the objects list.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant