Unreachable Flow

Severity
Medium
Applies to
Proxy
Links
CWE-561

Why This Issue Is Important

Having unreachable Flow in the proxy introduces dead code and unnecessary complexity, which makes maintenance harder and creates confusion for future development. Moreover, the unreachable Flow could represent a critical logic that was intended to be executed, leading to potential missed functionality or business logic failures.

How This Issue Is Detected

This issue is detected by examining the Flows within an endpoint.

How to Fix the Issue

Ensure that each Flow either has a distinct condition or remove the redundant Flows. In cases where the flows are supposed to function sequentially, verify and adjust the conditions to reflect the intended processing logic.