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.

gefragt vor einem Jahr272 Aufrufe
1 Antwort
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
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen