| name | cis-aws-database-7.5 |
| description | Ensure to Implement Access Control and Authentication |
| category | cis-database |
| version | 2.0.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","database","documentdb","authentication","iam","access-control","users"] |
| cis_id | 7.5 |
| cis_benchmark | CIS AWS Database Services Benchmark v2.0.0 |
| tech_stack | ["aws"] |
| cwe_ids | [] |
| chains_with | ["cis-aws-database-7.1","cis-aws-database-7.2","cis-aws-database-7.11"] |
| prerequisites | [] |
| severity_boost | {} |
7.5 Ensure to Implement Access Control and Authentication (Manual)
Description
Configure authentication mechanisms for your DocumentDB instances, such as using AWS Identity and Access Management (IAM) users or database users. Define appropriate user roles and permissions to control access to the DocumentDB instances and databases.
Rationale
Proper authentication and access control mechanisms are essential to ensure that only authorized users and applications can access the DocumentDB cluster and its data.
Impact
Implementing access control ensures that the principle of least privilege is followed, reducing the risk of unauthorized data access or modifications.
Audit Procedure
Using AWS Console
-
Sign into the AWS Management Console
-
Open the Amazon DocumentDB Console
-
Select the DocumentDB Cluster
- Choose the Amazon DocumentDB cluster for which you want to implement access control and authentication.
- Click on the cluster name to access its details page.
- In the cluster details page, navigate to the "Configuration" section.
-
Enable Authentication
- Under the
Network & Security section.
- Click on the
Edit button or Modify option to configure the authentication settings.
- Enable the option for authentication by choosing the appropriate setting.
- DocumentDB supports authentication through username and password or through AWS Identity and Access Management (IAM) roles.
-
Configure Database Users
- In the cluster details page, navigate to the
Users or Database users section.
- Click the
Add user button to create a new database user.
- Enter the username and password for the database user.
- Assign appropriate permissions to the user, such as read-only or read-write access to specific databases or collections.
-
Save the Configuration
- Click on button to apply the authentication and access control configuration.