Check ID:
Provider: AWS
Service:
Severity: MEDIUM
Categories:
Resource type:
cloudwatch_log_metric_filter_policy_changesProvider: AWS
Service:
cloudwatchSeverity: MEDIUM
Categories:
loggingResource type:
AwsCloudWatchAlarmWhat this check verifies
CloudWatch uses a metric filter and alarm to track IAM policy changes recorded by CloudTrail (e.g.,CreatePolicy, DeletePolicy, version changes, inline policy edits, policy attach/detach). This finding reflects whether that filter and an associated alarm are present on the trail’s log group.
Risk
Absent alerting on IAM policy changes, privilege modifications can go unnoticed, enabling privilege escalation, hidden backdoors, or permission revocations. This threatens confidentiality and integrity, and may impact availability if critical access is removed or misconfigured.Recommendation
Create a metric filter for IAM policy create/update/delete and attach/detach events with an alarm to notify responders.- Enforce least privilege and separation of duties for policy changes
- Require approvals and central logging across Regions/accounts
- Integrate alerts with incident response
Remediation
- Terraform
- Native IaC
- Dashboard steps
References
- https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudwatch-alarms-for-cloudtrail.html
- https://www.clouddefense.ai/compliance-rules/cis-v140/monitoring/cis-v140-4-4
- https://www.intelligentdiscovery.io/controls/cloudwatch/cloudwatch-alarm-iam-policy-change
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = cloudwatch_log_metric_filter_policy_changes. 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