Created
February 23, 2020 06:27
-
-
Save Chan9390/d49c0024aa59edb455c0954ec7eefe37 to your computer and use it in GitHub Desktop.
One liner to get all the IP ranges of AWS Gov regions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s https://ip-ranges.amazonaws.com/ip-ranges.json | jq -r '.prefixes[] | select(.region | contains("gov")) | .ip_prefix' | sort -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment