-
Notifications
You must be signed in to change notification settings - Fork 279
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
Composites are not taken into account #78
Comments
I'm on it! |
thanks :) |
I wanted to compare the changes you made, can you please revert the change from spaces to tab, please? it makes it very hard to review. Just to make sure we're talking bout the same thing: you made changes in the openioc library, and it isn't reflected in the misp-modules, but works properly when you dump the json from the library? Did you make sure you installed the pymisp version containing your changes? Because the misp-modules openioc module is picking the output of the openioc library as-is: https://github.com/MISP/misp-modules/blob/master/misp_modules/modules/import_mod/openiocimport.py#L56 |
Done |
ha ok :( all my bad :( |
\o/ Looks great. Just one thing: are you sure you want to use "External Analysis" as category? This is an information you can pass as a tag for example. I'd recommend to use the default sane values set by the server for each types |
I thinks "External Analysis" is maybe the good category because when you import an ioc it often comes from an external analysis. No ? Can I add some tag on attribut when I import an ioc. |
Well, not necessarily: it can come from an internal tool and be push into MISP. We generally recommend to use "External Analysis" for a few attributes in an event (for example the link to the external analysis). |
And suddenly what are you recommend ? Next, I make change and do the pull/request |
Not sure I get your question. The recommended values per type are here: https://github.com/MISP/PyMISP/blob/master/pymisp/data/describeTypes.json But you don't need to care, they are set automatically by the server. |
Not sure I get your question. For default tag ? Otherwise ok, I will remove the category :) |
Thanks Raphaël, You can close this issue. I have make the request #82 I think I open a new issue to add possibility to set default tag when you import something with module. |
Excellent, thanks! |
I make some update to openioc tool in PyMISP
https://github.com/truckydev/PyMISP/blob/master/pymisp/tools/openioc.py
My code detect composites supported by misp.
It may need some refactoring :)
Here is my problem :
When I try with this IOC :
https://github.com/fireeye/iocs/blob/master/BlogPosts/9cee306d-5441-4cd3-932d-f3119752634c.ioc
when I print ( with main in python code) I have the correct type
but with Openioc module import, this type is not recognized and add element line by line
The text was updated successfully, but these errors were encountered: