Update : affichage

This commit is contained in:
Hubert Cornet 2025-04-25 09:08:40 +02:00
parent ecb07e8628
commit 9afacd4119
4 changed files with 19 additions and 1 deletions

View File

@ -41,8 +41,17 @@ log_message() {
# Display to console with colors # Display to console with colors
case "$LEVEL" in case "$LEVEL" in
"INFO") "SCRIPT")
echo ""
echo "============================================================================================"
echo ""
echo -e "${BLUE}[$LEVEL]${NC} $MESSAGE" echo -e "${BLUE}[$LEVEL]${NC} $MESSAGE"
echo
;;
"INFO")
echo ""
echo -e "${BLUE}[$LEVEL]${NC} $MESSAGE"
echo
;; ;;
"WARNING") "WARNING")
echo "" echo ""

View File

@ -338,6 +338,9 @@ EOF
log_message "SUCCESS" "System accounts secured" log_message "SUCCESS" "System accounts secured"
} }
#
log_message "SCRIPT" "additional_hardening.sh"
# Main execution for additional hardening # Main execution for additional hardening
harden_system_settings harden_system_settings

View File

@ -110,6 +110,9 @@ EOF
fi fi
} }
#
log_message "SCRIPT" "antivirus.sh"
# Main execution for antivirus # Main execution for antivirus
configure_clamav configure_clamav

View File

@ -120,6 +120,9 @@ EOF
fi fi
} }
#
log_message "SCRIPT" "auditing.sh"
# Main execution for auditing # Main execution for auditing
configure_auditd configure_auditd