Mongo Database (Atlas)
This document outlines how to connect your MongoDB (Atlas) to Doctor Droid to query it from playbooks and investigations.
Connection
Prerequisites: Obtain the database host, port, and credentials (username and password) with read access to the databases you want to query.
Adding the connection: Go to Integrations > MongoDB in the Playbooks dashboard. Enter your database connection details. This includes your connection string in the format of mongodb+srv://<username>:<password>@<cluster>.polos.mongodb.net
Testing the Integration: Create a playbook that includes a step to list top 5 documents in a collection of your choice.
Querying
After adding MongoDB as a connection, you can do the following:
- Run a query on MongoDB.
Query Format
- Database
- Collection
- Filters
- Projection
- Sort Order
- Limit
- Timeout
Updated about 2 months ago