Skip to content

Commit

Permalink
PSMDB-1337 Updated audit log filter option (#771)
Browse files Browse the repository at this point in the history
modified:   docs/audit-logging.md
  • Loading branch information
nastena1606 committed Sep 21, 2023
1 parent c072c68 commit 4170d85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/audit-logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@ Audit logging writes messages in JSON format with the following syntax:

## Audit filter examples

The following examples demonstrate the flexibility of audit log filters.
The following examples show the flexibility of audit log filters.

```yaml
auditLog:
destination: file
filter: '{atype: {$in: [
"authenticate", "authCheck",
"renameCollection", "dropCollection", "dropDatabase",
"createUser", "dropUser", "dropAllUsersFromDatabase", "updateuser",
"createUser", "dropUser", "dropAllUsersFromDatabase", "updateUser",
"grantRolesToUser", "revokeRolesFromUser", "createRole", "updateRole",
"dropRole", "dropAllRolesFromDatabase", "grantRolesToRole", "revokeRolesFromRole",
"grantPrivilegesToRole", "revokePrivilegesFromRole",
Expand Down

0 comments on commit 4170d85

Please sign in to comment.