[DOCS-4433] Comment on: "manual/tutorial/configure-auditing.txt" Created: 26/Nov/14 Updated: 18/Dec/14 Resolved: 04/Dec/14 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | v1.3.15 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mark Helmstetter | Assignee: | Kay Kim (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | collector-298ba4e7 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Location: http://docs.mongodb.org/manual/tutorial/configure-auditing/ |
||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Days since reply: | 9 years, 8 weeks, 6 days ago | ||||||||
| Description |
|
This doc provides examples of configuring auditing using the 2.4 config file format. However, Assuming that is correct, the docs should be changed accordingly. The real dangerous and confusing part here is that auditing will work in some cases, and in other cases there may be confusing YAML parsing errors ( |
| Comments |
| Comment by Githook User [ 18/Dec/14 ] |
|
Author: {u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: Conflicts: Signed-off-by: kay <kay.kim@10gen.com> |
| Comment by Githook User [ 17/Dec/14 ] |
|
Author: {u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: Revert " This reverts commit e012824b4a5eb88b814eb204475af61f71b9f716. |
| Comment by Githook User [ 04/Dec/14 ] |
|
Author: {u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: |
| Comment by Mark Helmstetter [ 26/Nov/14 ] |
|
I think it should be all or nothing with respect to audit configuration. If auditFilter requires YAML configuration, then all of the auditing examples should explicitly state that requirement and show YAML configuration. Providing an auditFilter JSON expression in YAML is still tricky. It seems like single quoting the filter value is the safest bet. |
| Comment by Eric Milkie [ 26/Nov/14 ] |
|
Interestingly, the documentation does not give any examples of using the legacy config file with the auditFilter parameter (which is the only one that technically won't work). We could change the documentation to use the new YAML format for everything, and give an example of auditFilter in a YAML config file as a new addition. |