Something similar happened in 2003. Cheney & friends blew the cover of the top MI6 spy in Al Qaeda because they wanted something to brag about on TV. He was instantly retired & never worked again in intelligence.
The Trump junta is even more callous and careless than the Cheney group was. Nothing is sacred to them, including the life-safety of the people in the field if it goes against their narrow interests. America has been an untrustworthy ally for espionage - especially now.