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

Pass in file-like objects for case observables #135

Conversation

jaredjennings
Copy link

Fix #35 for case observables (but not for other places where files can be added, such as alert artifacts).

This is mostly like the code posted in this comment. It also has a test which fails without the code and passes with it.

@nadouani nadouani changed the base branch from master to 1.x June 3, 2020 18:53
@nadouani
Copy link
Contributor

nadouani commented Jun 3, 2020

Hello @jaredjennings this PR is nice, thanks. We will include it in 1.8.0 release

@nadouani nadouani added this to the 1.8.0 milestone Jun 3, 2020
@nadouani nadouani merged commit 1c972dc into TheHive-Project:1.x Nov 27, 2020
@nadouani
Copy link
Contributor

Thanks for the PR it works like a charm. I'll try to add this feature in the other places that deal with files

@jaredjennings jaredjennings deleted the file-like-objects-for-case-observables branch December 1, 2020 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow file observable creation from memory
2 participants