Is there a way to set the ip conditions of AWS WAF all that once by uploading a list?

0

You can restrict access to a resource like cloudfront by using AWS WAF. You can create an ip condition that can hold up to 10000 ip addresses or ip ranges. But these ranges need to be entered manually. I have a list of 200+ ip ranges that all need to be blocked. Is there a way to upload these ip ranges all at once? Perhaps via AWS CLI? Entering all those ip ranges manually would take a long time.

asked a year ago263 views
1 Answer
1

Hi,

You could read 2 blogs like

How can I create, list, get, or update AWS WAFV2 IPSets using the AWS CLI? https://aws.amazon.com/premiumsupport/knowledge-center/maintain-waf-ipsets-using-cli/

Automatically update AWS WAF IP sets with AWS IP ranges https://aws.amazon.com/blogs/security/automatically-update-aws-waf-ip-sets-with-aws-ip-ranges/

both them you might guide you to update IP Sets.

AWS
Jorge
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions