Where does it say the dog attacked the officer? Don't tell lies.
It says that the dog lunged at the officer. Unless the dog was just wanting to lick his face, I'd consider that an attack.