it depends on what do you want to achieve and what functionality to change.
For example there is document "DRA--How to Extend GUI and CLI password expiration" in the Imperva documentation portal explaining how to change password expiration.
------------------------------
Marat Makhlin
Imperva
On-Prem Technical Lead
------------------------------