Answer:
It does violate substantive law, but it does not violate moral
Step-by-step explanation:
Edward Snowden(a CIA system administrator) released some confidential documents to the press(sometimes in 2013) about the existence of a program made by the government- a surveillance program.
The action justify moral law since the citizens ought to know what their names are being used for.
But, this action violate the Espionage Act(of 1917) that identified the leak of state secrets as an act of treason. He broke the substantive law and somwhat caused harm to the United States national security. The program was made to keep Americans safe, divulging it out has exposed the national security data to the enemies of the States.