Exhibit 23.1
Consent of Ernst & Young LLP, Independent Registered Public Accounting Firm
We consent to the incorporation by reference in the Registration Statement (Form S-8) pertaining to the Imperva, Inc. 2011 Employee Stock Purchase Plan and Imperva, Inc. Amended and Restated 2015 Equity Inducement Plan, of our reports dated February 23, 2018, with respect to the consolidated financial statements of Imperva, Inc. and the effectiveness of internal control over financial reporting of Imperva, Inc., included in its Annual Report (Form 10-K) for the year ended December 31, 2017, filed with the Securities and Exchange Commission.
/s/ Ernst & Young LLP
San Jose, California
May 8, 2018