mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-11-02 01:15:31 +00:00
changed outputs to the new ones
This commit is contained in:
1 parent
1acc6e45d0
commit
07b166baa9
81 files changed
+267
-267
No files matched your search
+2
-2
@@ -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