But the 21-page report also said no wrongdoing had been found in seven cases, including strikes on two hospitals, an ambulance, a clinic for the disabled, a Red Crescent station and a United Nations office.

The military said that Al Wafa Hospital, which was bombed repeatedly in July, was used by Hamas to surveil and fire at Israeli forces, that rockets were launched from “the immediate vicinity,” and that “reliable information” indicated that patients and staff had been evacuated ahead of the attacks.

“Hamas disregarded advance warnings and continued in its military use of the hospital compound,” the report said, “thereby resulting in the loss of the special protection from attack provided to the hospital under international law.”

Hamas officials could not be reached Saturday night.

The military said it was unaware that the clinic, where two women were killed in a July 12 airstrike, was in the same building as a weapons depot it was targeting, and that residents did not respond to warning shots and phone calls. The fact that civilians were harmed was “indeed a regrettable result,” the report said, “but it does not affect its legality post facto.”

Regarding the Red Crescent station, in Jabaliya, the military said that Palestinians were using underground rocket-launchers “a few tens of meters away,” and that the Israeli attack was planned at night to minimize damage to the station, which it called “unavoidable.”

Mr. van Esveld of Human Rights Watch said that in two of the seven closed cases, witness accounts collected by his group differed sharply from the military version. More broadly, both he and Sarit Michaeli, a spokeswoman for the Israeli human rights group B’tselem, said focus on specific cases can distract from bigger-picture questions about Israel’s prosecution of a war that killed nearly 2,200 people and destroyed thousands of homes in Gaza.