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

Fix CIS v1.3.0 and v1.4.0 1.16 query and update IAM policy and account password query names #367

Merged
merged 2 commits into from
Apr 22, 2022

Conversation

cbruno10
Copy link
Contributor

@cbruno10 cbruno10 commented Apr 21, 2022

Checklist

  • Issue(s) linked

This PR also includes the following changes:

  • Remove unused IAM policy queries
  • Rename all IAM policy queries to more closely match their intents
  • Update iam_all_policy_no_service_wild_card control to only check customer managed policies instead of customer managed + AWS managed policies, as users can't change AWS managed policies
  • Update the iam_all_policy_no_service_wild_card and foundational_security_iam_21 controls to alarm if a statement grants *:*, as these statements also grant full access to at least 1 AWS service (see https://docs.aws.amazon.com/config/latest/developerguide/iam-policy-no-statements-with-full-access.html)
  • Rename the one IAM account password policy query that had an inconsistent name

@cbruno10 cbruno10 changed the base branch from main to release/v0.28 April 22, 2022 14:24
@cbruno10 cbruno10 merged commit c4e56da into release/v0.28 Apr 22, 2022
@cbruno10 cbruno10 deleted the update-iam-queries branch April 22, 2022 18:37
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.

Fix CIS v1.3.0 and v1.4.0 1.16 query to only show attached policies in result
2 participants