iam-customer-policy-blocked-kms-actions - AWS Config

iam-customer-policy-blocked-kms-actions

Checks if the managed AWS Identity and Access Management (IAM) policies that you create do not allow blocked actions on AWS KMS keys. The rule is NON_COMPLIANT if any blocked action is allowed on AWS KMS keys by the managed IAM policy.

Note

This rule does not evaluate the conditions provided in IAM policies. For more information on IAM conditions, see IAM JSON policy elements: Condition in the IAM User Guide.

Identifier: IAM_CUSTOMER_POLICY_BLOCKED_KMS_ACTIONS

Resource Types: AWS::IAM::Policy

Trigger type: Configuration changes

AWS Region: All supported AWS regions except Middle East (UAE), Asia Pacific (Hyderabad), Asia Pacific (Osaka), 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, you can list kms:Decrypt* or kms:ReEncrypt as blocked action patterns. The rule is NON_COMPLIANT if the managed IAM policy allows any action pattern listed in this parameter.

excludePermissionBoundaryPolicy (Optional)
Type: boolean

Boolean flag to exclude the evaluation of IAM policies used as permissions boundaries. If set to 'true', the rule will not include permissions boundaries in the evaluation. Otherwise, all IAM policies in scope are evaluated when value is set to 'false.' Default value is 'false'.

AWS CloudFormation template

To create AWS Config managed rules with AWS CloudFormation templates, see Creating AWS Config Managed Rules With AWS CloudFormation Templates.