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

Delete sample functionality #38

Closed
raw-data opened this issue Jun 24, 2021 · 1 comment · Fixed by #55
Closed

Delete sample functionality #38

raw-data opened this issue Jun 24, 2021 · 1 comment · Fixed by #55
Labels
enhancement New feature or request

Comments

@raw-data
Copy link

Removing stored samples from mwdb Web UI is already possible in few clicks, yet the functionality is not available though any API endpoint. It would be a valuable addition, considering the automation / scripting functionality offered by mwdblib.

On the one hand, it could be integrated as an additional method within mwdblib.file.MWDBFile, for single delete operation, or in addition, introduce a "bulk" delete function consuming results from, e.g MWDB.recent_files(), etc.

@psrok1 psrok1 added the enhancement New feature or request label Jul 2, 2021
@psrok1
Copy link
Member

psrok1 commented Jul 2, 2021

Yes, it definitely should be implemented as delete method on MWDBObject level (that operation is pretty generic).

Bulk operation method is also interesting idea.

Currently you can access unsupported methods via direct APIClient calls e.g.

mwdb = MWDB()
...
mwdb.api.delete('object/{sha256}')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants