Control: Ensure inline policies attached to IAM users, roles, and groups should not allow blocked actions on KMS keys
Description
Checks if the inline policies attached to IAM users, roles, and groups do not allow blocked actions on all AWS Key Management Service (KMS) keys. The rule is non - compliant if any blocked action is allowed on all KMS keys in an inline policy.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.iam_policy_inline_no_blocked_kms_actions
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.iam_policy_inline_no_blocked_kms_actions --share
SQL
This control uses a named query:
iam_policy_inline_no_blocked_kms_actions