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

Missing function delete_case_task #190

Closed
gelim opened this issue Oct 27, 2020 · 3 comments · Fixed by #191
Closed

Missing function delete_case_task #190

gelim opened this issue Oct 27, 2020 · 3 comments · Fixed by #191
Assignees
Milestone

Comments

@gelim
Copy link

gelim commented Oct 27, 2020

Request Type

Feature Request

Problem Description

Hi,
the ability to delete task seems to be missing.

My use-case for this may seems a bit cumbersome, and could need a new bug/feature request: I want to be able to attach informative files (not infected) ZIP,PDF,... to a case, and so that they will be visible on the case main page thus not doing a "file" observbable, but instead creating a dummy task, and inside a dummy task log with the file attached, then I'd like to cleanup the task. Attached files are kept, and visible in the front case page.

Cheers,

-- Mathieu
Amadeus CERT

@gelim
Copy link
Author

gelim commented Oct 27, 2020

PR#191 implements this task deletion feature (mimicked from browsser interaction when clicking on task's "Delete" button) with the patch {"status":"Cancel"} request.

@nadouani nadouani self-assigned this Nov 14, 2020
@nadouani nadouani added this to the 1.8.0 milestone Nov 14, 2020
@nadouani
Copy link
Contributor

Thanks @gelim

This issue and PR unveils an issue in TheHive that lists attachments from deleted tasks, which is wrong.

@gelim
Copy link
Author

gelim commented Nov 15, 2020

TheHive that lists attachments from deleted tasks, which is wrong.

heh yes, I finally don't use this workaround and decided to handle attachments on an external webserver, and just build a markdown table listing the files + link in the case description. Additionally that allows me not clobber too much ES with file blobs.
All of that works of course as I just need to attach files at creation time.

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

Successfully merging a pull request may close this issue.

2 participants