1*4e0251d1SZami Seck#!/usr/bin/env bash 2*4e0251d1SZami Seck# 3*4e0251d1SZami Seck# config: 2 40 4*4e0251d1SZami Seck# @brief: Save the audit log 5*4e0251d1SZami Seck# 6*4e0251d1SZami Seck 7*4e0251d1SZami Seck# shellcheck disable=SC1091 8*4e0251d1SZami Seck. "$DREPORT_INCLUDE"/functions 9*4e0251d1SZami Seck 10*4e0251d1SZami Seck# Multiple audit.log files can exist in the $log_path 11*4e0251d1SZami Seck# directory. Copy all that exist to the dump. 12*4e0251d1SZami Seckdesc="Audit Log" 13*4e0251d1SZami Secklog_path="/var/log/audit/" 14*4e0251d1SZami Seck 15*4e0251d1SZami Seckif [ -e "$log_path" ]; then 16*4e0251d1SZami Seck add_copy_file "$log_path" "$desc" 17*4e0251d1SZami Seckfi 18