Imperva Cyber Community

communities_1.jpg
 View Only

How to combine 4 plugins into one

  • 1.  How to combine 4 plugins into one

    Posted 07-20-2023 07:09
      |   view attached

    Dear community.
    I have a task.
    given the following URL:
    /api/card-service/companies/798ec832-1691-49db-96d9-851ee73a7637/corporate-cards/9e7fbe87-4a4f-40ac-8c36-6641b7952a69/phone/ae0c010b-3c21-42d5-a937-f82f410ae336/client/b40ab844-a806-4307-8d5e-be856f011ca6/bank
    It is necessary to create a plugin "URL to Parameter" but that the plugin is one and not duplicated for each match of the dynamic part.
    as you see in the url of the dynamic parts 3.

    You can see on the screenshot in attach.

    We use 4 plugins so that such URL requests can be processed by WAF.
    But we think that this creates a lot of load and is not very optimized.
    We need to collapse (combine) 4 plugins into one


    #On-PremisesWAF(formerlySecuresphere)

    ------------------------------
    Rustam Abdullin
    Chief Expert
    AO Tsesna Bank
    Astana
    ------------------------------