-
Notifications
You must be signed in to change notification settings - Fork 148
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
Download an attachment from an observable #266
Download an attachment from an observable #266
Conversation
Thanks for the review, gonna review tomorrow! |
Could you please rebase it to the latest |
Add a method to download an attachment from the observableendpoint class and be able to retrieve a file from a given observable. The download can also be done with a zip and the parameter as_zip.
Renaming of the variable attachment_path to observable_path to be better align with the existing name conventions.
0f7bd56
to
7e5e54b
Compare
Just rebase to the latest develop branch and fix mistakes and double commit that was there just before |
The rebase seems to be good, can you please fix the ci check issues, then we can merge the change. |
Reindent code in order to have lines that have less than 88 characters in order to pass the CI check
Both lint issues have been fixed in the last commit. |
Hey Mike, flake8 thehive4py/ tests/
black --diff thehive4py/ tests/ |
Remove space and add a double quote in order to fix flake8 and validate CI
I still have an issue when I set Also please add the above observation as an explanation comment in the method's body. |
Can you give me your version number of theHive and some of your test ? My test look like this :
Or
|
I tried it on 5.0.23, maybe it's a bug in the newer versions then. I raised an issue with the core dev team, let's wait for them while they verify and fix. |
Add a method to download an attachment from the observableendpoint class and be able to retrieve a file from an observable's id. The download can also be done with a zip and the parameter as_zip.