| name | cis-aws-database-4.1 |
| description | Ensure AWS Identity and Access Management (IAM) is in use |
| category | cis-database |
| version | 2.0.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","database","dynamodb","iam","access-control"] |
| cis_id | 4.1 |
| cis_benchmark | CIS AWS Database Services Benchmark v2.0.0 |
| tech_stack | ["aws"] |
| cwe_ids | [] |
| chains_with | ["cis-aws-database-4.2"] |
| prerequisites | [] |
| severity_boost | {} |
4.1 Ensure AWS Identity and Access Management (IAM) is in use
Description
AWS Identity and Access Management (IAM) lets you securely control your users' access to AWS services and resources. To manage access control for Amazon DynamoDB, you can create IAM policies that control access to tables and data.
Rationale
IAM policies help you control and maintain access to Amazon DynamoDB as needed.
Impact
N/A
Audit Procedure
Using AWS Console
-
Open IAM Console
-
Navigate to Policies
- In the IAM console, in the navigation pane, choose
Policies.
-
Create Policy
- Choose
Create policy.
- You will be taken to the
Create policy page.
-
Choose Service
- Click on
Choose a service.
- Type
DynamoDB in the search box and select it.
-
Configure Actions
- Under the
Actions section, select the actions you want to allow the user to perform.
- For instance, you can select
Read to allow read actions like GetItem, Scan, Query, etc.
-
Set Resources
- Under the
Resources section, you can specify which tables this policy applies to.
- You can choose "All resources" or specify the ARN (Amazon Resource Name) of specific tables.
-
Review Policy
- Click on
Review policy.
- Give your policy a name and description.
- Then click
Create policy.
- Now, you have an IAM policy.
-
Attach Policy
- Navigate to the
Users, Groups, or Roles section in the IAM console.
- Choose an existing user, group, or role, or create a new one.
- Once you've selected a user, group, or role, click
Add permissions.
- Choose
Attach existing policies directly.