[SERVER-41634] Audit log entry for insertMany only includes 1 document Created: 11/Jun/19 Updated: 27/Oct/23 Resolved: 31/Jul/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 4.0.9 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | barak gilboa | Assignee: | Spencer Jackson |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||
| Operating System: | ALL | ||||||||||||||
| Steps To Reproduce: |
Shell (after authenticating):
Audit file:
Which only contains:
|
||||||||||||||
| Sprint: | Security 2019-07-01, Security 2019-07-15, Security 2019-07-29, Security 2019-08-12 | ||||||||||||||
| Participants: | |||||||||||||||
| Description |
|
insertMany native audit doesn't provide the list of elements inserted the audit only shows the first element inserted in the list, it doesn't show the count of the elements in the list as well This occurs on MongoDB atlas and the On-prem as well. |
| Comments |
| Comment by Spencer Jackson [ 31/Jul/19 ] | ||||||
|
Excellent, I'm glad you obtained the results you expected. I'm going to close out this ticket. Please feel free to comment or open new ones if other questions arise. | ||||||
| Comment by Lior Shetrit [ 30/Jul/19 ] | ||||||
|
We checked this on v4.2.0-rc4 by running this query:
And we got this native audit:
Using insert command instead of insertMany gives the same exact native audit. Thanks for fixing this. | ||||||
| Comment by Danny Hatcher (Inactive) [ 29/Jul/19 ] | ||||||
|
Have you had a chance to reproduce this? | ||||||
| Comment by barak gilboa [ 25/Jun/19 ] | ||||||
|
yes, we will get to it in the upcoming weeks. | ||||||
| Comment by Spencer Jackson [ 21/Jun/19 ] | ||||||
|
Hello barak.gilboa@imperva.com! Thanks for reporting this. This appears to be a limitation from 2.6, documented in Can I ask if you're able to reproduce this on the latest 4.2 release candidate? | ||||||
| Comment by Eric Sedor [ 11/Jun/19 ] | ||||||
|
Thanks barak.gilboa@imperva.com; I am passing this on to an appropriate team for consideration. You can watch this ticket for updates. |