mirror of
https://github.com/mgeeky/Penetration-Testing-Tools.git
synced 2024-11-21 18:11:37 +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 "[+] Evaluating ALL used IAM Roles"
|
||||||
echo
|
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
|
for role in "${out[@]}"; do
|
||||||
examine_role $role
|
examine_role $role
|
||||||
|
Loading…
Reference in New Issue
Block a user