| name | cis-aws-compute-5.7 |
| description | Ensure you are using an IAM policy to manage access to buckets in Lightsail |
| category | cis-compute |
| version | 1.1.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","compute","lightsail","iam","buckets","policy","access-control","s3"] |
| cis_id | 5.7 |
| 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.7 Ensure you are using an IAM policy to manage access to buckets in Lightsail (Manual)
Description
The following policy grants a user access to manage a specific bucket in the Amazon Lightsail object storage service.
Rationale
This policy grants access to buckets through the Lightsail console, the AWS Command Line Interface (AWS CLI), AWS API, and AWS SDKs.
Impact
Users who don't have this policy will experience errors when viewing the Objects tab of the bucket management page in the Lightsail console.
Audit Procedure
Using AWS Console
- Login to AWS Console using https://console.aws.amazon.com
- Click
All services, click IAM under Security, Identity, & Compliance.
- Click
Policies
- Click in the
Filter policies by property or policy name and press enter
- Type
Lightsail and press enter
- Click on the policy that contains lightsail in the name
- Make sure the
Permissions tab is selected.
- Confirm the policy looks like this
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "LightsailAccess",
"Effect": "Allow",
"Action": "lightsail:*",
"Resource": "*"
},
{
"Sid":