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

[FEATURE] possibility to dequeue/delete an analysis that has not been completed #2466

Open
dri-mobisec opened this issue Nov 27, 2024 · 3 comments
Assignees
Labels
enhancement MobSF enhancements and feature requests

Comments

@dri-mobisec
Copy link

it would be useful to have an API endpoint that allows to delete (and dequeue) a task that has not been started yet or that has started but not it's not completed

@dri-mobisec dri-mobisec added the enhancement MobSF enhancements and feature requests label Nov 27, 2024
Copy link

👋 @dri-mobisec
Issues is only for reporting a bug/feature request. For limited support, questions, and discussions, please join MobSF Slack channel
Please include all the requested and relevant information when opening a bug report. Improper reports will be closed without any response.

@ajinabraham
Copy link
Member

We do not persist the queue state, so once queued we want to prevent any edge cases like TOCTOU.
You can delete the task added to the queue after the queue timeout period (60 minutes) using /api/v1/delete_scan. This will just remove it from DB entry, but has no effect on the active queue IIRC.

@dri-mobisec
Copy link
Author

Ok, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement MobSF enhancements and feature requests
Projects
None yet
Development

No branches or pull requests

2 participants