The foreign minister says the government "could have done more" before the Bondi attack, and expressed sorrow to the Jewish community.