Created
March 31, 2018 00:35
-
-
Save woodrow/e447e1c57c526084a89ffa6a0c00c4c5 to your computer and use it in GitHub Desktop.
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
# check for open ports in security groups | |
aws ec2 describe-security-groups | jq '.SecurityGroups | map(select(.IpPermissions[] | select(.FromPort >= 443 and .ToPort <= 443))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment