The nation's top intelligence officers faced fierce questioning from lawmakers on potential threats to the U.S.