summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/shell/encrypted_dbclient_base.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mongo/shell/encrypted_dbclient_base.h b/src/mongo/shell/encrypted_dbclient_base.h
index 8a6bab60f59..4c0a75434fb 100644
--- a/src/mongo/shell/encrypted_dbclient_base.h
+++ b/src/mongo/shell/encrypted_dbclient_base.h
@@ -67,7 +67,7 @@ constexpr uint8_t kRandomEncryptionBit = 0x02;
static constexpr auto kExplain = "explain"_sd;
-constexpr std::array<StringData, 11> kEncryptedCommands = {"aggregate"_sd,
+constexpr std::array<StringData, 14> kEncryptedCommands = {"aggregate"_sd,
"count"_sd,
"delete"_sd,
"distinct"_sd,
@@ -77,7 +77,10 @@ constexpr std::array<StringData, 11> kEncryptedCommands = {"aggregate"_sd,
"findAndModify"_sd,
"getMore"_sd,
"insert"_sd,
- "update"_sd};
+ "update"_sd,
+ "create"_sd,
+ "createIndexes"_sd,
+ "collMod"_sd};
class EncryptedDBClientBase : public DBClientBase,
public mozjs::EncryptionCallbacks,