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

FR: Download file from task log #112

Closed
PierreNei opened this issue Apr 16, 2019 · 4 comments
Closed

FR: Download file from task log #112

PierreNei opened this issue Apr 16, 2019 · 4 comments

Comments

@PierreNei
Copy link

Feature Request

Work Environment

Question Answer
OS version (server) Ubuntu 18.04 TLS
OS version (client) Ubuntu 18.04 TLS
TheHive4py version / git hash 1.6.0

Problem Description

Please add the API access to download files attached to a task log. From response['attachment']['id'] it would be great if we can call a method to actually download the file

I can have a go at it if you can point me to the information on how to get the file from the ID!

@nadouani
Copy link
Contributor

The download link is like https://SERVER:PORT/api/datastore/ATTACHMENT_ID?name=FILE_NAME

@devinbfergy
Copy link

@nadouani Does this feature still need to be added? I wouldn't mind working on it. I will be adding a pull request in the next few days.

@nadouani
Copy link
Contributor

nadouani commented Jul 6, 2020

@david-burkett Hello, please feel free to submit a PR for it I can take it in 1.8

@nadouani nadouani modified the milestone: 1.8.0 Nov 24, 2020
@nadouani
Copy link
Contributor

Closing this FR. It will be addressed by #204

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

No branches or pull requests

3 participants