A person opened fire at a White House security checkpoint before being shot by Secret Service officers, according to officials.