-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New rule to warn on ipProtocol -1 #273
Comments
@atkinsonm Thanks for the input. Yes having a warning for this makes sense. |
I have to ask - what is meant by a 'dangling' egress/ingress ? |
created PR for this - # 279 |
the egress/ingress is "dangling" if there is a resource for an ingress or egress in a given cfn template, but the security group it attaches to is NOT in the same template. for example template1 could define a security group. the template2 could accept an sg-id as a Parameter and create an egress/ingress rule using that sg-id. |
Thanks, I couldn't find a definition anywhere for that. |
…pProtocol value.
Thanks all! |
Setting
IpProtocol: '-1'
can produce unexpected results. Per the docs, when-1
is used,ToPort
andFromPort
are essentially ignored and access is granted on all ports from all protocols.I believe this configuration should be treated the same as W27 and throw a warning for port ranges instead of single ports.
Credit to @grolston for the original find.
The text was updated successfully, but these errors were encountered: