A federal judge ruled Tuesday former National Security Agency contractor Edward Snowden violated secrecy agreements with the federal government.