The US government needs to prosecute actors who infiltrate secure systems with the aim to leak state secrets as a way to prevent this type of behavior from happening in the future. Say what you want; even if the premise of leaking is seeking to enrich the interests of the public--there are many state secrets that are secret for very good reasons, such as protecting the lives of informants, diplomats, etc.
There were many documents that WikiLeaks released that seemed to have been released under the auspice of "full transparency" but really served no public good and inflicted a lot of harm. Releasing the names of afgan informants, cablegate, that airstrike video where journalists were killed (can't remember the name specifically), etc. I just don't know if I agree that the public should know everything.
Think about the case of the NSA--yes they were spying on Americans in egregious ways and overextending the scope of their mission and authority. But at the same time, we do want a lot of their methods to remain secret. They have thwarted many potential terrorist attacks since 9/11; and if we, and our adversaries, knew exactly how and who they were spying on--I'm sure Americans would be less safe.