Last active
June 18, 2019 06:12
-
-
Save santrancisco/cb8268b13695d1528cc353835ebb9d58 to your computer and use it in GitHub Desktop.
cloudformation example
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
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "CTF check", | |
"Resources": { | |
"sg": { | |
"Type": "AWS::EC2::SecurityGroup", | |
"Properties": { | |
"GroupDescription": "SSH Security Group", | |
"SecurityGroupIngress": { | |
"CidrIp": "0.0.0.0/0", | |
"FromPort": 22, | |
"ToPort": 22, | |
"IpProtocol": "tcp" | |
}, | |
"SecurityGroupEgress": { | |
"CidrIp": "0.0.0.0/0", | |
"FromPort": 22, | |
"ToPort": 22, | |
"IpProtocol": "tcp" | |
}, | |
"Tags": [ | |
{ | |
"Key": "Name", | |
"Value": "demo1" | |
}, | |
{ | |
"Key": "LOB", | |
"Value": "Finance" | |
} | |
] | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DONOT USE - Example of vulnerable security group