-
Notifications
You must be signed in to change notification settings - Fork 65
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
The Security Group allows for 0.0.0.0/0 or ::/0 inbound access. in CDK #1556
Comments
You should be able to suppress the validation error. Can you provide a snippet to reproduce the issue? |
Unable to provide complete code
Suprresion code: cdk_nag.NagSuppressions.add_resource_suppressions( cdk_nag.NagSuppressions.add_resource_suppressions_by_path(self,"<Resource_Path>",[suppression_rule]) |
Unfortunately that's not enough to reproduce the issue you are having with suppressions. What is the exact error message you are getting? What does your suppression look like? |
There's no error |
The line should show up as suppressed in the report if the |
What is the problem?
Though the ports are specifically mentioned for inbound getting the error as "The Security Group allows for 0.0.0.0/0 or ::/0 inbound access." with the warning compliance as UNKNOWN.
Trying to suppress the warning is also not working
Reproduction Steps
NA
What did you expect to happen?
When the suppression code is written the error compliance to be changed to Suppressed.
What actually happened?
Compliance of the error remains as UNKNOWN even after suppression logic added in the code
cdk-nag version
2.28.3
Language
Python
Other information
No response
The text was updated successfully, but these errors were encountered: