Israeli security thwarts 2,200 attacks, arrests 400 after monitoring social media