IDF chief Aviv Kohavi visited the area, located in the Judea and Samaria region of the West Bank, together with local IDF commanders.
"The terrorist took advantage of an agricultural crossing which improves the well-being of the Palestinians and their economy to carry out a murderous terrorist attack," Kohavi said, as quoted by the IDF on Twitter.
The Bnei Brak attack took place on Tuesday night. Israeli officials said five people were killed and one IDF officer was injured. The gunman was neutralized and five other people were detained the next day over their possible involvement in the attack.
On Thursday, the IDF said that Palestinian fighters attacked an Israeli civilian bus at the Neve Daniel junction. Later in the day, the army said it apprehended a total of 31 terrorist suspects, including one suspected operative of Daesh*.
*Daesh (IS/ISIS/ISIL) is a terrorist organisation banned in Russia.