# Functions
EnrichRoleWithPolicies retrieves the attached and inline policies for a given IAM role.
EnumerateIamRoles retrieves all IAM roles available to the caller.
GetAllRoles retrieves all Roles that are available to the caller.
GetAttachedPoliciesForRole captures any policies that have been attached to a given IAM role.
GetInlinePoliciesForRole captures any policies that have been inlined within a given IAM role.
GetRoleDetails uses the AWS SDK to retrieve and return a Role for the provided role name.
# Structs
AWSResourceReport is a struct that contains The Resources and Errors.
AWSResources is a struct that contains a slice of RoleResource structs and a PolicyReport.
DecodedPolicyVersion is a struct that contains the decoded policy version details.
DecodedRole is a struct that contains the role details and the decoded assume role policy document.
InlinePolicy is a struct that contains the policy name and policy document.
PolicyReport is a struct that contains a slice of PolicyResource structs and any errors that occurred during the collection of the policies.
PolicyResource is a struct that contains the policy and policy version details.
RoleResource is a struct that contains the role details, attached policies, and inline policies for an IAM role.