A United Nations Human Rights Council investigation has criticized Israel 's military for attacking civilians in Lebanon during the conflict with Hezbollah earlier this year .