Federal authorities have been tracking Iranian threats against Trump and other administration officials for years.