Bug Report: FortiSOAR Playbook Hangs on PostgreSQL Query with No Output
Description:
I encountered an issue in FortiSOAR when executing a PostgreSQL query within a playbook. If the query is incorrect or does not return any output, the playbook execution remains stuck in that step indefinitely until the session times out.
Additionally, I observed a CPU spike in the uwsgi service, which reached 100% utilization during this process.
Expected Behavior:
When a query executes successfully but returns no output, the playbook should complete the step and move forward instead of getting stuck.
Issue Reproduction:
- Run a PostgreSQL query in a playbook.
- If the query has no output or is incorrect, the playbook remains in execution indefinitely.
- Monitor system resources and notice uwsgi service consuming 100% CPU.
Impact:
- Playbook execution hangs indefinitely.
- High CPU usage degrades system performance.
- Users must manually intervene to stop the playbook.
Request:
I hope the Fortinet team can investigate and resolve this issue in the next FortiSOAR release.
Thank you!
