MongoDB Atlas Logs

Panther supports pulling logs directly from MongoDB Atlas

Overview

Panther has the ability to fetch MongoDB Atlas event logs by querying the MongoDB Atlas Administration API. Panther is specifically monitoring the following MongoDB Atlas events:

  • Organization events related to hosts, encryption, billing, user access, and much more.

  • Project events related to hosts, encryption, billing, user access, and much more.

In order to set up MongoDB Atlas as a log source in Panther, you'll need to generate an API key in your MongoDB account, then set up MongoDB Atlas as a log source in Panther.

How to onboard MongoDB Atlas logs to Panther

Step 1: Generate an API key in MongoDB Atlas

  1. Navigate to the Access Manager page for your organization.

    1. If it is not already displayed, select your desired organization from the Organizations menu in the navigation menu.

    2. In the navigation menu, click Access Manager, then select your organization.

  2. Click Add new > API Key. An arrow is drawn from an "Add new" button to an "API Key" option in a menu.

  3. Under Enter the API Key Information, fill in the fields:

    • Description: Enter a description for the API key, e.g., Panther log puller.

    • Organization Permissions: Select one or more roles for the API key, e.g., Organization Read Only. Under a "Create API Key" header, there are Description and Organization Permissions form fields.

  4. Click Next.

  5. Copy the public key and store it in a secure location. The public key acts as the username when making API requests.

  6. Copy the private key and store it in a secure location. The private key acts as the password when making API requests.

  7. Click Done.

Step 2: Create a new MongoDB Atlas log source in Panther

  1. In the left-hand navigation bar of your Panther Console, click Configure > Log Sources.

  2. In the upper right corner, click Create New.

  3. Search for "MongoDB Atlas," then click its tile.

  4. Click Start Setup.

  5. On the next screen, enter a memorable name for the source, e.g. My MongoDB Atlas logs.

  6. Click Setup.

  7. On the Set Credentials page, fill in the form:

    • Paste the API key from MongoDB Atlas into the API key field.

  8. Click Setup. You will be directed to a success screen:\

    The success screen reads, "Everything looks good! Panther will now automatically pull & process logs from your account"
    • You can optionally enable one or more Detection Packs.

    • The Trigger an alert when no events are processed setting defaults to YES. We recommend leaving this enabled, as you will be alerted if data stops flowing from the log source after a certain period of time. The timeframe is configurable, with a default of 24 hours.\

      The "Trigger an alert when no events are processed" toggle is set to YES. The "How long should Panther wait before it sends you an alert that no events have been processed" setting is set to 1 Day

Panther-managed detections

See Panther-managed rules for MongoDB Atlas in the panther-analysis GitHub repository.

Supported log types

MongoDB.OrganizationEvent

MongoDB.ProjectEvent

Last updated

Was this helpful?