Check ID: projects_auditing_enabled
Provider: MongoDB Atlas
Service: projects
Severity: MEDIUM
Categories: logging, forensics-ready
Resource type: NotDefined

What this check verifies

MongoDB Atlas projects with database auditing capture database operations and administrative events. The evaluation looks for an active audit configuration and, when present, notes any configured audit_filter that scopes which events are recorded.

Risk

Without auditing, critical actions lack traceability, reducing detectability and impeding forensics. Attackers can mask unauthorized reads/writes and privilege changes, threatening data confidentiality and integrity, and weakening non-repudiation and incident response.

Recommendation

Enable auditing and apply least-privilege filters to capture high-risk events:
  • authentication and session activity
  • DDL/config changes
  • user/role modifications and privilege grants
Centralize logs in a SIEM, enforce retention/immutability with separation of duties, restrict access, and tune auditAuthorizationSuccess to balance coverage vs performance.

Remediation

atlas auditing update —projectId <example_resource_id> —enabled

References

Where this check fires

This check runs on every scheduled scan against your MongoDB Atlas account. Findings appear at Cloud Security → Findings filterable by Check ID = projects_auditing_enabled. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to MongoDB Atlas checks