James Mattis received a ceremonial swearing-in as defense secretary at the Pentagon Friday, just days after being confirmed overwhelmingly by the U.S. Senate. President Donald Trump attended.