| name | cis-aws-database-5.9 |
| description | Ensure Audit Logging is Enabled |
| category | cis-database |
| version | 2.0.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","database","elasticache","redis","audit","logging","cloudwatch"] |
| cis_id | 5.9 |
| cis_benchmark | CIS AWS Database Services Benchmark v2.0.0 |
| tech_stack | ["aws"] |
| cwe_ids | [] |
| chains_with | ["cis-aws-database-5.6"] |
| prerequisites | [] |
| severity_boost | {} |
5.9 Ensure Audit Logging is Enabled
Description
To manage your enterprise caching solution, it is important that you know how your clusters are performing and the resources they are consuming. It's also important that you know the events that are being generated and the costs of your deployment.
Amazon CloudWatch provides metrics for monitoring your cache performance. In addition, cost allocation tags help you monitor and manage costs.
Rationale
N/A
Impact
Reduce the risk of any fraud or inconsistency within the database because only authorized user has access to it.
Audit Procedure
Using AWS Console
-
Sign in to the AWS Management Console
-
Open the Amazon Keyspaces Console
-
Select Keyspace
- Choose the Keyspace (database) for which you want to enable audit logging.
- Click on the Keyspace name to access its details page.
-
Enable Amazon CloudWatch Logs
- In the Keyspace details page, click on the
Configuration tab.
- Under the
Logging section, locate the CloudWatch Logs option.
- Click on
Edit.
- Select the
Enable option to enable logging for the Keyspace.
- Choose an existing CloudWatch Logs log group or create a new one to store the logs generated by the Keyspace activities.
- Click
Save to enable CloudWatch Logs for the Keyspace.
-
Configure CloudWatch Logs
- Open the CloudWatch console by navigating to
CloudWatch in the AWS Management Console.
- In the left-side menu, click on
Logs.
- Create a new log group or select an existing log group that will store the Keyspaces logs.
- Configure log retention settings based on your retention requirements. Logs can be stored for a specific number of days or indefinitely.
- Define any necessary log group permissions to control access to the logs.