intelligence only learned of the instances during the current war by a combination of capturing Hamas documents and interrogating Hamas prisoners.
Source: Jerusalem Post
Full Article: IDF intel missed three potential Hamas invasions before October 7