John O. Brennan was one of President Obama's most trusted national security advisors during all eight years of the Obama Administration, first as assistant to the president for homeland security and counterterrorism and then as director of the Central Intelligence Agency.