Imperva Cyber Community

communities_1.jpg
 View Only
  • 1.  Exporting Website Security Rules via API or Bulk Export

    Posted 14 days ago

    I am trying to inventory custom Website Security Rules configured under:

    Website Management → Website → Security → Rules

    These are site-level rules such as URL blocking, IP allowlists, redirects, and other custom security controls configured directly on individual websites.

    I have reviewed the available UI options and API documentation but have not found a method to retrieve these rules in bulk across all sites within an account.

    Is there a documented API endpoint, export capability, or supported method to retrieve:

    • Rule Name
    • Rule ID
    • Status
    • Conditions
    • Actions
    • Site Assignment

    for all Website Security Rules across an account?

    Any documentation, API examples, or recommended approaches would be appreciated.


    #AllImperva

    ------------------------------
    Kevin Lowrie
    Senior Security Engineer

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


  • 2.  RE: Exporting Website Security Rules via API or Bulk Export

    Posted 13 days ago

    Hi Kevin,

    You can download a list of the rules directly from the UI:

    image
    You can also  get a details using the terraform export API (if you use terraform):https://docs-cybersec.thalesgroup.com/bundle/api-docs/page/api/account-export.htm#
    Finally, you can use the following API:
    I hope this helps!


    ------------------------------
    Christopher Wear
    Technical Account Manager
    ------------------------------