Both are correct: the port one of the aft-facing apertures (which are not identical!) is indeed a position light, but the starboard one is clearly an optical sensor.
Looks like they have thermal cameras dotted around
View attachment 735198