How bad is this damage?

Ford S-Max 2013, wife drove over a rock which looks to have damaged the plastic under the engine, ripped out a wire for something and the metal frame has bent.

It's going to go through the insurance I think, is this going to be bad? The metal has me concerned.