Merge pull request #520 from bridgecrewio/bugfix/extra774_fixes

extra774 requires credential report to run successfully
This commit is contained in:
Toni de la Fuente
2020-03-23 15:50:08 +01:00
committed by GitHub

View File

@@ -260,7 +260,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 ]];then
if [[ ${check_id} == 1* || ${check_id} == 7.1,7.01 || ${check_id} == 7.74 ]];then
if [ ! -s $TEMP_REPORT_FILE ];then
genCredReport
saveReport