Bug ID 880565: Audit Log: "cmd_data=list cm device recursive" is been generated continuously

Last Modified: Oct 04, 2024

Affected Product(s):
BIG-IP TMOS(all modules)

Known Affected Versions:
14.1.2.3, 14.1.2.4, 14.1.2.5, 14.1.2.6, 14.1.2.7, 14.1.2.8, 14.1.3, 14.1.3.1, 14.1.4, 14.1.4.1, 14.1.4.2, 14.1.4.3, 14.1.4.4, 14.1.4.5, 14.1.4.6, 14.1.5, 14.1.5.1, 14.1.5.2, 14.1.5.3, 14.1.5.4, 14.1.5.6, 15.0.0, 15.0.1, 15.0.1.1, 15.0.1.2, 15.0.1.3, 15.0.1.4, 15.1.0, 15.1.0.1, 15.1.0.2, 15.1.0.3, 15.1.0.4, 15.1.0.5, 15.1.1, 15.1.2, 15.1.2.1, 15.1.3, 15.1.3.1, 15.1.4, 15.1.4.1, 15.1.5, 15.1.5.1, 15.1.6, 15.1.6.1, 15.1.7, 15.1.8, 15.1.8.1, 15.1.8.2, 15.1.9, 15.1.9.1, 15.1.10, 15.1.10.2, 15.1.10.3, 15.1.10.4, 15.1.10.5, 16.0.0, 16.0.0.1, 16.0.1, 16.0.1.1, 16.0.1.2, 16.1.0, 16.1.1, 16.1.2, 16.1.2.1, 16.1.2.2, 16.1.3, 16.1.3.1, 16.1.3.2, 16.1.3.3, 16.1.3.4, 16.1.3.5, 16.1.4, 16.1.4.1, 16.1.4.2, 16.1.4.3, 16.1.5, 16.1.5.1, 17.1.0, 17.1.0.1, 17.1.0.2, 17.1.0.3, 17.1.1, 17.1.1.1, 17.1.1.2, 17.1.1.3, 17.1.1.4

Opened: Feb 13, 2020

Severity: 3-Major

Symptoms

The system generates and logs the following message continuously, at the rate of 3 times a minute, in /var/log/audit: -- bigip1 notice tmsh[47755]: 01420002:5: AUDIT - pid=47755 user=root folder=/ module=(tmos)# status=[Command OK] cmd_data=cd / ; -- bigip1 notice tmsh[47755]: 01420002:5: AUDIT - pid=47755 user=root folder=/ module=(tmos)# status=[Command OK] cmd_data=list cm

Impact

Audit log file contains numerous 'cmd_data=list cm device recursive' messages.

Conditions

This occurs during normal operation.

Workaround

-- To suppress all messages, do the following: 1. Edit the 'include' section of syslog configuration to suppress audit logs of 'cmd_data=cd /' and 'cmd_data=list cm device recursive': # tmsh edit /sys syslog all-properties 2. Replace 'include none' with following syntax: === sys syslog { - snip - include " filter f_audit { facility(local0) and match(AUDIT) and not match(\"cmd_data=list cm device recursive|cmd_data=cd /\"); };" - snip - } -- To filter the messages sent to existing remote syslog servers, do the following: 1. Set sys syslog remote-servers none: # tmsh modify sys syslog remote-servers none 2. Define the remote syslog server in the 'sys syslog include' statement. 3. Add the following filter: filter f_remote_server { not (facility(local0) and message(\"AUDIT\") and match(\"cmd_data=list cm device recursive|cmd_data=cd /\")); }; Result: The system sends all messages to the remote syslog server, excluding the messages that match the filter. Here is a sample filter, with sample data: sys syslog { include " filter f_remote_server { not (facility(local0) and message(\"AUDIT\") anD match(\"cmd_data=list cm device recursive|cmd_data=cd /\")); }; destination d_remote_loghost { udp(\"10.0.0.1\" port(514)); }; log { source(s_syslog_pipe); filter(f_remote_server); destination(d_remote_loghost); }; " }

Fix Information

None

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips