Check ID:
Provider: AWS
Service:
Severity: LOW
Categories:
Resource type:
cloudtrail_insights_existProvider: AWS
Service:
cloudtrailSeverity: LOW
Categories:
forensics-readyResource type:
AwsCloudTrailTrailWhat this check verifies
CloudTrail trails that are logging are evaluated for Insights viainsight selectors, which enable anomaly detection on management-event patterns (API call and error rates). The finding pinpoints logging trails where these selectors are missing.
Risk
Without Insights, abnormal API call or error rates can go unnoticed, delaying detection of credential abuse, privilege escalation, or runaway automation. Attackers may rapidly alter policies, delete resources, or exfiltrate data before response, impacting confidentiality and availability.Recommendation
Enable CloudTrail Insights on all logging trails (ideally all-Region or organization trails). Activate bothApiCallRateInsight and ApiErrorRateInsight. Integrate alerts with monitoring and review anomalies regularly. Apply defense in depth and least privilege to reduce potential blast radius.
Remediation
- CLI
- Terraform
- Native IaC
- Dashboard steps
References
- https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-insights-events-with-cloudtrail.html
- https://awscli.amazonaws.com/v2/documentation/api/2.18.18/reference/cloudtrail/put-insight-selectors.html
- https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudtrail
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = cloudtrail_insights_exist. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks