The FBI has said they didn’t locate the poster of the threat online. There are a lot of Cruzs. This was really a local failure, the school knew all they needed to to bring in the authorities.
I suspect there are not exactly hundreds of thousands of Nikolas Cruz's, though. Plus checking out the user history and account on Facebook should reveal clues.
That said, the school fell down on the job, too...