Well if they have reported it, why did it still happen? You are asking me to prove that the NSA hasn't foiled any attacks instead of asking the agency conducting mass surveillance to provide evidence? Just to give you an idea most terrorist attacks on US soil, foiled or not, have been directed by the FBI. Source is The Intercept.