CIS 6.12: Ensure CloudWatch Metrics for AWS EDR (Manual)
Profile Applicability
Description
Set up and monitor AWS CloudWatch metrics for Endpoint Detection and Response (EDR) to track and analyze the performance and security of your AWS environment. This involves configuring CloudWatch to collect detailed logs and metrics on EDR activities, such as threat detections, response actions, and system health. Regularly review these metrics to identify trends, anomalies, and potential security issues, enabling proactive management and timely responses to ensure the effectiveness of your EDR solution.
Rationale
Implementing AWS CloudWatch metrics for Endpoint Detection and Response (EDR) is essential for maintaining a secure and efficient AWS environment. By collecting detailed logs and metrics on EDR activities, you gain valuable insights into the performance and health of your security measures. Regular review of these metrics allows for the early detection of trends, anomalies, and potential security threats, enabling proactive management and swift responses to maintain the integrity and effectiveness of your EDR solution. This continuous monitoring ensures that your security posture remains robust and adaptive to evolving threats.
Impact
CloudWatch monitoring provides:
- Visibility into EDR performance
- Early detection of issues
- Trend analysis capabilities
- Anomaly detection
- Proactive management capabilities
- Audit trail for compliance
Requirements:
- CloudWatch log group configuration
- Metric collection setup
- Alarm configuration
- Dashboard creation
- Log insights queries
- Event rule configuration
Audit Procedure
Via AWS Console
Sign in to the AWS Management Console:
Navigate to CloudWatch:
- In the AWS Management Console, navigate to the CloudWatch service.
Create a CloudWatch Log Group:
- Select Logs from the navigation pane.
- Click on Create log group.
- Enter a name for the log group and click Create.
Configure AWS EDR to Send Logs to CloudWatch:
- Go to the AWS EDR (Elastic Disaster Recovery) console.
- In the AWS EDR console, configure your settings to send logs and metrics to the CloudWatch log group you created.
Set Up CloudWatch Alarms:
- In the CloudWatch console, select Alarms from the navigation pane.
- Click on Create Alarm.
- Select the metric you want to monitor from the list of AWS EDR metrics.
- Configure the conditions for the alarm (e.g., threshold, period, etc.).
- Set the actions to take when the alarm state is triggered (e.g., send a notification).
- Review and create the alarm.
Create CloudWatch Dashboards:
- In the CloudWatch console, select Dashboards from the navigation pane.
- Click on Create dashboard.
- Enter a name for your dashboard and click Create.
- Add widgets to the dashboard by selecting the relevant AWS EDR metrics.
- Customize the widgets to display the data in a meaningful way (e.g., graphs, numbers).
Enable CloudWatch Logs Insights:
- In the CloudWatch console, select Logs Insights from the navigation pane.
- Choose the log group you created for AWS EDR.
- Use CloudWatch Logs Insights queries to analyze the log data and extract meaningful insights.
Set Up CloudWatch Events:
- In the CloudWatch console, select Events from the navigation pane.
- Click on Create rule.
- Define the event source and the specific events you want to capture (e.g., changes in EDR status).
- Set the target for the event (e.g., send a notification, invoke a Lambda function).
- Configure the rule and click Create rule.
Expected Result
- CloudWatch log group created with appropriate name
- AWS EDR configured to send logs to CloudWatch
- CloudWatch alarms configured for key EDR metrics:
- Threat detection alerts
- Response action monitoring
- System health metrics
- Replication status
- Backup completion status
- Alarm thresholds configured appropriately
- Alarm actions configured (notifications, Lambda, etc.)
- CloudWatch dashboards created showing:
- EDR activity metrics
- Threat detection trends
- System health status
- Performance metrics
- Dashboard widgets customized for clarity
- CloudWatch Logs Insights configured
- Log queries available for analysis
- CloudWatch Events rules created for:
- EDR status changes
- Critical alerts
- Configuration changes
- Event targets configured (SNS, Lambda, etc.)
Remediation
Via AWS Console
Create Log Group:
- Sign in to AWS Management Console
- Navigate to CloudWatch service
- Select Logs > Create log group
- Enter meaningful name (e.g., "aws-edr-logs")
- Create log group
Configure EDR Logging:
- Access AWS EDR console
- Configure settings to send logs to CloudWatch
- Verify log delivery
Set Up Alarms:
- In CloudWatch, select Alarms > Create Alarm
- Select EDR metrics to monitor:
- Replication lag
- Backup failures
- Recovery job status
- Threat detections
- Configure thresholds and periods
- Set actions (SNS notifications, Lambda, etc.)
- Create alarms
Create Dashboards:
- Select Dashboards > Create dashboard
- Name dashboard (e.g., "EDR-Monitoring")
- Add widgets for key metrics:
- Replication status
- Backup completion rates
- Recovery instance health
- Alert trends
- Customize visualization
- Save dashboard
Enable Logs Insights:
- Select Logs Insights
- Choose EDR log group
- Create useful queries for common analysis
- Save queries for future use
Configure Events:
- Select Events > Create rule
- Define event patterns for:
- EDR status changes
- Failed backups
- Failed replication
- Security alerts
- Configure targets (SNS, Lambda, etc.)
- Create and enable rules
Test and Verify:
- Generate test events
- Verify alarms trigger correctly
- Check dashboard displays data
- Validate log ingestion
- Test event rules
Default Value
By default, CloudWatch metrics for AWS EDR are not configured. Organizations must manually set up log groups, metrics, alarms, dashboards, and event rules.
References
CIS Controls
This control supports monitoring and logging best practices but does not directly map to specific CIS Controls v7/v8 items. It enables compliance with multiple controls related to logging, monitoring, and incident response.
Profile
1---2name: cis-aws-storage-6-123description: Ensure CloudWatch Metrics for AWS EDR4---56# CIS 6.12: Ensure CloudWatch Metrics for AWS EDR (Manual)78## Profile Applicability910- **Level:** 21112## Description1314Set up and monitor AWS CloudWatch metrics for Endpoint Detection and Response (EDR) to track and analyze the performance and security of your AWS environment. This involves configuring CloudWatch to collect detailed logs and metrics on EDR activities, such as threat detections, response actions, and system health. Regularly review these metrics to identify trends, anomalies, and potential security issues, enabling proactive management and timely responses to ensure the effectiveness of your EDR solution.1516## Rationale1718Implementing AWS CloudWatch metrics for Endpoint Detection and Response (EDR) is essential for maintaining a secure and efficient AWS environment. By collecting detailed logs and metrics on EDR activities, you gain valuable insights into the performance and health of your security measures. Regular review of these metrics allows for the early detection of trends, anomalies, and potential security threats, enabling proactive management and swift responses to maintain the integrity and effectiveness of your EDR solution. This continuous monitoring ensures that your security posture remains robust and adaptive to evolving threats.1920## Impact2122CloudWatch monitoring provides:2324- Visibility into EDR performance25- Early detection of issues26- Trend analysis capabilities27- Anomaly detection28- Proactive management capabilities29- Audit trail for compliance3031Requirements:3233- CloudWatch log group configuration34- Metric collection setup35- Alarm configuration36- Dashboard creation37- Log insights queries38- Event rule configuration3940## Audit Procedure4142### Via AWS Console43441. **Sign in to the AWS Management Console:**45 - Open the [AWS Management Console](https://console.aws.amazon.com) and sign in with your credentials.46472. **Navigate to CloudWatch:**48 - In the AWS Management Console, navigate to the CloudWatch service.49503. **Create a CloudWatch Log Group:**51 - Select Logs from the navigation pane.52 - Click on Create log group.53 - Enter a name for the log group and click Create.54554. **Configure AWS EDR to Send Logs to CloudWatch:**56 - Go to the AWS EDR (Elastic Disaster Recovery) console.57 - In the AWS EDR console, configure your settings to send logs and metrics to the CloudWatch log group you created.58595. **Set Up CloudWatch Alarms:**60 - In the CloudWatch console, select Alarms from the navigation pane.61 - Click on Create Alarm.62 - Select the metric you want to monitor from the list of AWS EDR metrics.63 - Configure the conditions for the alarm (e.g., threshold, period, etc.).64 - Set the actions to take when the alarm state is triggered (e.g., send a notification).65 - Review and create the alarm.66676. **Create CloudWatch Dashboards:**68 - In the CloudWatch console, select Dashboards from the navigation pane.69 - Click on Create dashboard.70 - Enter a name for your dashboard and click Create.71 - Add widgets to the dashboard by selecting the relevant AWS EDR metrics.72 - Customize the widgets to display the data in a meaningful way (e.g., graphs, numbers).73747. **Enable CloudWatch Logs Insights:**75 - In the CloudWatch console, select Logs Insights from the navigation pane.76 - Choose the log group you created for AWS EDR.77 - Use CloudWatch Logs Insights queries to analyze the log data and extract meaningful insights.78798. **Set Up CloudWatch Events:**80 - In the CloudWatch console, select Events from the navigation pane.81 - Click on Create rule.82 - Define the event source and the specific events you want to capture (e.g., changes in EDR status).83 - Set the target for the event (e.g., send a notification, invoke a Lambda function).84 - Configure the rule and click Create rule.8586## Expected Result8788- CloudWatch log group created with appropriate name89- AWS EDR configured to send logs to CloudWatch90- CloudWatch alarms configured for key EDR metrics:91 - Threat detection alerts92 - Response action monitoring93 - System health metrics94 - Replication status95 - Backup completion status96- Alarm thresholds configured appropriately97- Alarm actions configured (notifications, Lambda, etc.)98- CloudWatch dashboards created showing:99 - EDR activity metrics100 - Threat detection trends101 - System health status102 - Performance metrics103- Dashboard widgets customized for clarity104- CloudWatch Logs Insights configured105- Log queries available for analysis106- CloudWatch Events rules created for:107 - EDR status changes108 - Critical alerts109 - Configuration changes110- Event targets configured (SNS, Lambda, etc.)111112## Remediation113114### Via AWS Console1151161. **Create Log Group:**117 - Sign in to AWS Management Console118 - Navigate to CloudWatch service119 - Select Logs > Create log group120 - Enter meaningful name (e.g., "aws-edr-logs")121 - Create log group1221232. **Configure EDR Logging:**124 - Access AWS EDR console125 - Configure settings to send logs to CloudWatch126 - Verify log delivery1271283. **Set Up Alarms:**129 - In CloudWatch, select Alarms > Create Alarm130 - Select EDR metrics to monitor:131 - Replication lag132 - Backup failures133 - Recovery job status134 - Threat detections135 - Configure thresholds and periods136 - Set actions (SNS notifications, Lambda, etc.)137 - Create alarms1381394. **Create Dashboards:**140 - Select Dashboards > Create dashboard141 - Name dashboard (e.g., "EDR-Monitoring")142 - Add widgets for key metrics:143 - Replication status144 - Backup completion rates145 - Recovery instance health146 - Alert trends147 - Customize visualization148 - Save dashboard1491505. **Enable Logs Insights:**151 - Select Logs Insights152 - Choose EDR log group153 - Create useful queries for common analysis154 - Save queries for future use1551566. **Configure Events:**157 - Select Events > Create rule158 - Define event patterns for:159 - EDR status changes160 - Failed backups161 - Failed replication162 - Security alerts163 - Configure targets (SNS, Lambda, etc.)164 - Create and enable rules1651667. **Test and Verify:**167 - Generate test events168 - Verify alarms trigger correctly169 - Check dashboard displays data170 - Validate log ingestion171 - Test event rules172173## Default Value174175By default, CloudWatch metrics for AWS EDR are not configured. Organizations must manually set up log groups, metrics, alarms, dashboards, and event rules.176177## References178179- [AWS CloudWatch Monitoring](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html)180- [AWS Elastic Disaster Recovery Monitoring](https://docs.aws.amazon.com/drs/latest/userguide/monitoring.html)181182## CIS Controls183184This control supports monitoring and logging best practices but does not directly map to specific CIS Controls v7/v8 items. It enables compliance with multiple controls related to logging, monitoring, and incident response.185186## Profile187188- Level 2