mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 14:55:00 +00:00
Adjust execute_check() now that check71's ID has changed
Fix minor typo in a comment
This commit is contained in:
4
prowler
4
prowler
@@ -239,7 +239,7 @@ show_check_title() {
|
||||
|
||||
# Function to show the title of a group, by numeric id
|
||||
show_group_title() {
|
||||
# when csv mode is used, no group tittle is shown
|
||||
# when csv mode is used, no group title is shown
|
||||
if [[ "$MODE" != "csv" ]]; then
|
||||
textTitle "${GROUP_NUMBER[$1]}" "${GROUP_TITLE[$1]}" "NOT_SCORED" "SUPPORT"
|
||||
fi
|
||||
@@ -275,7 +275,7 @@ execute_check() {
|
||||
local check_id_var=CHECK_ID_$1
|
||||
local check_id=${!check_id_var}
|
||||
if [ ${check_id} ]; then
|
||||
if [[ ${check_id} == 1* || ${check_id} == 7.1,7.01 || ${check_id} == 7.74 ]];then
|
||||
if [[ ${check_id} == 1* || ${check_id} == 7.1 || ${check_id} == 7.74 ]];then
|
||||
if [ ! -s $TEMP_REPORT_FILE ];then
|
||||
genCredReport
|
||||
saveReport
|
||||
|
||||
Reference in New Issue
Block a user