The UN have based their ongoing condemnation of Israel on reports written by people ill-equipped to evaluate armed conflict, as they are Human rights experts not Military experts. The restrictions which they expect Israel to operate under would make every other army of the world far less effective if they too were forced by the UN to abide by them. From what I have read, Israel would have to be running the most ethical and self-harming defensive campaign I have ever seen, anywhere in the world, now or indeed in history.
They warn the enemy when they are about to attack to give them time to evacuate, to reduce casualties. They famously knock on the roofs of buildings with a loud warning missile before sending in, a minute later, the missile to destroy the building. They send warning text messages to every phone in the area about to be targeted, again to warn that the attack is about to start. They drop warning leaflets as well for those without phones. This is just one aspect of the ‘ethical’ war that they fight yet they are still condemned for war crimes by the UN for what Human rights, not Military experts call unacceptable civilian casualties.