Vowing to take action against what she called "crooked deep state agents," the homeland security secretary condemned the leaks.