Control: Ensure IAM role not attached with Administratoraccess policy
Description
AWS IAM role should not be attached Administratoraccess policy.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.iam_role_no_administrator_access_policy_attached
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.iam_role_no_administrator_access_policy_attached --share
SQL
This control uses a named query:
iam_role_no_administrator_access_policy_attached