I’m under the impression that the unmasking can only legally occur when there is a national security concern. And, she disseminated the unmasked intelligence to various other intelligence agencies here and abroad. She’s going to have to prove that she gathered that intelligence, disseminated that intelligence, and unmasked those names for purposes of national security, and not for political reasons.
The law says “foreign intelligence value”. That’s a very broad and imprecise standard.