cybersecurity Request an audit

Threat feed / Web application firewalls and web servers / Script or API

Block attackers on Imperva Cloud WAF with the ACIDRIPP feed

A small scheduled script or an API call keeps the list up to date. The feature is called ACL policy > Block IPs (WAF Policies), managed by the Policy Management API.

The address to use

https://cybersecurity.acidripp.com/feed/block/strict.plain

This is the strict list: addresses that got into our decoys, ran commands there or brought malware in the last 14 days. It is small and safe to block. For more coverage, replace strict in the address with standard (also addresses that tried passwords) or wide (also every scanner). What each list holds, and every format, is on the threat feed page.

Before you start

ProductImperva Cloud WAF
What it acceptsip, cidr, range, ipv6
File formatSingle IPs, IP ranges and subnets, for example 2.2.2.2, 3.3.3.3-3.3.3.5, 10.10.10.10/24. Bulk upload: .csv file, single column, one entry per line; the documented example includes an IPv6 address. API: JSON policy object with policyType "ACL" and a policySettings entry whose data.ips is an array of strings.
LimitsUp to 20,000 entries per ACL policy (any mix of single IPs, ranges, subnets). CSV upload: up to 10,000 entries per file. Max 1,500 policies per account. Several ACL policies can be applied to one website at the same time.
NeedsImperva Cloud WAF account; a user or API key with the policy permissions (View/Add/Edit policy, Apply policy to assets). API ID and API key sent as x-API-Id and x-API-Key headers.

Add the feed

  1. Cloud Security Console: top menu Application.
  2. Sidebar: WAF > WAF Policies.
  3. Click Create Policy.
  4. General tab: Policy Name, Policy Type = ACL, Enable Policy.
  5. Configuration tab: Block IPs: enter the addresses or upload a .csv file.
  6. Applied on tab: Apply to websites, then save.

Commands

# Official authentication sample (lists policies)
curl -X 'GET' \
  'https://api.imperva.com/policies/v2/policies' \
  -H 'accept: application/json' \
  -H 'x-API-Id: 2222' \
  -H 'x-API-Key: 33333'
# Full replace of one policy (documented endpoint; body sketched from the documented PolicyDto fields, not an official example)
curl -X 'PUT' 'https://api.imperva.com/policies/v2/policies/POLICY_ID' \
  -H 'Content-Type: application/json' -H 'x-API-Id: 2222' -H 'x-API-Key: 33333' \
  -d '{"name":"Block ip Policy","policyType":"ACL","enabled":true,"policySettings":[{"id":SETTINGS_ID,"policySettingType":"IP","settingsAction":"BLOCK","data":{"ips":["198.51.100.4","203.0.113.0/24"]}}]}'

Block with it

  1. Create an ACL policy with Block IPs filled in.
  2. Apply the policy to the websites (Applied on tab, or POST /v2/assets/{assetType}/{assetId}/policies/{policyId}).
  3. Keep the policy enabled.

Good to know

  • Imperva does not fetch an outside URL; a scheduled script must call the Policy Management API.
  • PUT /v2/policies/{policyId} overwrites the whole policy (omitted entries are removed); POST /v2/policies/{policyId} appends.
  • When updating existing settings, include the policy settings id (documented requirement).
  • If an address is in both an Allowlist policy and an ACL policy, the Allowlist policy wins.
  • The old per-site 'Block Specific Sources' setting has moved to policies.
  • Imperva documentation now redirects to docs-cybersec.thalesgroup.com.

What we could not confirm

  • The exact JSON body for the PUT call (field 'enabled', the IP settings object) was assembled from the schema field list; test it against a GET of an existing policy first.
  • Whether the 20,000 entry limit also applies through the API is not stated.
  • API rate limits were not found.
  • Plan or licence tiers that include ACL policies were not stated on the pages read.

Sources

Most steps were checked against the vendor's documentation; the points above were not on 30 November 2026. They were not tested on a device: menus move between versions, so check against your own. Found a mistake? Write to audit@acidripp.com. The feed comes with no guarantee; test before you block production traffic.