{"id":13480813,"url":"https://github.com/mongolab/mongoctl","last_synced_at":"2025-10-14T08:41:40.566Z","repository":{"id":3289965,"uuid":"4330889","full_name":"mongolab/mongoctl","owner":"mongolab","description":"Manage MongoDB servers and replica sets using JSON configurations!","archived":false,"fork":false,"pushed_at":"2020-03-12T17:03:31.000Z","size":1201,"stargazers_count":177,"open_issues_count":13,"forks_count":23,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-09-25T01:17:20.068Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mongolab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-05-15T01:23:15.000Z","updated_at":"2025-04-27T00:13:24.000Z","dependencies_parsed_at":"2022-09-04T22:14:18.281Z","dependency_job_id":null,"html_url":"https://github.com/mongolab/mongoctl","commit_stats":null,"previous_names":[],"tags_count":102,"template":false,"template_full_name":null,"purl":"pkg:github/mongolab/mongoctl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongolab%2Fmongoctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongolab%2Fmongoctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongolab%2Fmongoctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongolab%2Fmongoctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mongolab","download_url":"https://codeload.github.com/mongolab/mongoctl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongolab%2Fmongoctl/sbom","scorecard":{"id":658498,"data":{"date":"2025-08-11","repo":{"name":"github.com/mongolab/mongoctl","commit":"fab15216127ad4bf8ea9aa8a95d75504c0ef01a2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":1,"reason":"Found 4/24 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T15:22:32.416Z","repository_id":3289965,"created_at":"2025-08-21T15:22:32.416Z","updated_at":"2025-08-21T15:22:32.416Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018302,"owners_count":26086345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T17:00:45.379Z","updated_at":"2025-10-14T08:41:40.551Z","avatar_url":"https://github.com/mongolab.png","language":"Python","readme":"Overview\n--------\n\n`mongoctl` is a lightweight command line utility that simplifies the\ninstallation of MongoDB and management of MongoDB servers and replica set\nclusters. It is particularly useful if you maintain many MongoDB environments\nwith lots of configurations to manage.\n\nThe core philosophy behind `mongoctl` is that all server and cluster\nconfiguration be defined declaratively as data, rather than procedurally as\ncode or scripts. So, instead of typing shell commands with lots of options that\nyou can never remember, or writing a bunch of shell scripts hard-coded with\nhosts, port numbers, and file-system paths, you simply define the universe of\nservers and clusters with JSON objects and pass them to `mongoctl` commands.\nServer and cluster definitions can reside in flat-files, behind a web-server\n(like Github for instance), or in a MongoDB database. \n\n#### Usage\n\n```\nUsage: mongoctl [\u003coptions\u003e] \u003ccommand\u003e [\u003ccommand-args\u003e]\n\nA utility that simplifies the management of MongoDB servers and replica set clusters.\n\nOptions:\n  -h, --help            show this help message and exit\n  -v, --verbose         make mongoctl more verbose\n  -n, --noninteractive  bypass prompting for user interaction\n  --yes                 auto yes to all yes/no prompts\n  --no                  auto no to all yes/no prompts\n  --config-root CONFIGROOT\n                        path to mongoctl config root; defaults to ~/.mongoctl\n\nCommands:\n  Admin Commands:\n    install-mongodb           - install MongoDB\n    uninstall-mongodb         - uninstall MongoDB\n    list-versions             - list all available MongoDB installations on this machine\n\n  Client Commands:\n    connect                   - open a mongo shell connection to a server\n    dump                      - export MongoDB data to BSON files (using mongodump)\n    restore                   - restore MongoDB (using mongorestore)\n\n  Server Commands:\n    start                     - start a server\n    stop                      - stop a server\n    restart                   - restart a server\n    status                    - retrieve status of server\n    list-servers              - show list of configured servers\n    show-server               - show server's configuration\n    tail-log                  - tails a server's log file\n    resync-secondary          - Resyncs a secondary member\n\n  Cluster Commands:\n    configure-cluster         - initiate or reconfigure a cluster\n    list-clusters             - show list of configured clusters\n    show-cluster              - show cluster's configuration\n\n  Miscellaneous:\n    print-uri                 - prints connection URI for a server or cluster\n\nSee 'mongoctl \u003ccommand\u003e --help' for more help on a specific command.\n```\n\nInstallation\n------------------------------\n\n#### Requirements\n\n* Linux or MacOSX (`mongoctl` does not currently support Windows) \n* Python 2.6 or 2.7 (3.x not yet supported)\n* pip \u003e= 1.0.2 ([instructions on installing pip](docs/installing-pip.md))\n* If planning to build MongoDB from source, i.e. with `mongoctl install-mongodb\n  --build-from-source`: the `scons` tool (typically available in your package\n  manager, such as `apt`, `yum/dnf` or `brew`.)\n\n#### Supported MongoDB versions\n\n`mongoctl` supports MongoDB versions \u003e= 1.8.\n\n#### Installing mongoctl\n\n`mongoctl` is registered in the [Python package\nindex](https://pypi.python.org/pypi/mongoctl) (PyPI).\n\nNote: you may need to prefix these commands with ``sudo`` if you're using a\nsystem-level Python install (i.e. if running ``pip`` by itself results in\npermissions errors.) For example, ``sudo pip install mongoctl`` will install\n``mongoctl`` to your system Python.\n\nTo install:\n\n```\n% pip install mongoctl\n```\n\nTo update:\n\n```\n% pip install --upgrade mongoctl\n```\n\nTo uninstall:\n\n```\n% pip uninstall mongoctl\n```\n\n#### Running mongoctl's test suite\n\nTo run mongoctl's test suite, execute the following command:\n\n```\n% python -m mongoctl.tests.test_suite\n```\n\nNote: executing the test suite will download and install a temporary copy of\nMongoDB (cached in a subfolder of `mongoctl/tests`) for use while testing.\n\nDocumentation\n----------\n\n* [Quick-start guide](docs/quick-start.md)\n* [Configuring mongoctl](docs/configuring-mongoctl.md)\n* [Managing MongoDB installations](docs/managing-installations.md)\n* [Managing servers](docs/managing-servers.md)\n* [Managing clusters](docs/managing-clusters.md)\n* [Connecting to servers with the mongo shell](docs/connecting.md)\n* [Command reference](docs/command-reference.md)\n\n\n\n\n\n","funding_links":[],"categories":["Tools"],"sub_categories":["Administration"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongolab%2Fmongoctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmongolab%2Fmongoctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongolab%2Fmongoctl/lists"}