There's the flood info website as a general guide to the 10/100/1,000 year flood rate for a particular location.
But that website is an extremely loose guide, not to be relied upon in my opinion. Pretty sure that disclaimer is on the landing page as well. It's out of date and historical- tge 100 year events are becoming 10 year events etc.
I'd ignore flood defences as well as most require regular maintenance eg clearing of leaves etc. One tight budgetary year or a bad manager followed by heavy rain and you're in trouble.
Your friend could get a quote for home insurance and see if flood insurance is actually available.
And even if all of those seem good, just look at the local geography. Flood insurance will likely only last until the first event and then disappear at the next renewal.
Honestly if it's close enough to the river that these checks are necessary as opposed to just being done out of an abundance of caution, I'd walk away. There are other houses to buy and due diligence is utterly worthless if you're out of your home for a few months waiting on repairs.
Flood insurance is incidentally unobtainable for my house because it's within 100m of a major waterway, but that's irrelevant to me because most of Leinster will be underwater before my house is and I can't imagine what kind of landslide would bring my house with it. This is what I mean by looking at the local geography.