(The) Path to 9/11 is the movie. The version that was finally shown cut several damning scenes out but it still pinned the tail on the donkey (Hannity and others put the scenes on the internet).
There was a plane-based plot over the Pacific that was broken up - I don’t remember how long before 9/11 that was.
That was the plot known as "Bojinka" that included Razmi Youssef, the '93 WTC bomb plotter who got away but was subsequently caught and is in Federal lock up for a long time. It was mid-90's, IIRC.