-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
chore(ec2): reduce noise in Security Groups checks #2525
Conversation
de479ed
to
f882ca5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome but could you please update the EC2 service tests and include a new test to verify the new public_ports
attribute? Thanks!
@@ -34,6 +35,15 @@ def set_mocked_audit_info(self): | |||
organizations_metadata=None, | |||
audit_resources=None, | |||
mfa_enabled=False, | |||
audit_metadata=Audit_Metadata( | |||
services_scanned=0, | |||
# We need to set this check to call __list_functions__ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# We need to set this check to call __list_functions__ | |
# We need to set this check to call __list_functions__ |
@@ -46,6 +47,15 @@ def set_mocked_audit_info(self): | |||
organizations_metadata=None, | |||
audit_resources=None, | |||
mfa_enabled=False, | |||
audit_metadata=Audit_Metadata( | |||
services_scanned=0, | |||
# We need to set this check to call __list_functions__ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# We need to set this check to call __list_functions__ |
Description
Reduce noise in Security Groups checks (if a security group has all ports open, only create one finding).
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.