The following table shows the list of IAM Users, Groups, and Roles in the account, whether they have findings or not.

{% for principal in t["principal_policy_mapping"] %} {% endfor %}
Type Name Policy Type Managed By Policy Name Comment
{{ principal["Type"] }} {{ principal["Principal"] }} {{ principal["PolicyType"] }}{% if principal["PolicyType"] == "Managed" %} [0]{% endif %}{% if principal["PolicyType"] == "Inline" %} [1]{% endif %} {{ principal["ManagedBy"] }}{% if principal["ManagedBy"] == "AWS" %} [2]{% endif %}{% if principal["ManagedBy"] == "Customer" %} [3]{% endif %} {{ principal["PolicyName"] }} {{ principal["Comment"] }}