CloudTrail logs are not integrated with CloudWatch Logs

Severity
Medium
Service
CloudTrail
Check ID
CLOUDTRAIL_NOT_INTEGRATED_WITH_CWL

What this check finds

No CloudTrail trail is configured to deliver events to a CloudWatch Logs log group. Without this integration you cannot create metric filters or alarms on API activity, making real-time detection of suspicious behaviour impossible. CIS v1.4 §3.7.

Passing looks like: CloudTrail integrated with CloudWatch Logs.

How to fix it

Configure a CloudTrail trail to send logs to CloudWatch Logs.

AWS CLI

  1. aws cloudtrail update-trail --name TRAIL_NAME --cloud-watch-logs-log-group-arn LOG_GROUP_ARN --cloud-watch-logs-role-arn ROLE_ARN

Names in capitals are placeholders for your own resource. Review a command before you run it.

AWS console

CloudTrail → select the trail → CloudWatch Logs → Configure → select or create a log group.

Compliance controls it is evidence for

A failing result counts against these controls in KloudLytics; a passing one is evidence towards them. How compliance mapping works

Compliance controls mapped to CloudTrail logs are not integrated with CloudWatch Logs
FrameworkControls
NIST SP 800-53 Rev5 (Moderate)
  • AU-5 Response to Audit Logging Process Failures
  • AU-6 Audit Record Review, Analysis, and Reporting
NIST Cybersecurity Framework 2.0
  • PR.PS-04 Log records are generated for monitoring
  • DE.AE-02 Adverse events are analyzed
ISO/IEC 27001:2022 Annex A
  • A.8.16 Monitoring activities

Checked on every scan

KloudLytics runs this check each time it scans a connected AWS account, through a read-only role, and lists every affected resource with its region. On Pro and Business a fix is written for the specific resource rather than the general case above. The exact access it needs

More CloudTrail checks

All CloudTrail checks

Find out what is actually exposed in your AWS environment.

Connect one AWS account and run your first security assessment.

No credit card · Agentless · Read-only