After Clash on Lebanon Border, Israel Faces Rogue Soldier Dilemma

The soldier who killed Shlomi Cohen was probably acting alone, and isn’t affiliated with any Lebanese armed group. What can Israel do if such an event repeats itself on the Syrian or Egyptian border?