UCF STIG Viewer Logo

The SLES for vRealize audit system must be configured to audit file deletions.


Finding ID Version Rule ID IA Controls Severity
V-89851 VRAU-SL-001465 SV-100501r1_rule Medium
If the system is not configured to audit certain activities and write them to an audit log, it is more difficult to detect and track system compromises and damages incurred during a system compromise.
VMware vRealize Automation 7.x SLES Security Technical Implementation Guide 2018-10-12


Check Text ( C-89543r1_chk )
Check the system audit configuration to determine if file and directory deletions are audited:

# cat /etc/audit.rules /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "rmdir"

If no results are returned, or the results do not contain "-S rmdir", this is a finding.
Fix Text (F-96593r1_fix)
Add the following to "/etc/audit/audit.rules" in order to capture file and directory deletion events:

-a always,exit -F arch=b64 -S rmdir -S rm
-a always,exit -F arch=b32 -S rmdir -S rm