Prosecute the messenger; leave the criminal conspiracy untouched.
Every country does it.
Targeting Americans for political purposes is illegal. Targeting Americans for National Security reasons is perfectly within National Security Law.
The only person who got in trouble for the domestic surveillance disclosures were the person who blew the whistle. That's because what he did was illegal and what they did wasn't.