SOARCA
SOARCA copied to clipboard
The Hive reporting inconsistent due to async calls
Describe the bug Due to reporting calls being async go routines, and due to the hive reporting being performed via HTTP requests, some of which count on previously submitted HTTP requests, the requests order is inconsistent and this causes reporting to break.
To Reproduce provide details logs and steps
- Start SOARCA with The Hive integration configured
- Run e.g. http example playbook from the SOARCA playbook/trigger API
- Observe logs and reporting in your The Hive instance: case and tasks can be incomplete, and there can be object misses.
Expected behavior Reporting calls are executed asynchronously, but scheduled and executed in the correct order.
Additional context Should we implement async working group in the reporters? This issue stems from #237 and depends on its resolution