The Trump administration needs to release the legal analysis underpinning its controversial military campaign.