mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 23:05:05 +00:00
Add quiet mode that only logs failures
This commit is contained in:
@@ -13,6 +13,10 @@
|
||||
|
||||
# Output formatting functions
|
||||
textPass(){
|
||||
if [[ "$QUIET" == 1 ]]; then
|
||||
return
|
||||
fi
|
||||
|
||||
PASS_COUNTER=$((PASS_COUNTER+1))
|
||||
if [[ "$MODE" == "csv" ]]; then
|
||||
if [[ $2 ]]; then
|
||||
@@ -55,6 +59,10 @@ textPass(){
|
||||
}
|
||||
|
||||
textInfo(){
|
||||
if [[ "$QUIET" == 1 ]]; then
|
||||
return
|
||||
fi
|
||||
|
||||
if [[ "$MODE" == "csv" ]]; then
|
||||
if [[ $2 ]]; then
|
||||
REPREGION=$2
|
||||
|
||||
Reference in New Issue
Block a user