Imperva Cyber Community

communities_1.jpg
 View Only
  • 1.  Get Signature

    Posted 08-16-2020 05:26
    Edited by Ira Miga 08-18-2020 04:28
    When I'm trying to send a get request as mentioned in the Imperva API documentation 
    (https://docs.imperva.com/bundle/v14.2-api-reference-guide/page/66928.htm),
    if the signature name contains '/'(even though I URL encoded it to %2F)
    I'm getting bad request(400).

    someone knows this problem?
    #On-PremisesWAF(formerlySecuresphere)

    ------------------------------
    Tzach Ben Hamo
    ------------------------------


  • 2.  RE: Get Signature

    Posted 08-18-2020 04:35
    Hi Tzach,

    It doesn't look like a known issue.
    Can you please send me the API request you are executing?
    And which version you are using..
    I will try to replicate the issue in my lab.
    Best,

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



  • 3.  RE: Get Signature

    Posted 08-18-2020 04:49
    Hi Tzach,

    I've just found out it is a known issue.
    The API that works correctly is: SecureSphere/api/v1/conf/policies/security/httpProtocolPolicies/HTTP/1.x Protocol Policy
    But this one doesn't: SecureSphere/api/v1/conf/policies/security/webServiceCustomPolicies/.
    Please confirm you are using the later.
    We are working on a fix for this issue that will be released very soon.
    Best,




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