Fixed a few more typos

This commit is contained in:
Stephen Tomkinson
2017-07-28 14:26:30 +01:00
parent abb2bfbe9f
commit 7e8fa330b5

10
prowler
View File

@@ -51,7 +51,7 @@ USAGE:
-c <checknum> specify a check number or group from the AWS CIS benchmark (i.e.: check11 for check 1.1, check3 for entire section 3 or level1 for CIS Level 1 Profile Definitions) -c <checknum> specify a check number or group from the AWS CIS benchmark (i.e.: check11 for check 1.1, check3 for entire section 3 or level1 for CIS Level 1 Profile Definitions)
-f <filterregion> specify an AWS region to run checks against (i.e.: us-west-1) -f <filterregion> specify an AWS region to run checks against (i.e.: us-west-1)
-m <maxitems> specify the maximum number of items to return for long-running requests (default: 100) -m <maxitems> specify the maximum number of items to return for long-running requests (default: 100)
-M <mode> output mode: text (defalut), mono, csv (separator is \"${SEP}\"; data is on stdout; progress on stderr) -M <mode> output mode: text (default), mono, csv (separator is \"${SEP}\"; data is on stdout; progress on stderr)
-k keep the credential report -k keep the credential report
-h this help -h this help
" "
@@ -180,7 +180,7 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
base64 -d base64 -d
} }
elif [[ "$OSTYPE" == "darwin"* ]]; then elif [[ "$OSTYPE" == "darwin"* ]]; then
# BSD/OSX coommands compatibility # BSD/OSX commands compatibility
how_older_from_today() how_older_from_today()
{ {
DATE_TO_COMPARE=$1 DATE_TO_COMPARE=$1
@@ -597,7 +597,7 @@ check110(){
if [[ $COMMAND110 -gt "23" ]];then if [[ $COMMAND110 -gt "23" ]];then
textOK "Password Policy limits reuse" textOK "Password Policy limits reuse"
else else
textWarn "Password Policy has weak reuse requirment (lower than 24)" textWarn "Password Policy has weak reuse requirement (lower than 24)"
fi fi
else else
textWarn "Password Policy missing reuse requirement" textWarn "Password Policy missing reuse requirement"
@@ -1263,10 +1263,10 @@ check315(){
fi fi
if [[ "Z" != "Z${CHECK_TOPIC_LIST}" ]]; then if [[ "Z" != "Z${CHECK_TOPIC_LIST}" ]]; then
printf '%s\n' "$CHECK_TOPIC_LIST" | while IFS= read -r dest ; do printf '%s\n' "$CHECK_TOPIC_LIST" | while IFS= read -r dest ; do
textNotice "Region $regx / Topic $TOPIC_SHORT / Suscription $dest" "$regx" textNotice "Region $regx / Topic $TOPIC_SHORT / Subscription $dest" "$regx"
done done
else else
textWarn "Region $regx / Topic $TOPIC_SHORT / Suscription NONE NONE" "$regx" textWarn "Region $regx / Topic $TOPIC_SHORT / Subscription NONE NONE" "$regx"
fi fi
done done
elif [[ $CAN_SNS_LIST_SUBS -eq 0 ]]; then elif [[ $CAN_SNS_LIST_SUBS -eq 0 ]]; then