Where did you get this definition of an attack? If I slap or kick someone, it is not an attack, because there is no blood? And if I pull out knife on someone, it is not an attack, because "it was just a threat"?!
Dictionary definition is: an aggressive and violent act against a person or place
Not just a bite, but scratches, even jumping. Not everyone wants to get their shit spread all over them!
Edit: If you go with legal definition of an attack, we should include legal definitions of battery, harassment, assault, sexual harassment...
Even blackmail or abduction would fit, "do not ran, or my dog will attack you"!