blob: b254bd1857bfea7cda49dbe844f161d28bc7ffb4 [file] [log] [blame]
Zami Seck4e0251d2022-10-14 12:05:22 -04001#!/usr/bin/env bash
2#
3# config: 2 40
4# @brief: Save the audit log
5#
6
7# shellcheck disable=SC1091
8. "$DREPORT_INCLUDE"/functions
9
10# Multiple audit.log files can exist in the $log_path
11# directory. Copy all that exist to the dump.
12desc="Audit Log"
13log_path="/var/log/audit/"
14
15if [ -e "$log_path" ]; then
16 add_copy_file "$log_path" "$desc"
17fi