Control: 3.10 Enable storage bucket access logging
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.
Access log information is useful in security and access audits.
Remediation
From the Console:
- Login to AWS Console using https://console.aws.amazon.com.
- Click
All services
, clickLightsail
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.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.cis_compute_service_v100_3_10
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.cis_compute_service_v100_3_10 --share
SQL
This control uses a named query:
manual_control