[SERVER-52944] Add additional audit sharding tests Created: 19/Nov/20  Updated: 29/Oct/23  Resolved: 01/Apr/21

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: None
Fix Version/s: 5.0.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Shreyas Kalyan Assignee: Benjamin Caimano (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-55140 Fix how ShardingTest handles setParam... Closed
Related
related to SERVER-52943 Add a sharding variant for the Audit ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Security 2021-02-22, Security 2021-04-05
Participants:

 Description   

Many of our auditing tests that use the audit spooler only test the mongod's audit logs. It would be nice to have these tests also check the mongos' audit logs in a sharded infrastructure.

We should add tests for:

  • enableSharding
  • shardCollection
  • addShard
  • refineCollectionShardKey
  • removeShard
  • MONGODB-AWS auth mechanism for authenticate.js (dependent on SERVER-55140)


 Comments   
Comment by Githook User [ 01/Apr/21 ]

Author:

{'name': 'Ben Caimano', 'email': 'ben.caimano@10gen.com', 'username': 'bcaimano'}

Message: SERVER-52944 Add additional audit sharding tests
Branch: master
https://github.com/mongodb/mongo/commit/a89fdb7fed2d35a709c7eabc39d3ba36a075b239

Comment by Githook User [ 01/Apr/21 ]

Author:

{'name': 'Ben Caimano', 'email': 'ben.caimano@10gen.com', 'username': 'bcaimano'}

Message: SERVER-52944 Add additional audit sharding tests
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/cbfb639a153d68a139faf5ca62f08253d5b887d6

Comment by Shreyas Kalyan [ 10/Mar/21 ]

The last part of this ticket, adding a test for MONGODB-AWS auth mechanism for authenticate.js, is dependent on adding support for multiple setParameters in ShardingTest fixtures.

Comment by Shreyas Kalyan [ 12/Feb/21 ]

This ticket will be completed with SERVER-52943 to test that it is implemented correctly.

EDIT: 3/10/2021: Some tests were added in SERVER-52943, but there are some more tests that we need to add as listed in the description above

Generated at Thu Feb 08 05:29:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.