More Info:

Ensure that your Amazon Elastic Beanstalk environment is configured to capture access logs for the load balancer associated with the application environment. An Elastic Beanstalk environment is a collection of AWS resources running an application version. When you create an environment, Amazon Elastic Beanstalk provisions the resources needed to run the application version you specified.

Risk Level

Medium

Address

Operational Maturity, Reliability, Security

Compliance Standards

HIPAA

Triage and Remediation

Remediation

To remediate the misconfiguration of “Ensure Access Logging Is Enabled For Elastic Beanstalk Load Balancer” for AWS using AWS console, follow these steps:

  1. Sign in to the AWS Management Console.
  2. Navigate to the Elastic Beanstalk console.
  3. Select the appropriate application environment.
  4. In the left navigation pane, click on “Configuration”.
  5. Scroll down to the “Load Balancer” section and click on the “Edit” button.
  6. In the “Logging” section, select “Enable Access Logs”.
  7. Specify the S3 bucket where you want to store the access logs and provide a prefix for the log file names.
  8. Click on the “Save” button to save the changes.

After completing these steps, access logging will be enabled for the Elastic Beanstalk Load Balancer. The access logs will be stored in the specified S3 bucket and can be used for analysis and troubleshooting.

Additional Reading: