Mihai,
Depending on what version you are on, you have the ability to manage the software versions from within the system. See
https://docs.imperva.com/bundle/v14.3-administration-guide/page/Software_Updates_Overview.htm form more details.
If you are on an older version (12 or so?), sometimes you have to apply the first set of upgrades manually to get to the update dashboard.
If you still want to automate running the patches, the ansible provider is a pretty good choice if you don't have another method. (You don't need an ansible infrastructure to use it - you just need ansible running on one workstation).
If you are running in AWS, we have a different patching method for gateways. (also available on the docs site).
Jim
------------------------------
Jim Burtoft
SE
State College PA
------------------------------