A new security partnership aimed at ports and vessel operators reflects a hard truth in maritime defense: resilience now has to be monitored, tested, and restored in real time.