Unless it was designed and certified as a street legal assembly (like the Squadron SAE), you can't make it street legal.
Most all aftermarket lighting like this is not street legal and for off-road use only. Very few lights have made it into the category of street legal, and generally cost a good deal more because of the SAE cert.
PIAA RF series and the BD Squadron SAE are the two I am most familiar with.