Cloud Defense Logo

Products

Solutions

Company

Book A Live Demo

Rule: ELB Application and Classic Load Balancer Logging Enabled

This rule requires enabling logging for ELB application and classic load balancer for security compliance.

RuleELB application and classic load balancer logging should be enabled
FrameworkFederal Financial Institutions Examination Council (FFIEC)
Severity
High

Rule Description: Enable ELB Application and Classic Load Balancer Logging for Federal Financial Institutions Examination Council (FFIEC)

Overview:

The Federal Financial Institutions Examination Council (FFIEC) mandate requires all financial institutions to enable logging for their Elastic Load Balancers (ELBs) and Classic Load Balancers to ensure transparency, security, and compliance. This rule ensures that logging is enabled for these load balancers to capture relevant information for auditing, troubleshooting, and analysis purposes.

Troubleshooting Steps:

If logging is not already enabled for ELB load balancers, follow these troubleshooting steps:

  1. 1.

    Verify Requirements: Ensure that you have the necessary permissions to modify the ELB configuration and enable logging.

  2. 2.

    Identify Load Balancer: Determine the ARN (Amazon Resource Name) or identifier of the target ELB or Classic Load Balancer that requires logging to be enabled.

  3. 3.

    Enable Logging: Enable logging for the identified load balancer by following these steps:

    • For ELB Application Load Balancers: a. Open the EC2 Management Console. b. Navigate to the "Load Balancers" section. c. Select the target Application Load Balancer. d. Go to the "Attributes" tab. e. Click on "Edit" under the "Access logs" section. f. Choose "Enable access logs" and specify the S3 bucket where the logs will be stored. g. Configure the log prefix if required. h. Click on "Save" to enable logging.

    • For Classic Load Balancers: a. Open the EC2 Management Console. b. Navigate to the "Load Balancers" section. c. Select the target Classic Load Balancer. d. Go to the "Attributes" tab. e. Click on "Edit" under the "Access logs" section. f. Choose "Enable access logs" and specify the S3 bucket where the logs will be stored. g. Configure the log prefix if required. h. Click on "Save" to enable logging.

  4. 4.

    Verify Logging: After enabling logging, verify that the logs are being generated and stored in the specified S3 bucket. You can check the S3 bucket for the presence of log files.

Code Snippets (if applicable):

If you prefer to use the AWS Command Line Interface (CLI) to enable ELB logging, you can use the following code snippets as examples.

Enable ELB Application Load Balancer Logging:

aws elbv2 modify-load-balancer-attributes --load-balancer-arn <load_balancer_arn> --attributes Key=access_logs.s3.enabled,Value=true Key=access_logs.s3.bucket,Value=<bucket_name> Key=access_logs.s3.prefix,Value=<log_prefix>

Enable Classic Load Balancer Logging:

aws elb modify-load-balancer-attributes --load-balancer-name <load_balancer_name> --attributes "{'AccessLog':{'Enabled':'true','S3BucketName':'<bucket_name>','EmitInterval':5}}"

Remediation Steps:

To enable ELB logging for FFIEC compliance, follow these step-by-step instructions:

  1. 1.

    Log in to the AWS Management Console.

  2. 2.

    Open the EC2 service.

  3. 3.

    Navigate to the "Load Balancers" section.

  4. 4.

    Identify the target ELB or Classic Load Balancer that needs logging enabled.

  5. 5.

    For an Application Load Balancer:

    • Select the target Application Load Balancer.
    • Go to the "Attributes" tab.
    • Click on "Edit" under the "Access logs" section.
    • Choose "Enable access logs" and specify the S3 bucket where the logs will be stored.
    • Configure the log prefix if required.
    • Click on "Save" to enable logging.
  6. 6.

    For a Classic Load Balancer:

    • Select the target Classic Load Balancer.
    • Go to the "Attributes" tab.
    • Click on "Edit" under the "Access logs" section.
    • Choose "Enable access logs" and specify the S3 bucket where the logs will be stored.
    • Configure the log prefix if required.
    • Click on "Save" to enable logging.
  7. 7.

    Verify that the logs are being generated and stored in the specified S3 bucket by checking the S3 bucket for log files.

By following these steps, ELB logging will be successfully enabled for FFIEC compliance.

Is your System Free of Underlying Vulnerabilities?
Find Out Now