Is Deck Flashing Needed

We are selling our home and the home inspector told us that we need deck flashing. The problem is that our ledger bord is laged through our hardboard siding. The siding was not cut off so that the ledger board could be under the siding. Do I need flashing if the ledger board is on the outside of the siding?

Hardboard siding won't last (post #206122, reply #3 of 3)

Hardboard siding won't last long where water sits between it and the ledger - there's not much to hardboard siding as it is, let alone using it as a sandwich between framing and the ledger.

It's not a best practice to leave it as it is even if flashed, but this forum has turned into handyman fix ups for cheap rentals, home sales, lowest cost repairs, house flippers and whatnot so what do I know.