mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 23:05:05 +00:00
feature: Only when custom checks are set
This commit is contained in:
10
prowler
10
prowler
@@ -416,10 +416,12 @@ execute_all() {
|
||||
execute_group $i
|
||||
fi
|
||||
done
|
||||
for checks in $(ls $EXTERNAL_CHECKS_PATH/check*); do
|
||||
CHECK_ID=$(echo $checks | awk -F '_' '{ print $2 }')
|
||||
execute_check $CHECK_ID
|
||||
done
|
||||
if [[ $EXTERNAL_CHECKS_PATH ]]; then
|
||||
for checks in $(ls $EXTERNAL_CHECKS_PATH/check*); do
|
||||
CHECK_ID=$(echo $checks | awk -F '_' '{ print $2 }')
|
||||
execute_check $CHECK_ID
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
# Function to show the titles of either all checks or only those in the specified group
|
||||
|
||||
Reference in New Issue
Block a user