More Info:

The log files generated by your AWS CloudTrail trails should be delivered without any failures to designated recipients in order to keep CloudTrail logging data for security and compliance audits.

Risk Level

Low

Address

Reliability, Operational Maturity, Security

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the misconfiguration “Log files should be delivered without any failures” for AWS using AWS console, follow the below steps:

  1. Open the AWS Management Console and navigate to the CloudWatch service.

  2. Click on “Logs” in the left-hand menu and select the log group that is experiencing the delivery failure.

  3. Click on the “Actions” drop-down menu and select “Stream to Amazon Elasticsearch Service”.

  4. In the “Stream to Amazon Elasticsearch Service” dialog box, select the Elasticsearch domain that you want to stream the log data to.

  5. Choose the appropriate IAM role that has permission to stream the log data to the Elasticsearch domain.

  6. Configure the log stream settings as required and click on “Start Streaming”.

  7. Once the log stream is successfully started, CloudWatch will begin delivering log data to the Elasticsearch domain without any failures.

  8. You can monitor the log stream status and troubleshoot any issues using the CloudWatch Logs console.

By following these steps, you can remediate the misconfiguration “Log files should be delivered without any failures” for AWS using AWS console.

Additional Reading: