mirror of
https://github.com/mgeeky/Penetration-Testing-Tools.git
synced 2024-12-22 09:05:06 +01:00
Update evaluate-iam-role.sh
This commit is contained in:
parent
7e8bb99f16
commit
a0c44ef0be
@ -184,7 +184,7 @@ if [[ "$ROLE_NAME" == "all" ]]; then
|
||||
echo "[+] Evaluating ALL used IAM Roles"
|
||||
echo
|
||||
|
||||
out=($(aws --profile awl iam list-roles --query 'Roles[*].RoleName' --output text | tr '\t' '\n'))
|
||||
out=($(aws --profile $PROFILE iam list-roles --query 'Roles[*].RoleName' --output text | tr '\t' '\n'))
|
||||
|
||||
for role in "${out[@]}"; do
|
||||
examine_role $role
|
||||
|
Loading…
Reference in New Issue
Block a user