With little fanfare and less public notice, Congress and the executive branch have cooperated effectively over the past decade to build a legal architecture for military cyber operations.
Source: The Domestic Legal Framework for U.S. Military Cyber Operations – Lawfare