mitre / multiscanner

Modular file scanning/analysis framework
http://multiscanner.readthedocs.io/
Other
617 stars 125 forks source link

Reconsider how reports are stored in REST API in non-distributed mode #150

Open clenk opened 6 years ago

clenk commented 6 years ago

As you can see here, the REST API updates the task database before even attempting to store the report in ES. So if any exceptions get raised from the elasticsearch storage handler, it'll still get marked as Complete.

The REST API also has the same thread-related problem as the celery worker in #149.