Control: IAM policy should be in use
Description
This control checks whether the IAM policy ARN is attached to an IAM user, or a group with one or more IAM users, or an IAM role with one or more trusted entity.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.iam_policy_unused
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.iam_policy_unused --share
SQL
This control uses a named query:
iam_policy_unused