Skip to content
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

Update PassRole rules to not trigger on deny statements. Fixes #584 #586

Merged
merged 1 commit into from
Jan 3, 2022

Conversation

arothian
Copy link
Contributor

@arothian arothian commented Jan 3, 2022

No description provided.

@arothian arothian requested a review from a team as a code owner January 3, 2022 20:56
- "s3:GetBucketLocation"
Resource: "*"
-
Effect: Deny
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general rules that check for things like * resource, etc. should likely ignore the Deny. i.e. this will still trigger the lib/cfn-nag/custom_rules/IamPolicyWildcardResourceRule.rb rule. Otherwise we are properly following the changes requested for PassRole rules themselves.

@arothian arothian merged commit 0f8532f into stelligent:master Jan 3, 2022
@arothian arothian deleted the deny_fixes branch January 3, 2022 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants