mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-16 00:04:59 +00:00
populated checks
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
CHECK_ID_check19=""
|
||||
CHECK_TITLE_check19=""
|
||||
CHECK_SCORED_check19=""
|
||||
CHECK_TYPE_check19=""
|
||||
CHECK_ALTERNATE_check19="check19"
|
||||
|
||||
check19(){
|
||||
# "Ensure IAM password policy requires minimum length of 14 or greater (Scored)"
|
||||
COMMAND19=$($AWSCLI iam get-account-password-policy $PROFILE_OPT --region $REGION --output json --query 'PasswordPolicy.MinimumPasswordLength' 2> /dev/null)
|
||||
textTitle "$ID19" "$TITLE19" "SCORED" "LEVEL1"
|
||||
if [[ $COMMAND19 -gt "13" ]];then
|
||||
textOK "Password Policy requires more than 13 characters"
|
||||
else
|
||||
textWarn "Password Policy missing or weak length requirement"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user