Ensure that all your Amazon DocumentDB clusters are using the Log Exports feature in order to publish audit logs directly to CloudWatch Logs. The events recorded by Log Exports include events such as successful and failed authentication attempts, creating indexes, or dropping collections in DocumentDB databases.
This rule can help you with the following compliance standards:
- APRA
For further details on compliance standards supported by Conformity, see here.
This rule resolution is part of the Conformity Security & Compliance tool for AWS.
efficiency
excellence
By default, auditing is disabled for all DocumentDB database clusters. Once the Log Exports feature is enabled, Amazon DocumentDB (with MongoDB compatibility) starts sending Data Definition Language (DDL), authentication, authorization, and user management events to CloudWatch Logs, a service that monitors, stores and accesses your log files from a variety of sources within your AWS cloud account. This enables you to analyze, monitor, and archive Amazon DocumentDB auditing events for security and compliance requirements.
Audit
To determine if your Amazon DocumentDB database clusters are using the Log Exports feature to publish audit logs to CloudWatch Logs, perform the following actions:
Remediation / Resolution
To enable Log Exports feature for your existing DocumentDB database clusters in order to publish audit logs to Amazon CloudWatch, perform the following actions:
Note: To fully enable audit logging for your Amazon DocumentDB clusters, ensure that the "audit_logs" parameter is configured within the non-default parameter group associated with your DocumentDB clusters.References
- AWS Documentation
- Amazon DocumentDB (with MongoDB compatibility) FAQs
- Monitoring Amazon DocumentDB
- Auditing Amazon DocumentDB Events
- Modifying an Amazon DocumentDB Cluster
- AWS Command Line Interface (CLI) Documentation
- describe-db-clusters
- modify-db-cluster