(By the National Security Act of 1947 and its 1949 amendment, it is the Department of Defense, and nothing short of an act of congress changes that. The executive order secondarily naming it the department of war has as much legal weight as my personal order naming it the Department of Brainrot or Whatever.)