As long as your a member of the Israeli Military your allowed to carry a firearm. I saw it when I was in Israel two years ago, military walk around carrying rifles..it was really nice to see, felt very secure
I was told, also retired military officers, people living on the other side of the Green Line, and hunters.
Seeing the military carry weapons doesn’t make me feel safer, they do that in Mexico, I like to carry my own weapon.