| name | cis-aws-database-5.8 |
| description | Ensure Authentication and Access Control is Enabled |
| category | cis-database |
| version | 2.0.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","database","elasticache","redis","authentication","access-control","iam","acl"] |
| cis_id | 5.8 |
| cis_benchmark | CIS AWS Database Services Benchmark v2.0.0 |
| tech_stack | ["aws"] |
| cwe_ids | [] |
| chains_with | ["cis-aws-database-5.1","cis-aws-database-5.7"] |
| prerequisites | [] |
| severity_boost | {} |
5.8 Ensure Authentication and Access Control is Enabled
Description
Individual creates IAM roles that would give specific permission to what the user can and cannot do within that database. The Access Control List (ACLs) allows only specific individuals to access the resources.
Rationale
N/A
Impact
Use specific client's applications or tools that allow the authorized personnel to connect to the database.
Audit Procedure
Using AWS Console
-
Sign in to the AWS Management Console
-
Open the Amazon Keyspaces Console
-
Select the Keyspace
- Choose the Keyspace (database) for which you want to implement authentication and access control.
- Click on the Keyspace name to access its details page.
-
Enable IAM for Cassandra
- In the Keyspace details page, click on the
Configuration tab.
- Under the
Authentication and access control section, locate the "IAM for Cassandra" option.
- Click on
Edit.
- Select the
Enable option to enable IAM for Cassandra authentication and authorization.
- Choose the IAM role(s) that can access the Keyspace.
- Click
Save to enable IAM for Cassandra.
-
Define IAM Roles and Permissions
- Open the IAM console by navigating to
Identity and Access Management (IAM) in the AWS Management Console.
- Create IAM roles with appropriate policies defining the desired access level to your Amazon Keyspaces resources.
- You may create different roles for different user groups or applications.
- Ensure that the IAM policies associated with these roles allow the necessary permissions for interacting with Keyspaces.
- Attach the IAM roles to the appropriate AWS identities, such as IAM users or AWS Identity and Access Management roles.
-
Review and Update Access Control
- In the Keyspace details page, click on the tab.