IntelOwl icon indicating copy to clipboard operation
IntelOwl copied to clipboard

Do not save the same file more than once

Open 0ssigeno opened this issue 4 years ago • 6 comments

Right now intelowl saves a file for every job. Meaning that, if the same file is analyzed more than once, we are wasting disk space.

We can create another model, Sample or something like that, and add as a foreign key the Job model. When we are cleaning the db, or when an user deletes manually a job, if a Sample does not have a Job refereced to it anymore, we will delete it too.

0ssigeno avatar Jul 20 '21 08:07 0ssigeno

Was this closed by https://github.com/intelowlproject/IntelOwl/pull/552 ?

@0ssigeno

eshaan7 avatar Aug 31 '21 09:08 eshaan7

Not for local IntelOwl instances. We are still saving them in folders of format job_date.

0ssigeno avatar Aug 31 '21 09:08 0ssigeno

Hi, I would like to work on this issue.

rishidyno avatar Nov 16 '23 16:11 rishidyno

you are welcome

mlodic avatar Nov 16 '23 16:11 mlodic