How to find MongoDB clusters missing IP whitelists?

TL;DR

Query your cluster configs for missing or wildcard IP rules

To find MongoDB clusters without IP whitelists, check for clusters where ipAccessList is empty or includes 0.0.0.0/0. Those are effectively open to the internet.

You can automate this in minutes using Sola. Create a security app with a single prompt, such as “Show me all MongoDB clusters without proper IP whitelisting”. Connect your MongoDB config or audit data, and you’ll instantly get the list.

Don’t audit security manually.

Manually checking each cluster’s IP access list in MongoDB Atlas doesn’t scale. Most teams don’t even realize how many test environments or forgotten clusters are wide open. The quickest path to visibility is querying the configuration directly and flagging anything that allows unrestricted access.

In Sola, you can use the MongoDB Security Compliance App to surface exactly that, across all projects and environments. Just connect your data source, and the app shows you which clusters skipped IP restrictions.

What to look for in your IP access rules

Your query should return clusters where:

  • ipAccessList is null or empty
  • One or more entries match 0.0.0.0/0
  • The access list doesn’t exist (for self-managed deployments)

This tells you which clusters have no network boundary in place — one of the most basic MongoDB security best practices. If you’re using Terraform or other config-as-code tools, it’s worth checking those too.

Build your own MongoDB security view

Whether you start with the MongoDB Security Compliance App or decide to create a new one from scratch, Sola still lets you move faster. Use the AI co-pilot to define your check in plain language, plug in the relevant data, and get immediate visibility, without sifting through cluster settings one by one.

Answer more security questions

Get early access
Snag a better spot on the waitlist by signing up with a business email address
By pressing the button above, you confirm that you have read, understood, and agree to the privacy policy and terms and conditions.
Just a couple more questions...
By pressing the button above, you confirm that you have read, understood, and agree to the privacy policy and terms and conditions.
You're on the waitlist!

Keep an eye on your inbox (and maybe your spam folder) for an update soon.

Spread the word, we like attention.