Here's The Law That The CIA Thinks Was Broken
Note, section (a) that states, Whoever, having or having had authorized access to classified information that identifies a covert agent, intentionally
Note, section (a) that states, Whoever, having or having had authorized access to classified information that identifies a covert agent, intentionally discloses any information identifying such covert agent to any individual not authorized to receive classified information".
In other words, any information, such as "Joe Wilson's wife", makes you liable for prosecution.
50 U.S.C. § 421. Protection of identities of certain United States undercover intelligence officers, agents, informants, and sources.
(a) Disclosure of information by persons having or having had access to classified information that identifies covert agent Whoever, having or having had authorized access to classified information that identifies a covert agent, intentionally discloses any information identifying such covert agent to any individual not authorized to receive classified information, knowing that the information disclosed so identifies such covert agent and that the United States is taking affirmative measures to conceal such covert agents intelligence relationship to the United States, shall be fined under title 18 or imprisoned not more than ten years, or both. Here's the rest.
Go to this story I have set up to read what the definitions are. Here