mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 06:45:08 +00:00
remove -b flag, since -M covers it
This commit is contained in:
@@ -97,7 +97,6 @@ USAGE:
|
|||||||
-c <checknum> specify a check number or group from the AWS CIS benchmark (i.e.: check11 for check 1.1 or check3 for entire section 3)
|
-c <checknum> specify a check number or group from the AWS CIS benchmark (i.e.: check11 for check 1.1 or check3 for entire section 3)
|
||||||
-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)
|
||||||
-b do not use colors in the output
|
|
||||||
-M <mode> output mode: text (defalut), mono, csv (separator is "|"; data is on stdout; progress on stderr)
|
-M <mode> output mode: text (defalut), mono, csv (separator is "|"; data is on stdout; progress on stderr)
|
||||||
-h this help
|
-h this help
|
||||||
|
|
||||||
|
|||||||
8
prowler
8
prowler
@@ -48,22 +48,18 @@ USAGE:
|
|||||||
-c <checknum> specify a check number or group from the AWS CIS benchmark (i.e.: check11 for check 1.1 or check3 for entire section 3)
|
-c <checknum> specify a check number or group from the AWS CIS benchmark (i.e.: check11 for check 1.1 or check3 for entire section 3)
|
||||||
-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)
|
||||||
-b do not use colors in the output
|
|
||||||
-M <mode> output mode: text (defalut), mono, csv (separator is \"|\"; data is on stdout; progress on stderr)
|
-M <mode> output mode: text (defalut), mono, csv (separator is \"|\"; data is on stdout; progress on stderr)
|
||||||
-h this help
|
-h this help
|
||||||
"
|
"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
while getopts ":hbp:r:c:f:m:M:" OPTION; do
|
while getopts ":hp:r:c:f:m:M:" OPTION; do
|
||||||
case $OPTION in
|
case $OPTION in
|
||||||
h )
|
h )
|
||||||
usage
|
usage
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
b )
|
|
||||||
MONOCHROME=1
|
|
||||||
;;
|
|
||||||
p )
|
p )
|
||||||
PROFILE=$OPTARG
|
PROFILE=$OPTARG
|
||||||
;;
|
;;
|
||||||
@@ -304,6 +300,8 @@ textTitle(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
printCsvHeader() {
|
printCsvHeader() {
|
||||||
|
>&2 echo ""
|
||||||
|
>&2 echo ""
|
||||||
>&2 echo "Generateing pipe delimited report on stdout; Diagnostics on stderr."
|
>&2 echo "Generateing pipe delimited report on stdout; Diagnostics on stderr."
|
||||||
>&2 echo " Using Profile $PROFILE"
|
>&2 echo " Using Profile $PROFILE"
|
||||||
>&2 echo ""
|
>&2 echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user