Disabling or deletion of Customer-Managed Keys should be monitored

이 페이지는 아직 한국어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우 언제든지 연락주시기 바랍니다.

Description

AWS IAM accounts should have at least one active multi-region CloudTrail trail that captures all management events (an event selector with IncludeManagementEvents set to true and ReadWriteType set to All), sends logs to CloudWatch Logs, and has a metric filter matching customer-managed keys (CMKs) that are disabled or scheduled for deletion. The metric filter must be linked to a CloudWatch alarm that notifies an SNS topic with at least one confirmed subscriber, so that loss of access to encrypted data is detected quickly.

Remediation

  1. Create a metric filter on the multi-region trail’s log group using the pattern {($.eventSource = kms.amazonaws.com) && (($.eventName=DisableKey)||($.eventName=ScheduleKeyDeletion)) } as described in the AWS CloudWatch Alarms for CloudTrail User Guide and the put-metric-filter CLI reference.
  2. Create an SNS topic with at least one subscription following Subscribing to an Amazon SNS topic, then create a CloudWatch alarm on the metric (Sum, period 300, threshold 1, GreaterThanOrEqualToThreshold) whose alarm action targets the SNS topic ARN.

References