Israel attacked two military targets in Syria in response to what the army described as "unusual" cross-border spillover from the conflict ravaging the country in recent years.

The army said the original fire hit near the Golan Heights security fence, but did not threaten Israelis living near the Syrian-Israeli border. It said that the Israel Defense Forces do not intervene in the war in Syria but would respond to any incursion.

In April, Prime Minister Benjamin Netanyahu admitted for the first time that Israel had conducted strikes against its northern neighbor. "We act when we need to act, including here across the border, with dozens of strikes meant to prevent Hezbollah [from obtaining] game-changing weaponry," Netanyahu said during a visit to an IDF military exercise in the Golan Heights.

Israel has never publicly admitted to carrying out the attacks in the past.

Last month, a Syrian news website reported that Israeli warplanes attacked Syrian army posts south of the city of Homs, citing a Syrian military source. Israel did not comment on the report.

In the fall of last year, Israel and Russia formed a joint committee for coordination of their military activities in Syria. The mechanism was put in place to prevent misunderstandings and unintended confrontations between the Israeli military and Russian forces deployed in Syria.