turbot/aws_compliance

Control: IAM AWS managed policies should be attached to IAM role

Description

This control checks if all AWS managed policies specified in the list of managed policies are attached to the AWS Identity and Access Management (IAM) role. The rule is non-compliant if an AWS managed policy is not attached to the IAM role.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.iam_managed_policy_attached_to_role

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_compliance.control.iam_managed_policy_attached_to_role --share

SQL

This control uses a named query:

iam_managed_policy_attached_to_role

Tags