{"Name":"mongo","ID":"go.mondoo.com/mql/v13/providers/mongo","Version":"13.0.2","ConnectionTypes":["mongo"],"CrossProviderTypes":null,"Connectors":[{"Name":"mongo","Use":"mongo [host]","Short":"a self-hosted MongoDB server","Long":"Use the mongo provider to query a self-hosted MongoDB server.\n\nThe provider connects to a MongoDB server and runs read-only admin commands\n(buildInfo, getCmdLineOpts, getParameter, usersInfo, rolesInfo) to inventory\nthe server's configuration, users, roles, and databases so you can audit its\nsecurity posture (the CIS MongoDB benchmark).\n\nFor MongoDB Atlas (the managed service), use the mongodbatlas provider instead.\n\nExamples:\n  cnspec shell mongo db.contoso.com --user admin --ask-pass\n  cnspec scan mongo mongodb://admin@db.contoso.com:27017 --ask-pass\n","Flags":[{"Long":"host","Desc":"MongoDB hostname or IP address (or a mongodb:// connection string)","Type":3},{"Long":"port","Default":"27017","Desc":"MongoDB TCP port","Type":2},{"Long":"user","Short":"u","Desc":"User to authenticate as","Type":3},{"Long":"password","Short":"p","Desc":"Set the connection password","Type":3,"Option":8,"ConfigEntry":"-"},{"Long":"ask-pass","Default":"false","Desc":"Prompt for the connection password","Type":1,"ConfigEntry":"-"},{"Long":"auth-db","Default":"admin","Desc":"Authentication database (default admin)","Type":3},{"Long":"tls","Default":"false","Desc":"Connect over TLS","Type":1},{"Long":"tls-ca","Desc":"Path to the trusted CA certificate for TLS verification","Type":3},{"Long":"tls-insecure","Default":"false","Desc":"Skip TLS certificate validation","Type":1}],"Discovery":["auto","all","instance","databases","none"]}],"AssetUrlTrees":null,"Platforms":[{"name":"mongo","title":"MongoDB Server","family":["mongo"],"kind":["api"],"runtime":["mongo"]},{"name":"mongo-database","title":"MongoDB Database","family":["mongo"],"kind":["api"],"runtime":["mongo"]}]}