Cyber security company Palo Alto Networks Inc said on Tuesday it would buy U.S.-Israeli information security firm Demisto Inc for $560 million in cash and stock.