Control: IAM user should not have any inline or attached policies
Description
This rule ensures AWS Identity and Access Management (IAM) policies are attached only to groups or roles to control access to systems and assets.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.iam_user_no_inline_attached_policies
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.iam_user_no_inline_attached_policies --share
SQL
This control uses a named query:
iam_user_no_inline_attached_policies