The Israeli Prime Minister Benjamin Netanyahu allegedly approved “in principle” the ceasefire agreement with the Hezbollah during a security consultation with Israeli officials Sunday night, a source with knowledge of the matter told CNN.

The Israel still has reservations about some details of the deal, which are expected to be passed on to his government Lebanon on Monday, the source said. The details are still being negotiated and several sources at the international agency stressed that the deal will not be final until all issues are resolved.

The ceasefire agreement will have to be approved by the Israeli cabinetwhich has not yet been done.

Sources with knowledge of the negotiations said the talks appeared to be moving positively toward a deal, but also acknowledged that as Israel and Hezbollah continue to exchange fire, adding that a misstep could derail the talks.

In recent days, Hezbollah has been considering a US-backed proposal for a 60-day ceasefire, which some hope could form the basis of a lasting ceasefire.

Gideon Sa’ar, Israel’s foreign minister, said according to Reuters that any solution for Lebanon depends on disarming Hezbollah and removing it from Israel’s border.

A ceasefire agreement between Israel and Hezbollah is “very close,” a local source told CNN earlier, but as the death toll in Lebanon rises.

Israel has agreed in principle to a US-backed truce with Hezbollah in Lebanon, and Prime Minister Benjamin Netanyahu is now working on how to present it to the public, according to Israeli media reports on Sunday night, after Netanyahu held high-level consultations on the matter.

More than 3,000 people have been killed in Israeli attacks since hostilities escalated in mid-September, according to CNN’s Lebanese health ministry figures, underscoring the urgency of a ceasefire deal.

Israel launched a major military operation in Lebanon in mid-September after months of border clashes that began when Hezbollah attacked Israel in solidarity with Hamas and the Palestinians in Gaza. Since then, Israel has launched a ground invasion, killing Hezbollah leaders – including one of its founders, Hassan Nasrallah – and wounding thousands in a pager attack.

US special envoy Amos Hochstein held talks this week with regional officials to try to reach an agreement. On Sunday, CNN analyst and Axios reporter Barak Ravid cited a source who said Hochstein made it clear Saturday to the Israeli ambassador in Washington that if Israel did not respond positively in the coming days to the cease-fire proposal, he would withdraw from mediation efforts.