Imperva Cyber Community

Expand all | Collapse all

Automate Certificate Management on Imperva Waf

  • 1.  Automate Certificate Management on Imperva Waf

    Posted 07-03-2020 17:58
    Hi all, 
    I am working on an Integration project of Imperva Waf ( cloud / on-prem ).My aim is to manage user uploaded certificate on the Imperva WAF.  Below are my queries.
    1. Do we have any API or CLI commands to fetch the details of certificate ( key and cert file ) of all the sites on Imperva WAF( Cloud and on -Prem ) ??
    2. Do we have any API  or CLI commands to automate delete/renew/upload certificates ( key and cert file )  of all the sites on Imperva WAF( Cloud and on -Prem ) including the root certificate.

    #CloudWAF(formerlyIncapsula)
    #On-PremisesWAF(formerlySecuresphere)

    ------------------------------
    Surya Kant Pasayat

    ------------------------------


  • 2.  RE: Automate Certificate Management on Imperva Waf

    Imperva Employee
    Posted 07-05-2020 03:57
    Hi Surya,

    We have a tool which can help with all these tasks, it's Imperva API composer.
    The additional information about it is here:
    https://community.imperva.com/communities/community-home/digestviewer/viewthread?MessageKey=08027b50-0644-46e4-9e22-c3fb27262561&CommunityKey=39c6092a-d67a-4bc2-8134-bfbb25fc43af&tab=digestviewer#bm08027b50-0644-46e4-9e22-c3fb27262561

    Also the API commands are documented in docs.imperva.com.
    If you need more specific information, just let me know.
    Best,

    ------------------------------
    Ira Miga
    Imperva
    Knowledge Engineer
    ------------------------------



  • 3.  RE: Automate Certificate Management on Imperva Waf

    Imperva Employee
    Posted 07-06-2020 09:17

    Hi Surya,

     

    Since you are looking for lots of different operations, I will send you the links where you can find those instead of specific commands.

    For Cloud WAF it's https://my.imperva.com/api/docs/v1/

    Or Certificate manager for client certificates: https://docs.imperva.com/bundle/cloud-application-security/page/certificate-api.htm

    For On-Prem the details can be found here for the latest version:

    https://docs.imperva.com/bundle/v14.2-api-reference-guide/

    Some of the options you are looking for do not exist as an API command and cannot be automated yet.
    If there's a need for this commands to be available with API, please submit FR on our website.
    Thanks,



    ------------------------------
    Ira Miga
    Imperva
    Knowledge Engineer
    ------------------------------