All IC personnel, like the military, swear to uphold and defend The Constitution, not the President. If the President or his inner circle are engaging in illegal acts that threaten the country, the IC has a duty to The Constitution to act.
That said, no one (and that includes most IC folks) want the IC to be actively working against the POTUS. Like the other parts of the government, the IC agencies just want to do their job and don't want to be bogged down in political fights. Their job isn't to "attack and depose" the POTUS. Their job is to give the relevant information to the right people as defined in their operational orders. If any of the IC has data on Russian spy links in the White House, they damn well should turn that over to the legislature and the judiciary.