Database
MongoDB Shell Global Configuration
MongoDB Shell global configuration files can define startup behavior, logging, history redaction, OIDC settings, and trusted endpoints.
Metadata
- id:
database.mongodb-shell-global-config - category:
database - sensitivity:
medium - subcategory:
mongodb - artifact types:
configuration,database - tags:
mongodb,mongosh
Path Matchers
| Path | Kind | Platforms |
|---|---|---|
mongosh.cfg | file | windows |
/usr/local/etc/mongosh.conf | file | macos |
/opt/homebrew/etc/mongosh.conf | file | macos |
/etc/mongosh.conf | file | linux, macos |
Content Indicators
Literal strings:
mongosh:redactHistoryoidcTrustedEndpoints
Impact
discovery