To my knowledge, upgrade insurance will cover all non-standard equipment that's on your ship.
So hypothetically if my Cutlass gets destroyed and I had 4 Sledges on the body, upgrades shields, computer, and powerplant, etc etc I would either get my base ship with stock equipment back and a lump...