Technically and legally he violated "The State Secrets Act Of 2008" and does not exempt employees of The US Federal Govt. Regardless of how you or I
may feel about this unfortunately the law is the law.
His crime, he said, was a link he posted on August 25 in a blog post discussing the hypocrisy of recent U.S. actions against Libyan leader Muammar Qadaffi. The link went to a 2009 cable about the sale of U.S. military spare parts to Qadaffi through a Portuguese middleman.
....and told him that every blog post, Facebook post, and tweet by State Department employees had to be pre-cleared by the Department prior to publication.
And they warned him against writing about their interrogation, saying he could be charged with interfering with a government investigation if he did so.