Current audit configuration:
auditLog:
destination: file
format: JSON
path: /data/mongodb/audit/mongo_audit.log
Files are rotated using SIGUSR1 to the mongod's PID.
When using the audit feature, we want the audit file to have r/w permissions for the mongod group and not only the mongod user itself.
Nowadays we are using the flag honorSystemUmask:true , but we want to eliminate it for not all the users on the machine will have access to it