hide banner on csv output for group mode

This commit is contained in:
Toni de la Fuente
2018-03-28 12:32:51 -04:00
parent 9a035b1a94
commit 91b8a832ec
2 changed files with 8 additions and 0 deletions

5
groups/group9_gdpr Normal file
View File

@@ -0,0 +1,5 @@
GROUP_ID[9]='gdpr'
GROUP_NUMBER[9]='8.0'
GROUP_TITLE[9]='GDPR Readiness ***************************************************'
GROUP_RUN_BY_DEFAULT[9]='N' # run it when execute_all is called
GROUP_CHECKS[9]=''

View File

@@ -250,6 +250,9 @@ fi
# Execute group of checks if called with -g
if [[ $GROUP_ID ]];then
if [[ $MODE == "csv" ]]; then
BANNER=0
fi
execute_group_by_id $GROUP_ID
cleanTemp
exit $EXITCODE