1. A method, comprising: receiving, at a device in a communication network, attack detectability metrics from routers along a path in the network; computing, by the device, a path attack detectability value using the attack detectability metrics from the routers along the path, wherein the path attack detectability value quantifies how well one or more attack detectors executed by the routers along the path are able to detect an attack along the path; determining, by the device, that the path attack detectability value does not satisfy a network policy; and adjusting, by the device, one or more routing paths in the network based on the path attack detectability value not satisfying the network policy, wherein the adjusted one or more routing paths guarantee that an attack along the adjusted one or more routing paths is detected at or above a predefined success rate, wherein the attack detectability metrics are based on recall values for machine learning processes executed by the routers along the path, wherein the machine learning processes are configured to detect the presence of a network attack.