Imperva Cyber Community

communities_1.jpg
 View Only
  • 1.  API pagination

    Posted 08-13-2020 09:59
    In case I asked to get violations (https://docs.imperva.com/bundle/v14.2-api-reference-guide/page/69955.htm)
    the response may contain a lot of objects.
    Is there an option to divide the returned objects to pages?
    #APISecurity
    #On-PremisesWAF(formerlySecuresphere)

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


  • 2.  RE: API pagination

    Posted 08-16-2020 07:01
    @Tzach Ben Hamo

    There is no way to page the returned objects. However, you can limit the number of objects by modifying the search criteria to include only the last few days or "fromDate" and "toDate". Also, there is a way to limit the number of violations you get.

    I hope this helps!​

    ------------------------------
    Christopher Detzel
    Community Manager
    Imperva
    ------------------------------