The cybersecurity company said it will lay off 5% of its global workforce.