mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-11 23:35:07 +00:00
changed outputs to the new ones
This commit is contained in:
@@ -8,9 +8,9 @@ check111(){
|
||||
COMMAND111=$($AWSCLI iam get-account-password-policy $PROFILE_OPT --region $REGION --output json | grep MaxPasswordAge | awk -F: '{ print $2 }'|sed 's/\ //g'|sed 's/,/ /g' 2> /dev/null)
|
||||
if [[ $COMMAND111 ]];then
|
||||
if [ "$COMMAND111" == "90" ];then
|
||||
textOK "Password Policy includes expiration"
|
||||
textPass "Password Policy includes expiration"
|
||||
fi
|
||||
else
|
||||
textWarn "Password expiration not set or set greater than 90 days "
|
||||
textFail "Password expiration not set or set greater than 90 days "
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user