SERVER-126325 Stub implementation for getESECMKIdentifierListStatus (#53947)

GitOrigin-RevId: caf79e5ae92a851d72307cc5a6c0a2f638dc7592
This commit is contained in:
Chye Lin Chee 2026-05-20 15:33:25 -07:00 committed by MongoDB Bot
parent 0f2f1ffc39
commit 807840e85b
12 changed files with 31 additions and 0 deletions

View File

@ -6428,6 +6428,21 @@ export const authCommandsLib = {
},
],
},
{
testname: "getESECMKIdentifierListStatus",
command: {getESECMKIdentifierListStatus: 1},
skipTest: () => {
return !getBuildInfo().modules.includes("atlas");
},
testcases: [
{
runOnDb: adminDbName,
roles: roles_hostManager,
privileges: [{resource: {cluster: true}, actions: ["getESECMKIdentifierListStatus"]}],
expectFail: true,
},
],
},
{
testname: "oidcListKeys",
command: {oidcListKeys: 1},

View File

@ -447,6 +447,7 @@ let viewsCommandTests = {
getDatabaseVersion: {skip: isUnrelated},
getDefaultRWConcern: {skip: isUnrelated},
getDiagnosticData: {skip: isUnrelated},
getESECMKIdentifierListStatus: {skip: isUnrelated},
getESERotateActiveKEKStatus: {skip: isUnrelated},
getLog: {skip: isUnrelated},
getMore: {

View File

@ -1541,6 +1541,7 @@ const wcCommandsTests = {
getDatabaseVersion: {skip: "internal command"},
getDefaultRWConcern: {skip: "does not accept write concern"},
getDiagnosticData: {skip: "does not accept write concern"},
getESECMKIdentifierListStatus: {skip: "does not accept write concern"},
getESERotateActiveKEKStatus: {skip: "does not accept write concern"},
getLog: {skip: "does not accept write concern"},
getMore: {skip: "does not accept write concern"},
@ -4131,6 +4132,7 @@ const wcTimeseriesCommandsTests = {
getDatabaseVersion: {skip: "internal command"},
getDefaultRWConcern: {skip: "does not accept write concern"},
getDiagnosticData: {skip: "does not accept write concern"},
getESECMKIdentifierListStatus: {skip: "does not accept write concern"},
getESERotateActiveKEKStatus: {skip: "does not accept write concern"},
getLog: {skip: "does not accept write concern"},
getMore: {skip: "does not accept write concern"},

View File

@ -832,6 +832,7 @@ const allCommands = {
isAdminCommand: true,
command: {getDiagnosticData: 1},
},
getESECMKIdentifierListStatus: {skip: "requires additional setup"},
getESERotateActiveKEKStatus: {skip: "requires additional setup"},
getLog: {
isAdminCommand: true,

View File

@ -309,6 +309,7 @@ const allCommands = {
getDatabaseVersion: {skip: isNotAUserDataRead},
getDefaultRWConcern: {skip: isNotAUserDataRead},
getDiagnosticData: {skip: isNotAUserDataRead},
getESECMKIdentifierListStatus: {skip: isNotAUserDataRead},
getESERotateActiveKEKStatus: {skip: isNotAUserDataRead},
getLog: {skip: isNotAUserDataRead},
getMore: {

View File

@ -704,6 +704,7 @@ const allCommands = {
command: {getDiagnosticData: 1},
shouldFail: false,
},
getESECMKIdentifierListStatus: {skip: "requires additional setup"},
getESERotateActiveKEKStatus: {skip: "requires additional setup"},
getLog: {
isAdminCommand: true,

View File

@ -662,6 +662,10 @@ const allTestCases = {
getDatabaseVersion: {skip: "executes locally on mongos (not sent to any remote node)"},
getDefaultRWConcern: {skip: "executes locally on mongos (not sent to any remote node)"},
getDiagnosticData: {skip: "executes locally on mongos (not sent to any remote node)"},
getESECMKIdentifierListStatus: {
skip: "executes locally on mongos (not sent to any remote node)",
conditional: true,
},
getESERotateActiveKEKStatus: {
skip: "executes locally on mongos (not sent to any remote node)",
conditional: true,
@ -1330,6 +1334,7 @@ const allTestCases = {
getDatabaseVersion: {skip: "TODO"},
getDefaultRWConcern: {skip: "TODO"},
getDiagnosticData: {skip: "TODO"},
getESECMKIdentifierListStatus: {skip: "TODO", conditional: true},
getESERotateActiveKEKStatus: {skip: "TODO", conditional: true},
getLog: {skip: "TODO"},
getMore: {skip: "TODO"},

View File

@ -569,6 +569,7 @@ let testCases = {
getDatabaseVersion: {skip: "does not accept read or write concern"},
getDefaultRWConcern: {skip: "does not accept read or write concern"},
getDiagnosticData: {skip: "does not accept read or write concern"},
getESECMKIdentifierListStatus: {skip: "does not accept read or write concern"},
getESERotateActiveKEKStatus: {skip: "does not accept read or write concern"},
getLog: {skip: "does not accept read or write concern"},
getMore: {skip: "does not accept read or write concern"},

View File

@ -257,6 +257,7 @@ let testCases = {
getDatabaseVersion: {skip: "does not return user data"},
getDefaultRWConcern: {skip: "does not return user data"},
getDiagnosticData: {skip: "does not return user data"},
getESECMKIdentifierListStatus: {skip: "does not return user data"},
getESERotateActiveKEKStatus: {skip: "does not return user data"},
getLog: {skip: "does not return user data"},
getMore: {skip: "shard version already established"},

View File

@ -283,6 +283,7 @@ let testCases = {
getDatabaseVersion: {skip: "does not return user data"},
getDefaultRWConcern: {skip: "does not return user data"},
getDiagnosticData: {skip: "does not return user data"},
getESECMKIdentifierListStatus: {skip: "does not return user data"},
getESERotateActiveKEKStatus: {skip: "does not return user data"},
getLog: {skip: "does not return user data"},
getMore: {skip: "shard version already established"},

View File

@ -270,6 +270,7 @@ let testCases = {
getDatabaseVersion: {skip: "does not return user data"},
getDefaultRWConcern: {skip: "does not return user data"},
getDiagnosticData: {skip: "does not return user data"},
getESECMKIdentifierListStatus: {skip: "does not return user data"},
getESERotateActiveKEKStatus: {skip: "does not return user data"},
getLog: {skip: "does not return user data"},
getMore: {skip: "shard version already established"},

View File

@ -113,6 +113,7 @@ enums:
getCmdLineOpts: "getCmdLineOpts"
getDatabaseVersion: "getDatabaseVersion"
getDefaultRWConcern: "getDefaultRWConcern"
getESECMKIdentifierListStatus: "getESECMKIdentifierListStatus"
getESERotateActiveKEKStatus: "getESERotateActiveKEKStatus"
getLog: "getLog"
getParameter: "getParameter"