| name | cis-aws-compute-5.10 |
| description | Enable storage bucket access logging |
| category | cis-compute |
| version | 1.1.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","compute","lightsail","buckets","logging","access-logs","monitoring"] |
| cis_id | 5.10 |
| cis_benchmark | CIS AWS Compute Services Benchmark v1.1.0 |
| tech_stack | ["aws"] |
| cwe_ids | [] |
| chains_with | ["cis-aws-compute-5.8","cis-aws-compute-5.9"] |
| prerequisites | [] |
| severity_boost | {} |
5.10 Enable storage bucket access logging (Manual)
Description
Access logging provides detailed records for the requests that are made to this bucket. This information can include the request type, the resources that are specified in the request, and the time and date that the request was processed. Access logs are useful for many applications.
Rationale
Access log information is useful in security and access audits.
Impact
N/A
Audit Procedure
Using AWS Console
- Login to AWS Console using https://console.aws.amazon.com
- Click
All services, click Lightsail under Compute.
- This will open up the Lightsail console.
- Select
Storage.
- All Lightsail buckets are listed here.
- Click on a bucket name
- Click
Logging.
- Confirm that Access logging is set to active. If it is set to inactive refer to the remediation below.
Using AWS CLI
N/A - Bucket access logging status is managed through the AWS Console.
Expected Result
Access logging should be set to active for all Lightsail storage buckets.
Remediation
Using AWS Console
- Login to AWS Console using https://console.aws.amazon.com
- Click
All services, click Lightsail under Compute.
- This will open up the Lightsail console.
- Select
Storage.
- All Lightsail buckets are listed here.
- Click on a bucket name
- Click
Logging.
- Click on the X next to
Access logging is inactive
- Select a different bucket specific to store the logging information.
- Note the path or create a path that matches your organization style.
- Click save
- Click OK
- Repeat steps 6-12 for all Lightsail buckets.
Using AWS CLI
N/A - Bucket access logging is managed through the AWS Console.
Default Value
Access logging is inactive by default for Lightsail storage buckets.
References
- https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-enabling-bucket-access-logs