Ensure logging is enabled for ELB application and classic load balancers.
Rule | ELB application and classic load balancer logging should be enabled |
Framework | NIST 800-53 Revision 5 |
Severity | ✔ High |
Ensuring ELB Logging Compliance with NIST 800-53 Revision 5
NIST 800-53 Revision 5 is a set of standards that provides a comprehensive set of controls for federal information systems and organizations to ensure security and privacy. Enabling logging for Elastic Load Balancers (ELB), whether they are Application Load Balancers or Classic Load Balancers, is a key part of maintaining compliance with these standards.
Overview of the Compliance Rule
Under NIST 800-53 Rev. 5, specifically through controls such as SI-4 (Information System Monitoring), organizations are required to collect, analyze, and retain information system audit records. These records help organizations to detect, understand, and respond to incidents that could impair security or operations.
Enabling ELB logging helps to satisfy this compliance need by ensuring that full access logs are collected and stored. Access logs provide detailed data about requests sent to the load balancer, which can be invaluable in security and traffic analysis.
Step-by-Step Guide for Enabling ELB Logging
Application Load Balancer
Enable Access Logging:
S3 Bucket Permissions:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "delivery.logs.amazonaws.com"
},
"Action": "s3:PutObject",
"Resource": "arn:aws:s3:::my-logs-bucket/*",
"Condition": {
"StringEquals": {
"aws:SourceAccount": "123456789012"
}
}
}
]
}
Replace
my-logs-bucket
with your actual bucket name and 123456789012
with your AWS account ID.Classic Load Balancer
Enable Access Logging:
Use the same S3 Bucket Permissions JSON provided for the Application Load Balancer.
Troubleshooting Steps
If logs are not appearing:
For additional troubleshooting, AWS CloudTrail can help identify API calls to the load balancer and any actions taken upon it.
Remediating Non-Compliance
If ELB logging is not enabled:
By following these guidelines and ensuring that load balancer logging is enabled and properly configured, your organization can maintain compliance with NIST 800-53 Rev. 5 standards.