It looks like this device sold in Amazon: Orbit 62100 Yard Enforcer Motion-Activated Sprinkler.
HUMANELY REPELS ANIMALS AND PESTS: Keeps animals and pests out of plants, yards and gardens using a harmless spray of water.
I’d say it did a good job. Again, notice how the motion-activated light was not a deterrent for the cyclist at all. I am going to guess the sparyer is fixed to the bucket with concrete. Another idea for the security folder.