Solution 1:

The thunder sound is entity.lightning_bolt.thunder.

The impact sound is entity.lightning_bolt.impact.

Source