DocumentDB clusters should publish audit logs to CloudWatch Logs

Description

This control verifies if an Amazon DocumentDB cluster is configured to send audit logs to Amazon CloudWatch Logs. The control is marked as failed if the cluster does not transmit audit logs to CloudWatch Logs.

Amazon DocumentDB (compatible with MongoDB) enables you to track activities performed within your cluster, such as successful and unsuccessful attempts to authenticate, the removal of a collection in a database, or the creation of an index. Auditing is not enabled by default in Amazon DocumentDB, and you must manually activate it.

Remediation

To publish Amazon DocumentDB audit logs to CloudWatch Logs, see Enabling auditing in the Amazon DocumentDB Developer Guide.