mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 14:55:00 +00:00
Support custom folder checks when running all checks @xeroxnir
Support custom folder checks when running all checks @xeroxnir
This commit is contained in:
8
prowler
8
prowler
@@ -413,9 +413,15 @@ execute_all() {
|
||||
GROUP_RUN_BY_DEFAULT[7]='N'
|
||||
fi
|
||||
if [ "${GROUP_RUN_BY_DEFAULT[$i]}" == "Y" ]; then
|
||||
execute_group $i
|
||||
execute_group $i
|
||||
fi
|
||||
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