Fixed Audit bug with recursive directories deleted#4831
Conversation
|
The stress test has been launched. The charts will be posted when they are ready. General
Stress test parameters:
Regards!. |
Analysis_dynamic_valgrind logcollector analysis:Commit: 4448563 Lines executed:31.41% of 1859
Coverage report detail: coverage-report-summary |
Analysis_dynamic_valgrind syscheckd analysis:Commit: 4448563 Lines executed:26.43% of 3004
Coverage report detail: coverage-report-summary |
Stress/Leaks test resultsWindows Agent ID0
CentOS Manager ID0
CentOS Agent ID1
Ubuntu Agent ID0
|
e0f5d1f to
bfaf298
Compare
…nto 4729-fix-audit-bug
Description
A bug in audit caused that when a directory was deleted recursively, the path displayed was incorrect (it belonged to the current working directory instead of the deleted file).
It has been fixed by using the inode that audit gives us. Making a call to the database and consulting the path we are looking for.
Logs/Alerts example
As we can see, a wrong path is given in audit log:
Tests