Not enough info to call this one.
The dog has a right to it’d territory
The officer has a right to hid life.
The officer has a duty to retreat if practicable
If not .....
I generally agree with you on the basics - more info is needed.