| name | cis-aws-database-5.6 |
| description | Ensure Monitoring and Logging is Enabled |
| category | cis-database |
| version | 2.0.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","database","elasticache","redis","monitoring","logging","cloudwatch"] |
| cis_id | 5.6 |
| cis_benchmark | CIS AWS Database Services Benchmark v2.0.0 |
| tech_stack | ["aws"] |
| cwe_ids | [] |
| chains_with | ["cis-aws-database-5.9"] |
| prerequisites | [] |
| severity_boost | {} |
5.6 Ensure Monitoring and Logging is Enabled
Description
Implementing monitoring and logging for Amazon ElastiCache allows you to gain visibility into the performance, health, and behavior of your ElastiCache clusters.
Rationale
This helps the individual know what is being logged within the activity and determine what next step they should take to address any suspicious activity.
Impact
If the individual is not monitoring and logging their activity it allows the attacker to attack the system and extract or destroy data.
Audit Procedure
Using AWS Console
-
Sign in to the AWS Management Console
-
Open the ElastiCache Console
-
Select the ElastiCache Cluster
- Choose the ElastiCache cluster for which you want to implement monitoring and logging.
- Click on the cluster name to access its details page.
-
Enable Enhanced Monitoring
- Click on the
Monitoring tab on the cluster details page.
- Under the
Monitoring section, click on the Enable Enhanced Monitoring button.
- Select the desired monitoring granularity (1 minute, 5 minutes, or 60 minutes) to capture detailed metrics.
- Choose the desired CloudWatch namespace to store the metrics.
- Click
Save changes to enable enhanced monitoring for the ElastiCache cluster.
-
Set Up CloudWatch Alarms
- In the CloudWatch console, navigate to
Alarms in the left-side menu.
- Click
Create alarm to create a new alarm.
- Select the appropriate ElastiCache metrics from the available options.
- Configure the threshold, conditions, and actions for the alarm.
- Choose the actions to take when the alarm state is triggered (e.g., send notifications, auto-scaling actions, etc.).
- Click
Create alarm to save the alarm configuration.
-
Configure CloudWatch Logs