aws-samples / aws-waf-dashboard

1 click deployment for creating AWS WAF dashboard
MIT No Attribution
39 stars 41 forks source link

WAFV2 ARN mapping is not correct #5

Closed srikarduplo closed 3 years ago

srikarduplo commented 4 years ago

Region: us-east-1 is hard coded in the ARN, instead we can replace it with os.environ['REGION'] logWebACLId = "arn:aws:wafv2:us-east-1:" + os.environ['ACCOUNT_ID'] + ":regional/webacl/" + webacl["Name"] + "/" + webacl["Id"];

tstachlewski commented 4 years ago

Good one! Thx! I will modify it next week!

tstachlewski commented 3 years ago

Fixed