iam-inline-policy-blocked-kms-actions
Checks if the inline policies attached to your IAM users, roles, and groups do not allow blocked actions on all Amazon KMS keys. The rule is NON_COMPLIANT if any blocked action is allowed on all Amazon KMS keys in an inline policy.
Identifier: IAM_INLINE_POLICY_BLOCKED_KMS_ACTIONS
Resource Types: AWS::IAM::Group, AWS::IAM::Role, AWS::IAM::User
Trigger type: Configuration changes
Amazon Web Services Region: All supported Amazon regions except US ISO West, US ISO East, Middle East (UAE), Asia Pacific (Hyderabad), Asia Pacific (Osaka), Asia Pacific (Malaysia), US ISOB East, Asia Pacific (Melbourne), Israel (Tel Aviv), Canada West (Calgary), Europe (Spain), Europe (Zurich) Region
Parameters:
- blockedActionsPatterns
- Type: CSV
-
Comma-separated list of blocked KMS action patterns, for example, kms:*, kms:Decrypt, kms:ReEncrypt*.
- excludeRoleByManagementAccount (Optional)
- Type: boolean
-
Exclude a role if it is only assumable by organization management account.
Amazon CloudFormation template
To create Amazon Config managed rules with Amazon CloudFormation templates, see Creating Amazon Config Managed Rules With Amazon CloudFormation Templates.