What kind of inspector? If it is for a home sale, usually called home inspection for a real estate contract, these inspectors have no authority of any kind. They work for the home buyer to evaluate the conditions of the property. In the contract, it usually has an exit clause after a home inspection if there are too many concerns on the opinion of the home buyer. Some mortgage companies do want a copy of it.
If it is for new work and a permit was pulled, then there is concern. The inspector may want to see the specifications and the installation instructions and this fixture is not designed to be attached directly to an electrical box. It is obvious that it can just be screwed to a wall at the three anchor points and if it is fasten as the instructions call for there usually will not be a problem. One picture seems to show a wire coming out the back and under it there appears to be a knock out for a direct wire option. It appears the best way is a wall mount electrical juncture box (rate for outdoor use), then as stated above, run a whip from the bottom knock out to the light fixture. This is where an electrical inspector would be concerned with.
Here is a video but it doesn't show the actually wiring being done but an existing wire was used and was direct wired.