Cyber security firm Palo Alto Networks forecast current-quarter revenue and profit below analysts' estimates, sending its shares down 7 percent on Wednesday.

However, the company reported a higher-than-expected revenue for the fourth quarter as spending by companies and governments on cyber security stayed strong after a spate of major attacks in the past few years.