Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 736 Bytes

File metadata and controls

13 lines (10 loc) · 736 Bytes

AWS IP Range to WAF IP Set

What:

A Script which create a CloudFormation template, provisioning two WAF's IP Sets for IPv4 and IPv6
The script use the public source of AWS IPs

How to use:

  1. git clone
  2. run node index.js

Limitation:

  1. ./tmp folder must exists prior running the script
  2. each IP Set is limited to 10k of ips (14/09/2023 the list contain max of 7k) - In case robust solution needed, the cloudformation should be split to 10k chunks