Ok, so that there is a bunch of stuff. There is evidence that President Roosevelt knew there would be an attack on Pearl harbor, but he decided to let it happen so that the US would be in on the war (we were not before the attack).
There's not a straight forward answer, but I hoped this helped!