AWS CLI で CloudFront の IP 一覧を取得
AWS CLI で CloudFront の IP 一覧を取得:
こんな感じで返る
$ curl --silent https://ip-ranges.amazonaws.com/ip-ranges.json | jq --raw-output '[.prefixes[]] | map(select( .["service"] == "CLOUDFRONT")) | .[].ip_prefix'
13.124.199.0/24 34.226.14.0/24 52.124.128.0/17 54.230.0.0/16 54.239.128.0/18 52.82.128.0/19 99.84.0.0/16 52.15.127.128/26 35.158.136.0/24 52.57.254.0/24 18.216.170.128/25 13.54.63.128/26 13.59.250.0/26 13.210.67.128/26 35.167.191.128/26 52.47.139.0/24 52.199.127.192/26 52.212.248.0/26 205.251.192.0/19 52.66.194.128/26 54.239.192.0/19 70.132.0.0/18 13.32.0.0/15 13.113.203.0/24 34.195.252.0/24 35.162.63.192/26 13.35.0.0/16 204.246.172.0/23 204.246.164.0/22 52.56.127.0/25 204.246.168.0/22 13.228.69.0/24 34.216.51.0/25 71.152.0.0/17 216.137.32.0/19 205.251.249.0/24 99.86.0.0/16 52.46.0.0/18 52.84.0.0/15 54.233.255.128/26 64.252.64.0/18 52.52.191.128/26 204.246.174.0/23 205.251.254.0/24 143.204.0.0/16 205.251.252.0/23 52.78.247.128/26 204.246.176.0/20 52.220.191.0/26 13.249.0.0/16 54.240.128.0/18 205.251.250.0/23 52.222.128.0/17 54.182.0.0/16 54.192.0.0/16 34.232.163.208/29
コメント
コメントを投稿