Details
-
Task
-
Resolution: Won't Fix
-
Major - P3
-
None
Description
The audit-filters documentation doesnt explain that criteria compounding is possible, nor does it contain example for such filter
https://docs.mongodb.com/manual/tutorial/configure-audit-filters/
It would be very useful to explain this, and include an example, such as:
filter:
|
'{$or:[ {atype: "authCheck", "param.ns": "db.coll_1", "param.command": {$in: ["find", "insert", "delete", "update","findandmodify"]} }, {atype: {$in: ["authenticate", "createDatabase", "dropCollection", "createUser", "dropUser", "dropAllUsersFromDatabase", "updateUser","grantRolesToUser", "revokeRolesFromUser", "createRole", "updateRole","dropRole", "dropAllRolesFromDatabase", "grantRolesToRole", "revokeRolesFromRole", "grantPrivilegesToRole", "revokePrivilegesFromRole", "shutdown" ]}} ]}' |
(relates to case https://support.mongodb.com/case/00808558 )