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:
@@ -7,8 +7,8 @@ check18(){
|
||||
# "Ensure IAM password policy require at least one number (Scored)"
|
||||
COMMAND18=$($AWSCLI iam get-account-password-policy $PROFILE_OPT --region $REGION --output json --query 'PasswordPolicy.RequireNumbers' 2> /dev/null) # must be true
|
||||
if [[ "$COMMAND18" == "true" ]];then
|
||||
textOK "Password Policy requires number"
|
||||
textPass "Password Policy requires number"
|
||||
else
|
||||
textWarn "Password Policy missing number requirement"
|
||||
textFail "Password Policy missing number requirement"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user