Skip to content

Commit 9e5afb8

Browse files
committed
fixup: disallow log options in connection strings from the CLI
1 parent d829163 commit 9e5afb8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/compass/src/main/validate-connection-string.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ const disallowedConnectionStringOptions = [
8989
'ecdhCurve',
9090
'lookup',
9191
'minDHSize',
92+
'mongodbLogPath',
93+
'mongodbLogComponentSeverities',
94+
'mongodbLogMaxDocumentLength',
9295
'pkFactory',
9396
'proxyHost',
9497
'proxyPort',

0 commit comments

Comments
 (0)