[DOCS-14735] auditing filters documentation - doesnt explain about compounding filters/aidit-criteria Created: 16/Aug/21  Updated: 30/Oct/23  Resolved: 18/May/23

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Major - P3
Reporter: Dror Mikdash (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: audit, filter
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 2 years, 25 weeks, 3 days ago
Epic Link: DOCSP-11702

 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  )

 

 

 

 


Generated at Thu Feb 08 08:11:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.