Skip to content

[Bug] Attachment files are not deleted from local filesystem storage when logs is deleted #1687

Closed
@S-Nicholas

Description

@S-Nicholas

Attachment files are not deleted from local filesystem storage when task log is deleted

Request Type

Bug

Work Environment

Question Answer
OS version (server) CentOS
OS version (client) W10
TheHive version / git hash 4.0.0-1
Package Type Binary
Browser type & version Chrome 86.0.4240.198

Problem Description

Attachment files are not deleted from local filesystem storage when task log is deleted.

Steps to Reproduce

  1. configure local filesystem storage
  2. add a new case
  3. add a new task log with attachment
  4. delete the task log from the case: the attachment file still exists in local filesystem storage directory

Metadata

Metadata

Assignees

Labels

TheHive4TheHive4 related issuesbug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions