If you don't want your config.yml to regenerate and manually input all the values again, put "damaged-sound: ENTITY_SPIDER_HURT" right under the hit-sound of config.yml
In total, there is feed back sounds for when you shoot (set in items.yml per item), when you damage a player (damaged-sound), and when you hit a player (hit-sound)