Created
October 5, 2015 11:17
-
-
Save madssj/826e939718811c535863 to your computer and use it in GitHub Desktop.
Returns the ip ranges of a given AWS service.
This file contains hidden or 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|grep -B 2 CLOUDFRONT|grep -oE "\b(?:[0-9]{1,3}\.){3}[0-9]{1,3}/[0-9]{1,2}\b" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment