OpenParable
Skip to content
← Back to skills

Cis AWS Compute 5.10

DevOps & Security
cis-aws-compute-5.10

Cis AWS Compute 5.10 is an Agent Skill for devops & security published in the CyberStrikeus/CyberStrike repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Enable storage bucket access logging

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/CIS_benchmarks/Cloud_Providers/AWS/CIS_AWS_Compute_Services_Benchmark_v1.1.0/cis-aws-compute-5.10/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-aws-compute-5-10, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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

  1. Login to AWS Console using https://console.aws.amazon.com
  2. Click All services, click Lightsail under Compute.
  3. This will open up the Lightsail console.
  4. Select Storage.
  5. All Lightsail buckets are listed here.
  6. Click on a bucket name
  7. Click Logging.
  8. 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

  1. Login to AWS Console using https://console.aws.amazon.com
  2. Click All services, click Lightsail under Compute.
  3. This will open up the Lightsail console.
  4. Select Storage.
  5. All Lightsail buckets are listed here.
  6. Click on a bucket name
  7. Click Logging.
  8. Click on the X next to Access logging is inactive
  9. Select a different bucket specific to store the logging information.
  10. Note the path or create a path that matches your organization style.
  11. Click save
  12. Click OK
  13. 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

  1. https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-enabling-bucket-access-logs

CIS Controls

Controls VersionControlIG 1IG 2IG 3
v88.2 Collect Audit Logs - Collect audit logs. Ensure that logging, per the enterprise's audit log management process, has been enabled across enterprise assets.xxx
v76.2 Activate audit logging - Ensure that local logging has been enabled on all systems and networking devices.xxx

Profile

Level 1 | Manual