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 authorize Panther in MongoDB Atlas by generating an API key in your MongoDB account and then set up MongoDB Atlas as a log source in Panther.

How to onboard MongoDB Atlas logs to Panther

Step 1: Generate an Access 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 bar.

    2. Click Access Manager in the sidebar, or click Access Manager in the navigation bar, then click your organization.

  2. Click Create API Key

  3. Enter the API Key Information

    1. Enter a Description.

    2. In the Organization Permissions menu, select the new role or roles for the API key e.g ORG_READ_ONLY for Organization Read Only permission.

  4. Click Next

  5. Copy and save the Public Key. The public key acts as the username when making API requests.

  6. Copy and save the Private Key. 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. Select MongoDB Atlas from the list of available log sources. Click Start Setup.

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

  5. Click Setup.

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

    • Paste the API key from your MongoDB ATlas into the API key field.

  7. 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

Supported log types

Required fields in the schemas are listed as "required: true" just below the "name" field.

MongoDB.OrganizationEvent

MongoDB.ProjectEvent

Last updated

Was this helpful?