mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 23:05:05 +00:00
changed outputs to the new ones
This commit is contained in:
@@ -10,11 +10,11 @@ check116(){
|
||||
for user in $LIST_USERS;do
|
||||
USER_POLICY=$($AWSCLI iam list-attached-user-policies --output text $PROFILE_OPT --region $REGION --user-name $user)
|
||||
if [[ $USER_POLICY ]]; then
|
||||
textWarn "$user has policy directly attached "
|
||||
textFail "$user has policy directly attached "
|
||||
C116_NUM_USERS=$(expr $C116_NUM_USERS + 1)
|
||||
fi
|
||||
done
|
||||
if [[ $C116_NUM_USERS -eq 0 ]]; then
|
||||
textOK "No policies attached to users."
|
||||
textPass "No policies attached to users."
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user