|Finding ID||Version||Rule ID||IA Controls||Severity|
|Information stored in one location is vulnerable to accidental or incidental deletion or alteration. Offloading is a common process in information systems with limited audit storage capacity.|
|Canonical Ubuntu 20.04 LTS Security Technical Implementation Guide||2022-12-06|
|Check Text ( C-41531r654136_chk )|
| Note: If this is an interconnected system, this is Not Applicable. |
Verify there is a script that offloads audit data and that script runs weekly.
Check if there is a script in the "/etc/cron.weekly" directory that offloads audit data:
# sudo ls /etc/cron.weekly
Check if the script inside the file does offloading of audit logs to external media.
If the script file does not exist or does not offload audit logs, this is a finding.
|Fix Text (F-41490r654137_fix)|
| Create a script that offloads audit logs to external media and runs weekly. |
The script must be located in the "/etc/cron.weekly" directory.