Evening all

I noticed today that when the alarm is set and I open the car doors and boot the alarm only goes off with the front doors and the tailgate.
When the rears doors are opened nothing happens
So if someone fancies an Anniversary then use the back doors to brake in

But seriously any ideas what I can check ?
I suspect it is the door switches but the light comes on I think.