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

PathKindPlatforms
mongosh.cfgfilewindows
/usr/local/etc/mongosh.conffilemacos
/opt/homebrew/etc/mongosh.conffilemacos
/etc/mongosh.conffilelinux, macos

Content Indicators

Literal strings:

  • mongosh:
  • redactHistory
  • oidcTrustedEndpoints

Impact

  • discovery

References

On this page